how to change picture class of copy book variable inside
program?
Answer Posted / sathishkumar
Hi,
Use Replacing option along with COPY.
Copy book(SAMPLE) defined as :
01 COPY REC
05 Emp-no 9(5).
05 name x(5).
If you want to change the Emp-No to 9(6).
Copy SAMPLE Replacing EMp-no by EMP-no1.
Define EMp-no1 as 9(6.
| Is This Answer Correct ? | 16 Yes | 4 No |
Post New Answer View All Answers
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
In COBOL programming, what is PERFORM? What is VARYING?
) How do u handle errors in BMS macro?
What do you understand by psb and acb?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How to know whether the module is dynamical or statistical?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is a report item?
What are 77 levels used for?
What is rmode(any) ?
What guidelines should be followed to write a structured cobol prgm?