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
Explain about base register?
Explain how to access vsam file?
How many maximum base registers we can have in a single program?
How many maximum base registers we can have in a program?
How are data passed from jcl parm to assembler program?
Explain about maximum displacement?
What is house keeping in assembler?
Explain about house keeping in assembler?
How do you round the addition or subtraction of two numbers in assembler?
what is need of start 0? In steed of
What is icm instruction?
What is maximum displacement?
How to pass the parameters from jcl to assembler program?
explain about maximum displacement and how to cross this limit?
how to retrieve the instream data in sysin?