Document ID : KB000021147
Last Modified Date : 14/02/2018
Show Technical Document Details


Why is the user getting this message? The file they are trying to import is the same size as another one that they can import with no problems.


This error message indicates that the file the user is trying to import has more lines than the aws (Active Work Space) maximum allows. The maximum number of lines that can be imported is a parameter that can be set In Roscoe. However, the largest value for this parameter is 32000. It does not matter how many characters are on the line as long as it is not greater than 255. If the length of the line is greater than 255, you will not get an error, but the line will wrap and each line of the file will use up 2 lines in the AWS, reducing the total line limit to 16000. The line limit does not have anything to do with the amount of DASD space the file occupies.

  • Increase the line limit if possible.  Determine what the line limit is set to by running the AWS rpf ( from the Roscoe command line. The limit is displayed in the top right column:


       For more information about setting and increasing the line limit, please see TEC294274 ROSCOE AWS DATASETS


                  1) The line limit is 32,000 and the lrecl of the file 92.  You can have 32,000 lines that are 92 characters wide.

                  2) The line limit is 32,000 and the lrecl of the file 255. You can have 32,000 lines that are 255 characters wide.

  • If you cannot increase the line limit, or you are already at the line limit, the workaround to manage an import of a file with over 32,000 lines would be to use multiple AWS's.
  1. Split the file into different AWS's, each not exceeding 32000 lines. After editing is done in each AWS, the contents of each AWS can be
    exported to the original data set, if it is a sequential data set. The first EXPort without DISP=, any subsequent EXPort with DISP=MOD added after
    the data set name.
  2. In case the original data set is a member of a PO data set, EXPorting must be done to a sequential file first, which then must be copied into the
    original member to replace this.