Using WinSpool/400 and Limiting Number of Reports Downloaded Per Output Queue Pass - Support

Using WinSpool/400 and Limiting Number of Reports Downloaded Per Output Queue Pass

From Support

Jump to: navigation, search
If you have a question or seek clarification, please call Technical Support.

Problem:

Invalid AS/400 command response received from AS/400 FTP Server: Error occurred on command call pgm(WINSPOOL/WSPL112C).

User was having a problem downloading reports from an output queue with more than 45,000 reports in it.

Is there a way to limit the number of reports downloaded from an output queue per download pass.

Solution:

Install the WinSpool/400 library V3.55 from the RJS web site.

After library installation, run the following commands to force the WinSpool/400 API to limit the number of reports downloaded per output queue pass.

Enabling settings to limit the number of reports downloaded per output queue pass to 1000 reports

CHGDTAARA DTAARA(WINSPOOL/WSPOUTQCMD) VALUE(WSPL046)

CHGCMDDFT CMD(WINSPOOL/WSPL016) NEWDFT('COUNT(1000)')

With this example, only 1000 reports will be processed per output queue pass.

Disabling settings to limit the number of reports downloaded per output queue pass

CHGDTAARA DTAARA(WINSPOOL/WSPOUTQCMD) VALUE(WSPL016)

CHGCMDDFT CMD(WINSPOOL/WSPL016) NEWDFT('COUNT(0)')

With this example, all reports will now be download during each output queue pass.

Personal tools