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 / lu
you write like this :
01 Copybook1.
02 ADDRESS pic x(03).
01 Copybook2.
02 ADDRESS pic x(03).
move 'AAA' to ADDRESS OF copybook1
move 'BBB' to Address OF copybook2
never forget the 'OF'
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
Which is not true about evaluate statement
How do you reference the fixed block file formats from cobol programs
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How do you define a variable of comp-1 and comp-2?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What are all the divisions of a COBOL program?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
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?
What are the different rules to perform a Search?
How many sections are there in data division in COBOL?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
) How do u handle errors in BMS macro
What is amode(24)?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
State the various causes of s0c1, s0c5 and s0c7.