At 14:31 -0600 on 01/11/2011, McKown, John wrote about Re: passing instream sysin to next step:

STEP1 may have other DDs in it which the user is used to overriding with //STEP1.ddname DD and so that would require a JCL change for all users of the PROC. Curiously, as I recall, OS/VS1's JES work-alike allowed the DSN referback to SYSIN and SYSOUT of a previous step. For SYSIN, it reread the input. For SYSOUT, it did the equivalent of a DISP=MOD.

Is this for a single program or for a number of different programs?

If it is for a single program than reassemble it to use SYSIN1 in lieu of SYSIN. Now write a top-hat program that reads from SYSIN (not caring if it is a DSN= or *) and writes it to a DSN=&DSN,DISP=(MOD,PASS) dataset. When done, it XTMLs to the real program (or ATTACHs it). The second step can just DSN=&DSN,DISP=(OLD,PASS).

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to