Answer Posted / vamsi
In a general scenario, we cannot use two 01 level numbers in
the same structure.
We can use this when we want to redefines entire structure only.
Eg:
01 ws-input.
10 name pic x(40).
10 desig pic x(40).
01 ws-input-re redefines ws-input
10 name pic x(30).
10 department pic x(10).
10 designation pic x(20).
10 salary pic s9(13)v99.
10 filler pic x(13).
this way we can use.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the difference between Call and a Link?
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?
what happens if parmparameter passes zero bytes to the program
how to move the records from file to array table. give with code example
Can we change the password using ALTER? anyone tried and changed?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what is search and searchall?what is the diffrence between them?give an best example?
What kind of error is trapped by on size error option?
) How do u handle errors in BMS macro?
What is inspect in cobol ?
Give some examples of command terminators?
HOw can I get the negative sign while deduct high value from low value
How do u write test cases?
What type of SDLC u followed? Why?