Figure 337 shows how to specify the DTASTMCMD keyword.
Figure 337. Specifying the DTASTMCMD Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A R RECORD1 DTASTMCMD('TEXT(Record 1)') A FIELD1 10A 5 5 A 01 DTASTMCMD('TEXT(Field 1)') A FIELD2 10A 10 5DTASTMCMD(&DATA); A DATA 10A P A
The data stream for the record RECORD1 has the text for DTASTMCMD as TEXT(Record 1). If indicator 01 is optioned on, the data stream for the field FIELD1 has the text for DTASTMCMD as TEXT(Field 1). If indicator 01 is optioned off, no data stream text is generated for DTASTMCMD on FIELD1. FIELD2 will use what is contained in DATA as the text for DTASTMCMD.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.