In my previous project we use to write a command like jobcard in any jcl then automatically jabcard was created at the first line of the job.
So here I'm looking for the same, like how can I create a similar program which can create a jobcard.
Through google I got the below code , I'm not sure if this is right:
/*REXX*/
ADDRESS ISREDIT
'MACRO'
"LINE_AFTER 0 = '//"USERID()"A JOB (,,,,),'"
"LINE_AFTER 1 = '// xxxxx, '"
"LINE_AFTER 2 = '// CLASS=V, '"
"LINE_AFTER 3 = '// NOTIFY=xxxxxx, '"
"LINE_AFTER 4 = '// MSGCLASS=x'"
"LINE_AFTER 5 = '//* '"
I tried it by putting this in my library and Rexx Library but no luck, Could anyone please advice?
Thanks.