How we can Pass the parameters from JCL to assembler Pgm?

Answer Posted / phils

If you include a parameter string/Dataset in the JCL SYSIN
DD statement then this can be retrieved by an assembler
program via code such as...

OPEN SYSIN

GET SYSIN,WS_PARAM

CLOSE SYSIN

Obviously if there are multiple parameters defined then the
get statement would be in a loop and the contents would have
to be stored in separate working storage fields

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about base register?

792


Explain how to access vsam file?

843


How many maximum base registers we can have in a single program?

795


How many maximum base registers we can have in a program?

791


How are data passed from jcl parm to assembler program?

753


Explain about maximum displacement?

788


What is house keeping in assembler?

758


Explain about house keeping in assembler?

802


How do you round the addition or subtraction of two numbers in assembler?

781


what is need of start 0? In steed of

821


What is icm instruction?

813


What is maximum displacement?

838


How to pass the parameters from jcl to assembler program?

725


explain about maximum displacement and how to cross this limit?

871


how to retrieve the instream data in sysin?

867