Follow this procedure to add a new transient data record:
DESTID= transient data destination FUNC=ADDN (to obtain a new work area)
or
FUNC=ADDU (to use the data in the existing work area) SIZE= size of the data area Note: The SIZE cannot be higher than permitted for the destination.
In addition, you can complete the following optional field if appropriate:
DATA= characters
You are advised to enter the DESTID= field before entering the FUNC= field when you begin working with a particular destination. If only the DESTID= is entered, the properties of the transient data queue are shown for your verification. This can, for example, help you avoid entering a FUNC=ADDU for an extrapartition destination that is now open for input.
The obtained work area is displayed, beginning with the byte indicated in the LOC= field.
FUNC=PUT DESTID= transient data destination
and, if appropriate, the following optional field:
SIZE= size of the record (if smaller than work area)
The MESSAGE= field on the FILE screen shows the message TD RECORD WRITTEN.
To add a new 100‑byte record (with most of its fields blank) to the transient data destination CSSL:
Specify the following, and then press Enter:
FUNC=ADDN DESTID=CSSL DATA=C' ' SIZE= 100 or 64 (for FORMAT=D)
Make changes to the work area.
Specify the following, and then press Enter:
FUNC=PUT DESTID=CSSL
To add another new record to the transient data destination in Example 1, using the work area from Example 1:
Specify the following, and then press Enter:
FUNC=ADDU
Make changes to the work area.
Specify the following, and then press Enter:
FUNC=PUT DESTID=CSSL
|
Copyright © 2012 CA.
All rights reserved.
|
|