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
How do you round the addition or subtraction of two numbers in assembler?
Explain the difference between various read and find statement and which one should be used when for better adabas performance?
How many maximum base registers we can have in a single program?
What is maximum displacement?
What does the following code do? Ap wkur,=p5 where wkur is a label?
What will happen if we drop the base register in the program which contains only one basereg?
How many maximum base registers we can have in a program?
Explain about house keeping in assembler?
Explain how to access vsam file?
What is need of start 0?
explain icm instruction?
What is icm instruction?
Explain the difference in data type "x" and "p"?
How are data passed from jcl parm to assembler program?
Explain how to produce soc7 abend?