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 many maximum base registers we can have in a program?
What is maximum displacement?
What will happen if we drop the base register in the program which contains only one basereg?
How do you round the addition or subtraction of two numbers in assembler?
Ap wkur,=p5 where wkur is a label?
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?
What is icm instruction?
what is need of start 0? In steed of
What does "using" do?
What does the following code do? Ap wkur,=p5 where wkur is a label?
Explain the difference between various read and find statement and which one should be used when for better adabas performance?
how to pass the parameters from jcl to assembler pgm?
how to initialize a register to 0000?
How many maximum base registers we can have in a single program?
What is the use of trt instruction?