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

Explain the data storage?

547


What is a hyperdescriptor? How does it work?

621


What is cobol coding sheet?

708


Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

604


Explain control variable in online screens?

543






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

491


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

548


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

550


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

527


How converted the natural coding for adabas

2681


How to create 1 ddm that fetches 3 adabas files simultaneously?

527


Explain the difference between external subroutine and subprogram?

605


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

570


How can we see the copy book length using file-aid?

538


Explain the like inverted list?

532