Answer Posted / shwetha
Consider the Controll Card(Sysin) as an infile to the
program.
JS010 EXEC PGM=pgm,
REGION=0M
STEPLIB DD DSN=Loadlib,
DISP=(SHR,KEEP,KEEP)
INFILE DD DSN=xxxx.xxxx.SYSIN(control card),
DISP=(SHR,KEEP,KEEP)
(Where xxxx.xxxx.SYSIN -Sysin PDS)
Read it as an infile and download it to the Table defined
in your Program.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a scope terminator give example?
How do you reference the fixed block file formats from cobol programs
Name the divisions, which are available in a cobol program?
What is the compute verb? How is it used?
How are the next sentence and continue different from each other?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How do you reference the following file formats from cobol programs?
What is the use of intialize verb?
How to print 10 to 1 if the input have only 10 digit number?
Differentiate between structured cobol programming and object-oriented cobol programming.
What do you understand by psb and acb?
how to convert the recors form vsam file to db2 table tru file aid
How many bytes S(8) comp field occupy and its maximum value?
What is report-item in COBOL?