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

If DB2 query returns in null value, how do you work with it in PL/1?

1924


Expalin about Ibm frameworkinh working & is it platform independant & open source?

1636


Where is the vsam ksds placed?

541


what is use of linkage section?

616


What are some uses of the evaluate statement?

502






Can you explain referential integrity?

561


What are the error (ONCODES) codes did you encounter in PL/1 programme?

2466


Categorize the mainframe manual testing?

546


How is data retrieved from multiple tables using a single sql statement?

536


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

1818


When you are working with the project.. once your coding is over what will u do? where u r maintaining your CR(change request) what is the format what are the documents u need to prepare while testing?

1558


What is the importance of common attribute?

578


How many bytes does a s9(7) comp-3 field occupy ?

540


How are composite and multiple indexes different?

543


How do you get parameter from JCL to PL1?

2006