how to invoke subprogram in jcl?

Answers were Sorted based on User's Feedback



how to invoke subprogram in jcl?..

Answer / 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

how to invoke subprogram in jcl?..

Answer / saravanan

by using steps

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More IBM MainFrame AllOther Interview Questions

.what is required for establishing connectivity between MQ and cics on z/OS? a. MQ-cics gateway b.INITQ as QLocal c. CICS-MQAdapter d.INITPARAM of SIT e. INITQ as QRemote

1 Answers   Wipro,


How do you pass pointer PL/1 main procedure to sub procedure?

1 Answers   IBM,


How can we extract data from IMS DB and load it onto oracle database by converting it.Pls someone help me

2 Answers   TCS,


What is mainframe computer /system?

0 Answers  


How is manual testing done in MF environment? what all are the steps to follow?

3 Answers  


Define where and its usage?

0 Answers  


What is the need to code commits in batch programs?

0 Answers  


How to define a directory?

0 Answers  


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

0 Answers  


have you ever know what is the meaning of Packed Decimal  

0 Answers  


in options (main) , what is meaning of main . if u not used main what will happen? After compiling, os will not understand where to load and execute from

0 Answers   AppLabs,


how to handle duplicate records in rpg program?

0 Answers  


Categories