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
 

 

Automated File transfer for windows to mainframe

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

New User


Joined: 23 Apr 2007
Posts: 26
Location: India

PostPosted: Mon Jun 25, 2007 12:34 pm    Post subject: Automated File transfer for windows to mainframe
Reply with quote

Hi All,

My requirement is to create a utility that automatically transfer a text file from windows environment into mainframe. Covert it into PS. Please provide me with details as how this can be achieved.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 25, 2007 1:00 pm    Post subject:
Reply with quote

Hello,

Pre-allocate the file on the mainframe with the attributes you need and then schedule a process on the pc/server to push the data into the mainframe ps file whenever yo need to send a new set of data.

Your mainframe most likely is running an ftp service as your pc most likely only has an ftp client.
Back to top
View user's profile Send private message
hermit_reloaded

New User


Joined: 23 Apr 2007
Posts: 26
Location: India

PostPosted: Tue Jun 26, 2007 10:05 am    Post subject:
Reply with quote

i actually wanted to use batch FTP program (PGM=FTP)
Please provide details on that....
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Jun 26, 2007 11:42 am    Post subject:
Reply with quote

Do FTP get from Mainframe JCL.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jun 26, 2007 6:11 pm    Post subject:
Reply with quote

Hello,

If you want to "pull" the data using batch FTP on the mainframe, the pc will have to have an FTP service (daemon) running. Most desktop systems do not have FTP host software active. You will want to talk with your network/desktop support people and find out if you can set up your desktop as an FTP host.

If the data will be on a server (rather than a desktop), it may have an FTP service - some do some don't as not every server is set up to support FTP. Again, your network/server support people will know what your options are.

We're here if there are questions.
Back to top
View user's profile Send private message
hermit_reloaded

New User


Joined: 23 Apr 2007
Posts: 26
Location: India

PostPosted: Thu Jul 05, 2007 12:10 pm    Post subject:
Reply with quote

well it aint that
i just have a text file containing some PS dataset names.
Now i want to make a mainframe utility that will directly convert this text file in my desktop to a PS.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Jul 05, 2007 12:16 pm    Post subject:
Reply with quote

Quote:
convert this text file in my desktop to a PS.

This Q is not clear. On desktop its all text files, so why do you want to convert to PS? well if you directly upload to text file to mainframe it becomes PS.
Back to top
View user's profile Send private message
hermit_reloaded

New User


Joined: 23 Apr 2007
Posts: 26
Location: India

PostPosted: Thu Jul 05, 2007 2:41 pm    Post subject:
Reply with quote

i have some information in my desktop in a text file i want to make a utility for example a job, when i submit that job a new physical sequential dataset will be created with all the details of that text file.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 05, 2007 6:27 pm    Post subject:
Reply with quote

Hello,

Your meaning is quite clear to you but it is not to others. . .

If you have data on the pc and want it available on the mainframe, an easy thing to do is:
1. pre-allocate a file on the mainframe to receive it - make sure the lrecl is long enough.
2. from your pc, run your ftp client and "send" the file to the mainframe.
3. read the file on the mainframe for whatever you need.
Back to top
View user's profile Send private message
hermit_reloaded

New User


Joined: 23 Apr 2007
Posts: 26
Location: India

PostPosted: Thu Jul 05, 2007 6:54 pm    Post subject:
Reply with quote

well i wanna do that through a utility
sort of a tool which can be used by other ppl too.
So i basically need to make a tool for transfering a text file into mainframe environment.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 05, 2007 7:40 pm    Post subject:
Reply with quote

Hello,

You probably already have a tool you could use - batch ftp on the desktop.

A small .bat file couild be created and run as needed to upload the data into the mainframe files.
Back to top
View user's profile Send private message
hermit_reloaded

New User


Joined: 23 Apr 2007
Posts: 26
Location: India

PostPosted: Fri Jul 06, 2007 8:13 am    Post subject:
Reply with quote

wanna make a seperate tool for this....
what the whole tool does is this.....
it automatically transfers one text file from the desktop environment into a PS. Now this PS will contains various file names. Now i will search for each file name in the mainframe and see if they exist or not. All this is to be done automatically. Only human interventions is submitting the job.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jul 06, 2007 9:03 am    Post subject:
Reply with quote

Hello,

What will you do when you determine that some of the files exist and some do not?

Is there some business reason that the list of files is not entered on the mainframe - either as a member of a pds or as a sequential file? If you had a pds, you could have one or more members for each user and use this without needing ftp icon_confused.gif

If you take a bit of time and clearly explain your entire requirement, you will probably get better replies. So far your requirement has expanded as the topic progresses. . .
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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