Error on RPTNUM command RTNSPLNUM must be *CHAR, minimum length 6
From Support
| | If you have a question or seek clarification, please call Technical Support. |
[edit]
Problem:
Message . . . . : 3200 - RPTNUM SPLF(HW400A05) SPLNBR(*LAST)
RTNSPLF(&SPLFNAME) RTNJOBNAME(&JOBNAME) RTNJOBUSER(&JOBUSER)
RTNJOBNUM(&JOBNBR) RTNSPLNUM(&SPLNBR)
CPD0784 Diagnostic 30 08/26/04 05:09:01.606032 QCAFLD QSYS 0C65 HWACA908 HWPRDOBJ 0028
Message . . . . : Variable N 0011 B2902QSY for parameter RTNSPLNUM
must be *CHAR, minimum length 6.
Cause . . . . . : Variable N 0011 B2902QSY for parameter RTNSPLNUM
must be TYPE(*CHAR) with a minimum length of LEN(6). Recovery . . . :
Change the length or type of variable, and then try the CRTCLPGM command
again.
CPF0001 Escape 30 08/26/04 05:09:01.606104 QCADRV QSYS 0583 HWACA908 HWPRDOBJ 0028
Message . . . . : Error found on RPTNUM command.
Cause . . . . . : The system detected errors in the command. Recovery . . .
: See the previously listed messages in the job log. Correct the errors
and then try the command again. *N instead of a command name means that the
name had not been determined before the error was found.
[edit]
Solution:
In V5R1 of the OS/400 operating system, the spool file number has been extended to be 6 digits. Upgrade to the latest version of the Report Splitter library if you have V5R1 or above of the OS/400 operating system.
