If there are two copybooks which have same variables and we
are using both the copybooks in our program. will there be
an error and if i move values to the variable which copybook
varibales gets the values i move in.
Answer Posted / arpan
Or we can use replace option with the copybook in the COBOl
PGM.
For e.g..
Copy Copybook1.
Copy Copybook2 replacing ADDRESS with ADDRESS1.
Correct me if I am wrong.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
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 need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How do you reference the fixed block file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is amode(31)
How are the next sentence and continue different from each other?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Difference between array and sub-script ?
how to convert the recors form vsam file to db2 table tru file aid
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How do you get the data to code the BMS macro?
What is the utilization of copybook in cobol?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?