Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP concatenation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: FTP concatenation
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7309

PostPosted: Mon Sep 17, 2012 12:34 pm    Post subject: Reply to: FTP concatenation
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    Post subject:
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

Senior Member


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

PostPosted: Mon Sep 17, 2012 2:25 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Utility to extract dsn info from conc... Lynne Schuler PL/I & Assembler 12 Tue Jan 26, 2016 6:36 am
No new posts Get missing dataset from the concaten... charan_mainframe Mainframe Interview Questions 2 Mon Jun 29, 2015 3:26 pm
No new posts SYSIN PDS Library Concatenation Brad McCoy JCL & VSAM 6 Mon Jul 07, 2014 11:49 pm
No new posts Concatenation logic with DFSORT Ranjith741 DFSORT/ICETOOL 18 Wed Jun 19, 2013 7:33 pm
No new posts concatenation Files shan DFSORT/ICETOOL 4 Mon Mar 04, 2013 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us