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
 

 

Download file thru JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
bhairon singh rathore

New User


Joined: 19 Jun 2008
Posts: 91
Location: banglore

PostPosted: Thu Jul 14, 2011 9:50 pm    Post subject: Download file thru JCL
Reply with quote

I have a requirement where i have to download file thru JCL and FTP them to mainframe dataset

Could any body provide me a sample JCL to accomplish both step
Sorry if this is repeative question but i tried searching for it before posting
Back to top
View user's profile Send private message

vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1475
Location: Chennai

PostPosted: Thu Jul 14, 2011 9:55 pm    Post subject:
Reply with quote

Hello,
Quote:
I have a requirement where i have to download file thru JCL

Where are you trying to download the file from? What do you mean by downloading exactly(Is it FTP PULL?)

Searching the forum using google with search argument
"FTP a file site:ibmmainframes.com" returned many results with sample JCLs.. (The search button on the forum does not work for me though :S)
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Jul 14, 2011 10:06 pm    Post subject:
Reply with quote

vasanthz wrote:
Hello,
Quote:
I have a requirement where i have to download file thru JCL

Where are you trying to download the file from? What do you mean by downloading exactly(Is it FTP PULL?)

Searching the forum using google with search argument
"FTP a file site:ibmmainframes.com" returned many results with sample JCLs.. (The search button on the forum does not work for me though :S)


Yeah.. Something wrong with SEARCH today...I am also facing same. .It gives no result for anything you search....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7995
Location: Bellevue, IA

PostPosted: Thu Jul 14, 2011 10:22 pm    Post subject:
Reply with quote

Quote:
I have a requirement where i have to download file thru JCL and FTP them to mainframe dataset
Since JCL executes on the mainframe, just where are you downloading from, and where are you planning on downloading to?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 14, 2011 10:37 pm    Post subject:
Reply with quote

when you have answered Robert's question,
answer this one also:

do you have connect direct on your mainframe?

and if you reply "that you don't know"
i feel fully justified with the following comment:

[IMUO]
so many questions posed on this forum
indicate that people do not bother to inquire about available facilities at their site.

it is hard to believe that someone would give the TS
(someone who apparently has little or no data processing experience
as well no idea what is available on his/her own machine
or how things are done)

a requirement for something that is not available at the site
and expect the TS to come-up with something on his/her own.

[/IMUO]
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Jul 14, 2011 10:44 pm    Post subject: Reply to: Download file thru JCL
Reply with quote

Start here:

4.9 Submitting FTP requests in batch.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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