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 the difference between PIC 9.99 and 9v99 in COBOL?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How do we get current date from system with century in COBOL?
What is comp-1 and comp-2?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is redefines clause in COBOL?
How to print 10 to 1 if the input have only 10 digit number?
In which area will you utilize 88 level items in cobol?
Can we change the password using ALTER? anyone tried and changed?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How to remove 2 duplicate records and copy only one using job control language?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
How you can read the file from bottom?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?