MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Converting a text file on windows machine to a mainframe fil

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
jajularamesh
Beginner


Joined: 14 Apr 2006
Posts: 87
Topics: 33

PostPosted: Wed Jul 05, 2006 3:25 am    Post subject: Converting a text file on windows machine to a mainframe fil Reply with quote

hi,

i have a requirement to convert the text file on windows OS to Mainframe file previously i does this work manually.Can any one give me a JCL which converts the Text file to the mainframe file.


regards,
ramesh j
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Wed Jul 05, 2006 3:42 am    Post subject: Reply with quote

What do you mean by 'mainframe file' ? Sequential dataset ? VSAM ?

Can't you just FTP the file from PC to your mainframe?

O.
________
Ford Everest history


Last edited by ofer71 on Sat Feb 05, 2011 11:36 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
jajularamesh
Beginner


Joined: 14 Apr 2006
Posts: 87
Topics: 33

PostPosted: Wed Jul 05, 2006 6:06 am    Post subject: Reply with quote

Actual requirement is to convert an excelsheet data in to a particular format.we are usinf VB application to convert it and get a text file,Now this text file needs to be converted to PS file


regards,
rameshj
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Wed Jul 05, 2006 6:09 am    Post subject: Reply with quote

So, why can't you just FTP it? Question Question
________
vaporizer affiliates


Last edited by ofer71 on Sat Feb 05, 2011 11:37 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
jajularamesh
Beginner


Joined: 14 Apr 2006
Posts: 87
Topics: 33

PostPosted: Wed Jul 05, 2006 6:13 am    Post subject: Reply with quote

i never used it before can u provide JCL for that
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Wed Jul 05, 2006 6:20 am    Post subject: Reply with quote

You don't need JCL. There are many ways to invoke FTP, which is the standard File Transfer Protocol.

For example, you can use your WINDOWS command shell and issue the command FTP . Another method is to use some FTP utility (WS-FTP is my favorite).

Of course, you can always run FTP from a JCL (EXEC PGM=FTP), but there's really no need of doing it.

By the way, you can run FTP directly from within your VB code, and transfer the files directly to the mainframe. We are doing it on a daily basis.

O.
________
A engine


Last edited by ofer71 on Sat Feb 05, 2011 11:37 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
jajularamesh
Beginner


Joined: 14 Apr 2006
Posts: 87
Topics: 33

PostPosted: Wed Jul 05, 2006 6:25 am    Post subject: Reply with quote

ok but i need a JCL so that jcl can be scheduled in a batch.please let me know how to acheive this using a jcl
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Wed Jul 05, 2006 7:06 am    Post subject: Reply with quote

You may read all about it in the fine manual.

O.
________
Toyota M engine specifications
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group