View previous topic :: View next topic
|
Author |
Message |
checky76
New User
Joined: 13 Oct 2007 Posts: 10 Location: Vienna
|
|
|
|
Hello,
I want to send data with ftp. I generate the put command in an extra file ( i need it so while i have to generate it because there are thousands of files). I always get IEC141I 013-34,IGG0199G.
It only works when I have all JCL in Datasets (concatenition of datasets works with ftp). It would be better for me if i can work with dd *.
Has anyone a sample or an idea ?
Regards
Christian
Code: |
//FTP EXEC PGM=FTP,REGION=2048K,
// PARM='XXXXXXX (EXIT TRANS ISO8859 TIMEOUT 30'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//SYSTCPD DD DISP=SHR,DSN=SYS1.BRZ.TCPPARMS(TCPDATA)
//INPUT DD *,DLM='$$'
USER
PASSWD
locsite rdw
cd download
ascii
$$
// DD DISP=SHR,DSN=TSU.K.T1.LISTC2
// DD *,DLM='$$'
close
QUIT
$$
Input of LISTC2 Dataset
PUT 'TSU.K.W2.BMCDAA62.BMCPBASE.F001.D12247.T0520' +
TSU.K.W2.BMCDAA62.BMCPBASE.F001.D12247.T0520 |
|
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Are all your datasets F with an LRECL of 80? |
|
Back to top |
|
|
checky76
New User
Joined: 13 Oct 2007 Posts: 10 Location: Vienna
|
|
|
|
sorry, this was the mistake
thanks for help.
regards
christian |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Glad you got it working.
Please note - I've "coded" the "FTP JCL" part of your first post. Use BBcode tags, it makes control statements rather readable. |
|
Back to top |
|
|
|