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 |
Explain the difference between various read and find statement?
How do you initialize a register to 0000?
Explain about maximum displacement?
How to pass the parameters from jcl to assembler program?
How is data passed from a calling program to an assembler called program?
Is it possible to access some memory location (Ex: VAR1 DS P) without using Base Displacement?
how to access VSAm file
What is symbol table in assembler?
How to initialize 20,000 bytes in the Assembler..
what is need of START 0?. In steed of '0' can we use any other numerics?. if we use what will happen?.
Explain how to initialize a register to 0000?
Explain the difference in data type "x" and "p"?