As Packed veriable store 2 digits in 1 byte and ZONE
variable store 1 digit in 1 byte...
Please tell me when we have to use Packed and Zone
variable...?



As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please ..

Answer / ld123q44

Always used packed for a numeric field unless that field
will be subject to formatting(like the Social Security
Number) or exported or used by a another computer system
whose native data storage is not EBCDIC.

Is This Answer Correct ?    11 Yes 0 No

Post New Answer

More RPG400 Interview Questions

can we perform CHAIN operation on Subfile record format....?

4 Answers  


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

2 Answers   iGate,


What is difference between bind by copy and bind by reference?

0 Answers  


Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?

2 Answers  


Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.

1 Answers   CTS, IBM, iGate,






check existence of one record without using chain or read?

1 Answers   IBM,


how can we can we the data decimal error?how can we open such file in support

1 Answers  


suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 Answers  


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?

3 Answers  


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

0 Answers  


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

0 Answers  


Categories