I have gone through the manuals. For my understanding i need some sample code. For ex. how we use pass for subsequent steps? How we refer keep in the next step? Where do we give vol=ser? Why keep is for vsam and only dataset which is catloged?
Joined: 22 Apr 2006 Posts: 6254 Location: Mumbai, India
I have gone through the manuals. For my understanding i need some sample code. For ex. how we use pass for subsequent steps? How we refer keep in the next step? Why keep is for vsam and only dataset which is catloged?
You can leave off the parentheses if you code only the status subparameter (the 1st subparameter, as in DISP=OLD.)
1. PASS: The data set will be passed to a subsequent step in the same job. Its final disposition will be determined by that step.
2. KEEP: The data set will be kept on the volume when the step ends normally. KEEP is the only valid termination disposition for a VSAM data set. VSAM files shouldn't be cataloged, uncataloged, passed, or deleted.
"KEEP" tells the system "to keep" the DSN, unless you already have the DSN (in other words, unless you already have the DSN cataloged) you can't keep it..quite natural, isn' it?
Where do we give vol=ser?
Why this question is merged with DISP question? 'am not sure, are you thinking about MOD parameter? Please clarify.
Joined: 23 Nov 2006 Posts: 19254 Location: Inside the Matrix
I have gone through the manuals. For my understanding i need some sample code.
Using the info you found in the manual, create some sample code to experiment with. Using only IEFBR14 and IEBGENER you can set up multiple situations and see how the different options work.
If you find something that is not clear when your run it or if you get an error that cannot be explained, post your jcl and the question and/or error here and someone will be able to clarify.
Something to consider is that normally, a solution is found for a requirement. You are trying to find requirements so that different solutions can be tried. Given that there is no actual requirement - you have complete flexibility to try many combinations