01rec1.
05 a pic 999v99 value 123.12
05 b pic 99v9 value 45.9
02 rec2.
05 x pic 999v99
05 y pic 99v99
05 z pic x(3) value 'abc'
if rec1 is moved to rec2 then what is the value of rec2?
Answer Posted / kingmanish
Valur of REC2 would be
12312459abc
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the difference between structured cobol programming and object alternativelyiented cobol?
How many sections are there in data division in COBOL?
What is perform what is varying?
i want a program using by if, evaluate , string, unstring, perform, occurs?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Differentiate between structured cobol programming and object-oriented cobol programming.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the use of intialize verb?
Can you please let me know the centre name of INS certification in Kolkata.
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.
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?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are literals?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the usage of comp fields in cobol?