How we can retrieve the instream data in SYSIN ?
Answers were Sorted based on User's Feedback
Answer / amarnadh reddy
Use Accept in procedure division.
Example :
WORKING-STORAGE SECTION.
01 empno. Pic x(05).
01 empname pic x(15).
01 empsal pic 9(10).
PROCEDURE DIVISION.
................
PERFORM ACCEPT-PARA.
..............
ACCEPT-PARA.
ACCEPT EMPNO.
ACCEPT EMPNAME.
ACCEPT EMPSAL.
In JCL :
...........
............
//sysin dd *
001
aaaa
330000
/*
Is This Answer Correct ? | 11 Yes | 1 No |
What will happen if we drop the base register in the program which contains only one basereg?
about ICM instruction.
Explain the difference between various read and find statement?
explain about maximum displacement and how to cross this limit?
How do you initialize a register to 0000?
What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?
How we can Pass the parameters from JCL to assembler Pgm?
Why do we use "drop"? What does "using" do?
How are data passed from jcl parm to assembler program?
How to pass instream data in sysin with Assembler?
How to pass the parameters from jcl to assembler program?
Explain how to initialize a register to 0000?