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

1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?

8 Answers   HCL,


how do I declare a table or array in rpg iv?

0 Answers   IBM,


What is the syntax of passing parameters to a procedure by value?

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,


two types of read performed in dataqueue?????

4 Answers   CTS,






How can we change element of compile time array?Can we do so

1 Answers   TCS,


how do u track msg in cl pgm???

1 Answers   CTS,


check existence of one record without using chain or read?

1 Answers   IBM,


How can we know running job is batch or interactive?

0 Answers  


What is a record lock error?

0 Answers   Wipro,


I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3 under session S1) And 2 jobs(Say j4, j5 Under session S2)is running. How many QTEMP & how many LDA will create for the same.

9 Answers   IBM,


can we use cl programming to update or delete physical files

12 Answers  


Categories