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

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

621


What is maximum displacement?

622


What will happen if we drop the base register in the program which contains only one basereg?

579


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

606


Ap wkur,=p5 where wkur is a label?

672






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?

688


What is icm instruction?

642


what is need of start 0? In steed of

679


What does "using" do?

594


What does the following code do? Ap wkur,=p5 where wkur is a label?

618


Explain the difference between various read and find statement and which one should be used when for better adabas performance?

583


how to pass the parameters from jcl to assembler pgm?

662


how to initialize a register to 0000?

671


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

641


What is the use of trt instruction?

584