I want to FTP few set of files from Mainframes to Windows Location. I am trying the below code,
--------------------------------------------------------------------
MAIN:
Say "main section started"
server = 'xx.xxx.xxx.xxx'
Queue "User_ID"
Queue "Password"
Queue "locsite encoding=mbcs"
Queue "locsite mbdataconn=(IBM-285,UTF-8)"
Queue "cd Folder1/Test"
Queue "put //dd:mainframe_file windows_file.txt"
Queue "qui"
x = Outtrap(x.)
"FTP "server" 21 (Exit=8"
retcode = rc
x = Outtrap(Off)
Say RC
Return
-----------------------------------------------------------------------------
Ans I am submitting the job,
//XMLREXX JOB (,,USERID,),USERID,TIME=(10,59),NOTIFY=&SYSUID,
// REGION=0M,
// USER=USERID,
// CLASS=A
//REXX3 EXEC PGM=IKJEFT01,
// PARM='ISPSTART CMD(FTP)'
//SYSEXEC DD DSN=ISTEST.PROJ.GWM.REXX,DISP=SHR
//SYSPROC DD DISP=SHR,DSN=SYS2.ISPF.SISPCLIB
//ISPPROF DD DSN=ISTEST.DEVANAS.ISPF.ISPPROF,DISP=SHR
//ISPLOG DD DUMMY,DCB=(RECFM=VBA,LRECL=125,BLKSIZE=27944)
//ISPPLIB DD DISP=SHR,DSN=SYS1.SISPPENU
//ISPMLIB DD DISP=SHR,DSN=SYS1.SISPMENU
//ISPTLIB DD DISP=SHR,DSN=SYS1.SISPTENU
//ISPSLIB DD DSN=ISTEST.PROJ.GWM.REXX,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
-------------------------------------------------------------------------------------
But, I am getting output message as
ACF0C038 ACF2 LOGONID ATTRIBUTES HAVE REPLACED DEFAULT USER ATTRIBUTES
NULLFILE was preallocated (no free was done).
READY
END
Could you please help me with this?
help with REXX FTP
Moderators: Veera, Moderator Group
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page