GDDM V3R2 Base Application Programming Guide
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Padding mapped fields with null characters GDDM V3R2 Base Application Programming Guide SC33-0867-01 |
|
GDDM-IMD pads default data with blanks to fill the field. If you specify no default data, GDDM-IMD fills the complete field with blanks. If you want to pad with nulls, perhaps to allow the end user to use the insert key, you must provide the field with a length adjunct. Here is an ADS containing two fields, the first of which has a length adjunct:
DCL 1 CUSTOMER,
On output, your program sets the length adjunct to the length of data in
the field, and GDDM pads the remainder of the field with nulls. If the
end user modifies the field, then on input, GDDM sets the length adjunct
to the new length of the data.
|
Copyright IBM Corporation 1990, 2012 |