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
How can we see the copy book length using file-aid?
What is cobol coding sheet?
How to find occurrence of mu and pe fields in a file?
The natural file converted to PDF file if Yes then explain ?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Explain difference between read(1) and read work file once?
Explain how many work file we can code in jcl?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?
Explain the data storage?
Can we see the copy book length using file-aid?
What is the difference between read(1) and read work file once?
What is a hyperdescriptor? How does it work?
Explain the address converter?
Explain why do we use file-aid for seqential files?