The MOVE keyword moves data from the work buffer to the move buffer.
The move buffer is created and initialized with the first MOVE keyword encountered. It is initialized with the PADCHAR value, if a PADCHAR value is supplied. If a PADCHAR value is not specified, the move buffer is initialized with low values. You use multiple MOVE statements to populate the move buffer. The rightmost position moved to determines the length of the move buffer.
If the move buffer is greater than the output's maximum allowable record length, the move buffer is truncated to that value and the TRUNCRC value is returned.
If the move buffer is less than the output's maximum allowable record length, the following statements apply:
The WRITE keyword must be used to write the move buffer to the output file(s). Use the CLEAR parameter value to reset all bytes in the current move buffer to the current PADCHAR value, and for variable output files, to reset the move buffer length to 0. The move buffer length is also set to 0 for variable output files with each input record read.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|