View previous topic :: View next topic |
Author |
Message |
jajularamesh Beginner
Joined: 14 Apr 2006 Posts: 87 Topics: 33
|
Posted: Wed Jul 05, 2006 3:25 am Post subject: Converting a text file on windows machine to a mainframe fil |
|
|
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 |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Wed Jul 05, 2006 3:42 am Post subject: |
|
|
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 |
|
 |
jajularamesh Beginner
Joined: 14 Apr 2006 Posts: 87 Topics: 33
|
Posted: Wed Jul 05, 2006 6:06 am Post subject: |
|
|
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 |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Wed Jul 05, 2006 6:09 am Post subject: |
|
|
So, why can't you just FTP it?
________
vaporizer affiliates
Last edited by ofer71 on Sat Feb 05, 2011 11:37 am; edited 1 time in total |
|
Back to top |
|
 |
jajularamesh Beginner
Joined: 14 Apr 2006 Posts: 87 Topics: 33
|
Posted: Wed Jul 05, 2006 6:13 am Post subject: |
|
|
i never used it before can u provide JCL for that |
|
Back to top |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Wed Jul 05, 2006 6:20 am Post subject: |
|
|
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 |
|
 |
jajularamesh Beginner
Joined: 14 Apr 2006 Posts: 87 Topics: 33
|
Posted: Wed Jul 05, 2006 6:25 am Post subject: |
|
|
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 |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
|
Back to top |
|
 |
|
|