Can a REDEFINES clause be used along with an OCCURS clause?
if yes,
01 WS-TABLE.
03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'.
03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you
expect?
if no,why?
Answer Posted / vikas sharma
Yes, We Can.
In this question, When we display WS-EX we will get the
answer 5 times A. Like this AAAAA .
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How do you reference the fixed block file formats from cobol programs
What is the difference between external and global variables in COBOL?
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.
Are you comfortable in cobol or jcl?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
how do you reference the rrds file formats from cobol programs
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 to convert the recors form vsam file to db2 table tru file aid
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Which Search verb is equivalent to PERFORM…VARYING?
Write a cobol program making use of the redefine clause.
What is the difference between comp and comp-3?
What are 77 levels used for?
What type of SDLC u followed? Why?
How to use the same COBOL program in Batch and CICS on lines? explain with an example