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
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Which mode is used to operate the sequential file?
what is difference between cobol and cobol/400
What is the difference between structured cobol programming and object alternativelyiented cobol?
what is search and searchall?what is the diffrence between them?give an best example?
Write a program that uses move corresponding.
What are the different types of condition in cobol and write their forms.
Give some examples of command terminators?
Discuss about changing dataset name in proc.
How can you get the ksds file records into your cobol program?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What type of SDLC u followed? Why?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Explain about different table spaces.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)