Answer Posted / swapnil
USING AN OCCURS CLAUSE WE MOVE RECORD FROM ONE PS FILE TO
ANOTHER PS
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
explain sorting techniques in cobol program?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What are the different rules for performing sort operation?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
When is inspect verb is used in cobol?
Explain about different table spaces.
What do you understand by psb and acb?
What is link edit in cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Whats the difference between search & search ALL?
how do you reference the printer file formats from cobol programs
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.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?