IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP concatenation


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
checky76

New User


Joined: 13 Oct 2007
Posts: 10
Location: Vienna

PostPosted: Mon Sep 17, 2012 12:30 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Sep 17, 2012 12:34 pm
Reply with quote

Are all your datasets F with an LRECL of 80?
Back to top
View user's profile Send private message
checky76

New User


Joined: 13 Oct 2007
Posts: 10
Location: Vienna

PostPosted: Mon Sep 17, 2012 1:01 pm
Reply with quote

sorry, this was the mistake


thanks for help.

regards
christian
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Sep 17, 2012 2:25 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INVALID RECFM FOR DDNAME SYSLIN AND C... All Other Mainframe Topics 7
No new posts Can we limit length in concatenation ... DB2 7
No new posts Utility to extract dsn info from conc... PL/I & Assembler 12
No new posts Get missing dataset from the concaten... Mainframe Interview Questions 2
No new posts SYSIN PDS Library Concatenation JCL & VSAM 6
Search our Forums:

Back to Top