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 |
Why can only 256 bytes be moved from one address to another in a MVC?
How to pass instream data in sysin with Assembler?
What will happen if we drop the base register in the program which contains only one basereg?
How is data passed from a calling program to an assembler called program?
Explain how to access vsam file?
how to produce SOC7 abend
cobol and assembler access
how to access VSAm file
What is the use of trt instruction?
How we can Pass the parameters from JCL to assembler Pgm?
How we can retrieve the instream data in SYSIN ?
Can we use MVC instruction to move pack field to pack field....which instruction you will use and why ?