Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

S0C4 while concatenating a DASD and tape File.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Jinsi

New User


Joined: 11 Jul 2007
Posts: 3
Location: USA

PostPosted: Fri Apr 16, 2010 8:25 pm    Post subject: S0C4 while concatenating a DASD and tape File.
Reply with quote

I am trying to execute a program by concatenating a Tape file and a DASD GDGBASE (all versions to be raked) and am receiving a S0C4 Reason Code 4. When I do the same thing with another program, the job executes successfully. Any reasons why two programs would behave differently for the same set of files?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7996
Location: Bellevue, IA

PostPosted: Fri Apr 16, 2010 8:42 pm    Post subject:
Reply with quote

Quote:
Any reasons why two programs would behave differently for the same set of files?
Because they are TWO DIFFERENT PROGRAMS?

Why on earth would you expect two programs -- which presumably were written to do entirely different things -- to behave the same just because the input data is the same? Would you expect Excel and Acrobat to handle the exact same input data the same?
Back to top
View user's profile Send private message
Jinsi

New User


Joined: 11 Jul 2007
Posts: 3
Location: USA

PostPosted: Fri Apr 16, 2010 9:48 pm    Post subject:
Reply with quote

Is there a reason why the concatenation of a tape and DASD file would not work in all cases?
Back to top
View user's profile Send private message
Jinsi

New User


Joined: 11 Jul 2007
Posts: 3
Location: USA

PostPosted: Fri Apr 16, 2010 10:01 pm    Post subject:
Reply with quote

Also the job ran successfully when the DASD file was copied to a tape and the input was provided in the form of cancatenated tape files. Not sure why would the program would not handle a tape and dasd but handle the files both files are on tape.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7996
Location: Bellevue, IA

PostPosted: Fri Apr 16, 2010 10:48 pm    Post subject:
Reply with quote

From the DF/SMS Using Data Sets manual, section 3.6.3.1.1:
Quote:
# For QSAM, if a data set after the first one is on magnetic tape and has a block size larger than all prior specifications, the volume must have IBM or ISO/ANSI standard tape labels or the BLKSIZE must be specified on the DD statement.

# For BSAM, if a data set after the first one is on magnetic tape and has a block size larger than all prior specifications, the BLKSIZE must be specified on the DD statement.

# The device is a DASD, tape, or SYSIN device, as is the device of the preceding data set. For example, you can concatenate a tape data set to a DASD data set, or you can concatenate a DASD data set to a tape data set. However, you cannot concatenate a tape data set to a card reader.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us