We know that size of redefine and redefining need not to be
same..Then does the below case true
01 ws-date pic 9(6).
01 ws-redf-date REDEFINES ws-date
05 ws-year pic 9(4)
05 ws-mon pic 9(2)
05 ws-day pic 9(2)
how to crack cts interview apps? NOVEMBER 21 2010
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
How To move a value to an array using move verb?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the use of EVALUATE statement?
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
What is the compute verb? How is it used?
Difference between file status codes 02 and 22.... since both are for duplicate key detection.
What is amode(24)?
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you
What is the use of LINKAGE SECTION?