Figure 432 shows how to specify the VARLEN keyword.
Figure 432. Specifying the VARLEN Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A R RCD VARLEN(&LENFLD); A DATAFLD 32760A A LENFLD 5S P A
On an output operation to RCD, the length of the data in DATAFLD that is sent across the line will be the length set in LENFLD.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.