can we use 77 level no for Redefines?if we use give an
example?
Answer Posted / mrudula
No, level number 66 is used only for RENAMES the elementary data items
| Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
Differentiate between structured cobol programming and object-oriented cobol programming.
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 ......
HOw can I get the negative sign while deduct high value from low value
How arrays can be defined in COBOL?
How do you get the data to code the BMS macro?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are all the divisions of a COBOL program?
How to print 10 to 1 if the input have only 10 digit number?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
) How do u handle errors in BMS macro?
How to remove 2 duplicate records and copy only one using job control language?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?