cancel
Showing results for 
Search instead for 
Did you mean: 

SAP calls FTP - error Library not found

former_member201258
Participant
0 Kudos

Hi,

We are working in SAP 4.6c/DB2 on AS 400 platform

We are getting some problem while calling a function from SAP . We want to know what is the problem? I am attaching the log file showing the error.

please give some idea about this and what need to be done for solving this.

Please see the error

"

Enter an FTP subcommand.

> LIST (disk

Current library not defined. Use the CHGCURLIB system command to define a

Enter an FTP subcommand.

> quit

221

CPF9801 Object FTPCTLFIL in library QTEMP not found.

CPC7301 File FTPCTLFIL created in library QTEMP.

CPC7305 Member F360151107 added to file FTPCTLFIL in QTEMP.

CPF9801 Object FTPLOGFIL in library QTEMP not found.

CPC7301 File FTPLOGFIL created in library QTEMP.

CPC7305 Member F360151107 added to file FTPLOGFIL in QTEMP.

CPFA0A9 Object not found. Object is /qsys.lib/qtemp.lib/diroutput.file/F36

CPFA097 Object not copied. Object is /qsys.lib/qtemp.lib/diroutput.file/F3

"

Thanks a lot

Best Regards

Hany

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member201258
Participant
0 Kudos

Hi,

Thanks.

This script works well if user run the transaction through central instance and fails if users are runing through Dialog instance.

Regards

Hany

Former Member
0 Kudos

Hello Hany,

Sorry that I don't have a live SAP on i5/OS system to check right now... When you logon as <SID><nn> of the central instance, do you have "current library" specified? If yes, and if the "current library" is not available for the dialog instance, that would explain why it happens.

Create another ftp script for the dialog instance? or always run it from the central instance?

Best regards,

Victor

former_member201258
Participant
0 Kudos

Hi Victor,

Thanks a lot..

Both the central instance and dialog instance are on the same server only.Could you please tell me how I can make the current library available to the dialog instance.

Best Regards

Sujith

Former Member
0 Kudos

Hi Sujith,

first of all I would be interested, if the CUR lib is NOT set in the WP-Jobs ...

Could you please check wrkactjob option 5 and option 13 ?

Library Type

R3SYS SYS

QSYS SYS

QSYS2 SYS

QHLPSYS SYS

QUSRSYS SYS

R3D01DATA CUR <<<<

R3700U0104 USR

QTEMP USR

QGPL USR

QGY USR

Because, if you see it here, what I assume, we should hunt somewhere else ...

Regards

Volker Gueldenpfennig, consolut.gmbh

http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Hello Hany,

Not sure how the ftp job is triggered... can "CHGCURLIB" be executed before "ftp"?

Or could the ftp script executes "lcd <library>" before "list"?

Best regards,

Victor