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 

Importing PS file into EXcel via JCL

 
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
kris_mf
Beginner


Joined: 07 Feb 2005
Posts: 8
Topics: 6
Location: Chennai

PostPosted: Fri Apr 22, 2005 2:45 am    Post subject: Importing PS file into EXcel via JCL Reply with quote

Hi,
We are importing PS file to a CSV file via FTP. We have a requirement to import it using JCL. Is there any way to do like that?



Thanks,
Sai Krishna
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Fri Apr 22, 2005 5:02 am    Post subject: Reply with quote

Sure, you can do it if you know your destination server ID. Prepare a job like this.

Code:

//R010       EXEC  PGM=FTP
//INPUT      DD   *
(EXIT
pc-ftp-id
pc-username
pc-password
put 'mainframe.dataset' pc-filename.txt
quit
/*
//SYSPRINT  DD SYSOUT=*
//SYSOUT     DD SYSOUT=*


Hope this helps,

Thanks,
Phantom
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Fri Apr 22, 2005 5:45 am    Post subject: Reply with quote

Kris_mf,

JCL by itself CANNOT do any thing . It is the pgms/utilities that does the functions for you. JCL is just used to run them . As Phantom showed you will still use the FTP program to send the dataset from the host to pc.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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