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 / 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 |
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?
1.The questions have given an array declaration and move operation then this statement is correct or not?
what is ment by "MDT"
How can we override a file during runtime in rpg?
what are the key words you must use when using a subfile?
Why Rpg/400 is Famous?
two types of read performed in dataqueue?????
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?
Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
When a object will be locked & when a record will be locked? Plz explain.