wirte a pgm in using files in which we hav 10 ,20,30 40...100
records in inputfile and i want them to be send to outputfile
in reverse order.
PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..
Answer Posted / siris
//SYSIN DD *
SORT FIELDS = COPY
OUTREC=(10,100,SEQNUM,4,ZD)
/*
0R
//SYSIN DD *
SORT FIELDS=(100,4,ZD,DESC)
OUT REC=(10,100)
/*
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between Call and a Link?
What is the use of intialize verb?
) how do u code after getting data?
What is a SSRANGE and NOSSRANGE?
How you can read the file from bottom?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
i need a small 3d program using inline and outline.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What rules are to be followed while using the corresponding options?
) How do u handle errors in BMS macro
Write a program to explain size error.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to print 10 to 1 if the input have only 10 digit number?