on 03-28-2007 9:53 AM
Hi Guys
I am having an issue on my production R3 system ie. system EPP.
I am trying to run an abap program called zae00001.
This program calls a clp program on the as400 called also zftpdata
The program zftpdata - fetches the files and then call a clp program zae000001
The main objective of this program is to ftp files in andout and place them on th IFS
system for availablity.
This program does not want to work. If i call the program(ZAE00001) from the as400 Operating system
then it works.
I have outputed the the completed steps and error message to a file called ftpoutpf in
library qgpl and member zae00001.
Output as follows:
***********Beginning of data*************
Output redirected to a file.
Input read from specified override file.
Connecting to host ZAFTPSRV at address 160.122.231.85 using port 21.
220 Microsoft FTP Service
Enter login ID (epp00):
331 Password required for FTP010.
230 User FTP010 logged in.
Windows_NT
Enter an FTP subcommand.
> cd ORDERS/EPD_ORDER_IN
250 CWD command successful.
Enter an FTP subcommand.
> lcd femo_ord
Local working directory is FEMO_ORD
Enter an FTP subcommand.
> ascii
200 Type set to A.
Enter an FTP subcommand.
> mget *.xml
227 Entering Passive Mode (160,122,231,85,19,141).
125 Data connection already open; Transfer starting.
226 Transfer complete.
Enter an FTP subcommand.
> mdel *.xml
227 Entering Passive Mode (160,122,231,85,19,142).
125 Data connection already open; Transfer starting.
226 Transfer complete.
Enter an FTP subcommand.
> lcd qsys
Local working directory is QSYS
Enter an FTP subcommand.
> SYSCMD CALL PGM(QGPL/ZAE00001)
Error occurred while attempting the CL command.
Error message ID = CPF0001.
Error found on CALL command.
Enter an FTP subcommand.
Enter an FTP subcommand.
> quit
221
***********End of Data*******************
I think this is an authorization issue, but I am not sure where to look as it does not give me more info.
I have done an edtobjaut on the clp programs zftpdata and zae00001 in library qgpl,and allusers ie. epp00 and public has *all rights but still it does not want to work.
APPRECIATE ANY hELP TO DEBUG THIS FROM AN OS POINT OF VIEW AS YOU CAN SEE THERE ERROR CODE IS CPF0000
Hi Guys
The issue is with the profile (epp00). You need to give command line access i.e
give it security officer rights and everything works
Thanks
Morgs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Morga,
I tried the following within an interactive FTP session:
> syscmd call qcmx
Error occurred while attempting the CL command.
Error message ID = CPF0001.
Error found on CALL command.
After leaving the session I could see the following in the joblog:
3 > ftp as0018
Program QCMX in library *LIBL not found.
Therfore, I suggest to look up spoolfiles or joblog of the respective jobs (work process?)
HTH,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.