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 the difference in data type "x" and "p"?
explain about maximum displacement and how to cross this limit?
How many maximum base registers we can have in a program?
What is maximum displacement?
how to pass the parameters from jcl to assembler pgm?
Explain the difference between various read and find statement?
What is house keeping in assembler?
what is need of start 0? In steed of
Explain how to pass instream data in sysin with assembler?
What does "using" do?
how do you round the addition or subtraction of two numbers in assembler? what does the following code do? change process tool(code changes from dev to prd) the changes made to your code should be effected in live. How the process takes place. That is how can you move the code changes from development to production?
How many maximum base registers we can have in a single program?
Explain about house keeping in assembler?
Why do we use "drop"?
What is need of start 0?