describe the exec statement,its meaning ,syntax and
keywords?

Answer Posted / vish

Just an addition to the Hari's answer, EXEC is used to call
a PROC to, apart from calling a PROGRAM.

//step01 EXEC PGM=XYZ

//step02 EXEC XYZ

in first example (step01) it's calling a program XYZ
In second example (step02) it's calling a PROC XYZ

Do let me know if anyone have some other thoughts, enjoy!

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is JCL?

795


How can unused space allocation be returned to the system when a dataset is closed?

940


State the uses of syspring, sysin, sort fields, sum fields and dummy.

747


How can values be passed from the job stream to an executable program?

961


Is acct parameter mandatory?

843






Explain the jcl exec statement?

745


which parameter is use to declare the name of dataset in dd statement?

849


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2375


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2267


how to do automated restart when a job abends?

958


what is the difference between JES3 and JES2?

783


what are the various stages of job processing?

840


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2009


How is the record format of an output dataset specified?

847


Explain how can a stopped job be started again?

742