Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8165
Location: East Dubuque, Illinois, USA

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: 8165
Location: East Dubuque, Illinois, USA

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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us