This example adds a RECDATA field to the RLP record PROLL1 that contains a name field in character format called NAME, having an offset of 20 and a length of 30 characters:
TSS ADDTO(SDT) RECORD(PROLL1)
RECDATA(NAME,CHAR,20,30)
This example replaces an existing record with one new field
TSS REPLACE(SDT) RECORD(PROLL1)
RECDATA(NAME,CHAR,20,15).
Even though only one field's worth of data is entered with the REPLACE syntax, all previously entered fields are replaced by the single field entered in the REPLACE command. If the RLP record consists of seven fields, all seven original fields are lost and one new field replaces them. There is no command to replace a single field.
|
Copyright © 2009 CA.
All rights reserved.
|
|