Skip to main content

Does anyone know of a way to limit the number of lines in Transfer > Receive?


#Rumba
#transferreceivelinesnumbercountlimit

Does anyone know of a way to limit the number of lines in Transfer > Receive?


#Rumba
#transferreceivelinesnumbercountlimit

Hi

the TOP instruction which would normally be used in SQL queries to achive this is not supported by AS400 SQL. The instruction required to achieve your goal is FETCH

e.g.

  Select * FROM MYLIB/MYDB

  FETCH FIRST 20 ROWS ONLY

This should return the first 20 rows from MYDB.

Hope this helps.


Does anyone know of a way to limit the number of lines in Transfer > Receive?


#Rumba
#transferreceivelinesnumbercountlimit

Is FETCH FIRST 20 ROWS ONLY to be entered into the Additional TSO Parameters window? I get an error message: TRANS18 Incorrect option specified: file transfer canceled.


Does anyone know of a way to limit the number of lines in Transfer > Receive?


#Rumba
#transferreceivelinesnumbercountlimit

Is FETCH FIRST 20 ROWS ONLY to be entered into the Additional TSO Parameters window? I get an error message: TRANS18 Incorrect option specified: file transfer canceled.


Does anyone know of a way to limit the number of lines in Transfer > Receive?


#Rumba
#transferreceivelinesnumbercountlimit

Apologies, I had assumed you were attempting an AS400 SQL query.

In terms of IND$FILE TSO downloads, there is no parameter /option to limit the number of lines which you download.


Does anyone know of a way to limit the number of lines in Transfer > Receive?


#Rumba
#transferreceivelinesnumbercountlimit

OK thanks