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: 7935
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: 7935
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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