MergeInputFileLines

Top  Previous  Next

S

A

W

WS

ü

ü

Valid for: SetStartup

 

Syntax -

       SetStartup MergeInputFileLines <NumberOfLines>

               Where:

                       <NumberOfLines> is an integer value >= 1.

 

Description:

This option defines the number of input file lines/records that are to be merged and processed as one logical record.  This option values the Merge input File Lines number selector on the Misc. tab of the EMUE Tools - Current Settings - Options Settings dialog.  The original default value is 1.

 

Note:  Carriage returns are not preserved when file lines are merged.  The file lines are concatenated together with no extra white spaces added.

 

Note: This option does not affect the number of input file lines/records that are skipped by the SkipRecs command if the SkipRec is used before any Read statement, as in skipping a file header. If there has not be a Read, the SkipRec command will skip the specified number of input file physical lines/records, not the logical records that are defined by the MergeInputFileLines command.  In other words, the number of lines skipped with the SkipRecs command is not multiplied by the MergeInputFileLines setting.  However, if there is a Read statement at any point before the SkipRec command, then the SkipRec will skip the logical records that are defined by the MergeInputFileLines command.

 

Sample:

       The following statement instructs EMUE to combine 3 input file lines into a single logical record.

SetStartup MergeInputFileLines 3