|
Debug the program
Right after the command is built, eval it. Copy and past the command
that is run. This means the entire command with all the values
replaced, etc. The exact command that is run.
Paste it to a command line. Press enter. See what happens. That will
tell you what's going on.
A lot of times it is assumed you created the command right, but until
you debug it and see what's wrong you'll never know why the error is
happening
On Fri, Apr 5, 2013 at 11:17 PM, Gary Kuznitz wrote:
** I changed the Callp to Call 'QCMDEXC'
And I am getting more info in the joblog now.
I don't know why the system is creating this file in QTEMP
File QACP173785 created in library QTEMP.
And then I get this error:
40 04/05/13 19:11:17 QC2IO QSYS *STMT QCPEXPRT QSYS
From module . . . . . . . . : QC2RIOC1
From procedure . . . . . . : _Ropen
Statement . . . . . . . . . : 28
To module . . . . . . . . . : QCPEXPRT
To procedure . . . . . . . : Check_tofile_parameter
Statement . . . . . . . . . : 1130 *PRCLT
Message . . . . : File is not opened.
<<SNIP>>
On 4 Apr 2013 at 15:54, Gary wrote:
<<SNIP>> This is my code:
D Path s 11 Inz('/tmp/')
C Eval CMDA = 'CPYTOIMPF ' + <<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.