INREC AND OUTREC?
HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL?
RESTART IN COBOL-DB2?
No Answer is Posted For this Question
Be the First to Post Answer
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.
how do u indetify files succesfully executed or not ?
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
what is the advantage of sync class
how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?
When can the USING phrase be included in the call statement ?
What is an in line PERFORM? When would you use it? Anything else to say about it?
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error
how to pass 100 to s9(4) how r they inserted ?
Explain fixed length record in cobol? with suitable example