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
 

 

Need a JCL for FTP the text file to Data Set in Mainframes

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Hareesh Verma

New User


Joined: 08 Mar 2016
Posts: 8
Location: india

PostPosted: Fri Mar 25, 2016 12:11 pm    Post subject: Need a JCL for FTP the text file to Data Set in Mainframes
Reply with quote

Hi,

I need a Jcl like ftping the TEXT file to Data set in mainframes. Any one have
code Please help me. It's Urgent.

Thanks,
Hareesh[/b]
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Mar 25, 2016 12:47 pm    Post subject: Reply to: Need a JCL for FTP the text file to Data Set in Mainframes
Reply with quote

Quote:
It's Urgent.


remember ...
answering is done on voluntary basis, our own time and free of charge
( in stronger words... when and if we feel like )

if You have time constraints a forum is not the best place to ask.
Back to top
View user's profile Send private message
Willy Jensen

New User


Joined: 01 Sep 2015
Posts: 96
Location: Switzerland

PostPosted: Fri Mar 25, 2016 4:17 pm    Post subject:
Reply with quote

something like this:
Code:

//FTP     EXEC PGM=FTP,PARM='( EXIT'                 
//SYSPRINT DD  SYSOUT=*                                       
//OUTPUT   DD  SYSOUT=*                                       
//INPUT    DD *                                               
FTP.somewhere.com                                             
enter-user-id-here
enter-password-here
ascii                                                       
put pc-file-name 'ZOS.DATASET.NAME'
close                                                         
quit
Back to top
View user's profile Send private message
Hareesh Verma

New User


Joined: 08 Mar 2016
Posts: 8
Location: india

PostPosted: Fri Mar 25, 2016 5:27 pm    Post subject: data from text file is not transferred to data set
Reply with quote

Thanks for your Reply Willy Jensen

But i'm getting MAXX CC =0 but data is not transferred.
Back to top
View user's profile Send private message
Hareesh Verma

New User


Joined: 08 Mar 2016
Posts: 8
Location: india

PostPosted: Fri Mar 25, 2016 5:30 pm    Post subject: Reply to: Need a JCL for FTP the text file to Data Set in Mainframes
Reply with quote

Attaching code
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1715
Location: UK

PostPosted: Fri Mar 25, 2016 5:37 pm    Post subject:
Reply with quote

Do not post attachments - a simple cut'n'paste using the code tags to present the data will suffice, is quicker and takes less storage.

Does you JCL and the associated control statements meet your site standards?
Back to top
View user's profile Send private message
Hareesh Verma

New User


Joined: 08 Mar 2016
Posts: 8
Location: india

PostPosted: Fri Mar 25, 2016 5:49 pm    Post subject:
Reply with quote

Yes, here STAXMAST.txt is taking as storage data set not as text file.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Mar 25, 2016 6:01 pm    Post subject: Reply to: Need a JCL for FTP the text file to Data Set in Mainframes
Reply with quote

the issue should be discussed with Your support.

anyway the topic is locked becauseit falls into the ...
[IN]famous category of topics not eligible for discussion

http://ibmmainframes.com/viewtopic.php?t=20820
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    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 Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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