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

Answer Posted / dd

I think directly this conversion is not possible as packed
decimal is used for numeric value fields only.
Since it is p(8) so the numeric value field size should be
15 or 16 as [8 can be either (n+1)/2 i.e. (15+1)/2 or ( n/2)
i.e. 16/2].
So we can say (n15 or 16) will be (P8).
Alternatively (A16 or 15)

Is This Answer Correct ?    6 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

573


What is a hyperdescriptor?

522


The natural file converted to PDF file if Yes then explain ?

2652


Explain how to find occurrence of mu and pe fields in a file?

497


What is the quality process in development?

569






Explain the like inverted list?

539


Can you explain control variable in online screens?

554


Explain difference between read(1) and read work file once?

555


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

497


Explain difference between read work file 1 and read work file once? Why we are using work file once?

556


How to find occurrence of mu and pe fields in a file?

488


What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

550


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

624


Explain adabas basic concepts. Like inverted list, address converter ,data storage?

558


Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?

591