A field declared as P8 needs to be redefined as
Alphanumeric. What would be its new size?
Submitted by: AdministratorI 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)
Submitted by: Administrator
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)
Submitted by: Administrator
Read Online IBM Natural Job Interview Questions And Answers
Top IBM Natural Questions
☺ | Explain the difference between External subroutine and |
☺ | What is COBOL coding sheet? |
☺ | How to receive data passed through JCL parm parameter in a Natural program? How Data definition is defined in the program? |
☺ | Explain Is it possible to code GOTO statement in NATURAL? if yes please provide the syntax of the same? |
☺ | Explain why do we use file-aid for seqential files? |
Top Mainframe Technical Categories
☺ | IBM MainFrame Interview Questions. |
☺ | IBM AS400 Interview Questions. |
☺ | JCL Interview Questions. |
☺ | IMS DB Interview Questions. |
☺ | CICS Interview Questions. |