View previous topic :: View next topic
|
Author |
Message |
Jinsi
New User
Joined: 11 Jul 2007 Posts: 3 Location: USA
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Jinsi
New User
Joined: 11 Jul 2007 Posts: 3 Location: USA
|
|
|
|
Is there a reason why the concatenation of a tape and DASD file would not work in all cases? |
|
Back to top |
|
|
Jinsi
New User
Joined: 11 Jul 2007 Posts: 3 Location: USA
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|