I have an senario in which i generate a JCL statment from my cobol program,This JCL statment will have starting from STEP and DD's and SYSIN DD * startements,
I will then convert this sequential to a PDS member using rexx.
Now my problem is i need to include this member to JCL having JOBCARD.Since my member is having instream data i am not able to use it.
Is there any way i can do it.
My member looks like this.I need to paste it in a Job having JOB card,How to do this So i can run this job having my statments
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
Baskaran,
Quote:
I have an senario in which i generate a JCL statment from my cobol program,This JCL statment will have starting from STEP and DD's and SYSIN DD * startements,
Quote:
Since my member is having instream data i am not able to use it.
Why dont you put instream data (sysin data) into another member and use it as sysin card. Like -
Hey Baskaran,
While coping the PS to a member of a PDS thru REXX, u can add the logic to include the jobcard in the JCL member man! It will be very simple to do that!