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...?
Answer Posted / 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 View All Answers
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
What is the purpose of record level identifier?
How can we know running job is batch or interactive?
what is data area and how it is used in rpg program ?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
What is the difference between copybooks and subprocedures in as400?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
What is the difference between iter and do?
what is *place and *auto keyword in prtf ?plz explain
How to write record if no field or the field are different in physical file in rpgle ?
Explain mdt?
how can you display specific subfile page on the screen in unequal subfile?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?