Answer Posted / veena (ibm)
Redefines can be used for 01 level in working storage
section but not for 01 level in file section.
Other rules for redefines:
redefines cannot be used for 66 and 88 levels.
redefined vars level number must be same as the original
var.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is a SSRANGE and NOSSRANGE?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
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 you define a variable of comp-1 and comp-2?
How to know whether the module is dynamical or statistical?
What is redefines clause in COBOL?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
How to remove 2 duplicate records and copy only one using job control language?
Are you comfortable in cobol or jcl?
What is rmode(any) ?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the difference between structured cobol programming and object alternativelyiented cobol?
) How do u handle errors in BMS macro
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 ......
What are the cobol coding sheets?