A field declared as P8 needs to be redefined as
Alphanumeric. What would be its new size?

Answer Posted / getme

5 bytes, see below
NAT0039 Sum of field lengths in REDEFINE > length of base field (=5 bytes).
0010 DEFINE DATA LOCAL
0020 01 #P (P8)
0030 01 REDEFINE #P
E 0040 02 #A (A8)
0050 END-DEFINE

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between escape(top or bottom) and escape immediate(top or bottom?

622


What is the difference between read work file 1 and read work file once? Why we are using work file once?

521


Explain the address converter?

562


Explain why do we use file-aid for seqential files?

573


Define cobol coding sheet?

560






Explain how to move cursor to a particular field when position is not known?

529


Tell me what type of files we can process thru file-aid?

529


What is a hyperdescriptor? How does it work?

622


Explain the like inverted list?

533


What is the difference between read(1) and read work file once?

564


How to receive data passed through jcl parm parameter in a natural program?

550


What is cobol coding sheet?

712


Explain the data storage?

552


Can we see the copy book length using file-aid?

491


Can you explain control variable in online screens?

550