How to pass the parameters from jcl to assembler program?
Answer / Neeraj Kumar Diwakar
In a JCL (Job Control Language) script, parameters can be passed to an Assembler program using DD statements or macro definitions. Here's how:n
1. Using DD Statements:n - Define the parameters using DD statements in the JCL and pass them as external files to the Assembler program.nn Example:n // In JCL scriptn DD *,n MYFILE1,DISP=SHR,DSN=/path/to/myfile1.txt,n MYFILE2,DISP=SHR,DSN=/path/to/myfile2.txtnn - Access the parameters in the Assembler program using READ statements or other input/output instructions.n
2. Using Macro Definitions:n - Define macros in the JCL that contain parameter values, and use these macros in the Assembler program as if they were constants.
| Is This Answer Correct ? | 0 Yes | 0 No |
WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?
Is it possible to access some memory location (Ex: VAR1 DS P) without using Base Displacement?
How do you round the addition or subtraction of two numbers in assembler?
What will happen if we drop the base register in the program which contains only one basereg?
What is base register?
how to find the dump
Explain how to produce soc7 abend?
what is need of START 0?. In steed of '0' can we use any other numerics?. if we use what will happen?.
Explain about base register?
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 does "using" do?
How we can retrieve the instream data in SYSIN ?