how to invoke subprogram in jcl?

Answer Posted / magician

just replace "subprogram" with "proc" - and it will be O'k.
e.g.
//MYJOB JOB
//*
//MYSAMPLE PROC MYPARAM=DEFAULTVALUE
//MYSUBPRO EXEC PGM=MYSUB
//... DD-cards
//MYSAMPLE PEND
//*
//MYSTEP EXEC MYSAMPLE,MYPARAM=FOREXAMPLE

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is difference between file-aid tool and file-aid utility?

875


When do you get -811 sqlcode and how to resolve it?

521


hi.... anybody send real time project related questions & answers whatever will ask in interview plz.....help me? advanced thanks....

2029


What is the need to code commits in batch programs?

610


Have you caused any huge mistakes for the bank?

515






how do u start your process after conducting impact analysis ?

1665


Can you explain referential integrity?

568


What is mainframe testing?

573


How do you write from PL/1 code to JCL?

1826


What are the different types of PL/1 files?

1730


What is meant by drda?

529


What is the use of base and index registers in the IBM 360/370 processor?

3337


How many module come in Ibm framework?

1547


Can you define a gdg?

549


Explain lock contention?

580