IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Convert PS to TXT file using jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sangeth

New User


Joined: 05 Oct 2021
Posts: 3
Location: United States

PostPosted: Tue Oct 05, 2021 5:28 am
Reply with quote

Hi.. Could someone explain the step to send mainframe PS file to our local directory in txt format using JCL batch process.
Back to top
View user's profile Send private message
Joerg.Findeisen

Active Member


Joined: 15 Aug 2015
Posts: 623
Location: Bamberg, Germany

PostPosted: Tue Oct 05, 2021 10:59 am
Reply with quote

Where is that "local directory"? Use FTP and look up EBCDIC/ASCII operands.
Back to top
View user's profile Send private message
Sangeth

New User


Joined: 05 Oct 2021
Posts: 3
Location: United States

PostPosted: Tue Oct 05, 2021 3:04 pm
Reply with quote

Hi Joerg - Thanks for replying.

To my local machine. it can be downloads or C:Drive. "C:Users\Public\Documents.

Please provide sample jcl format as well.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2792
Location: NYC,USA

PostPosted: Tue Oct 05, 2021 4:54 pm
Reply with quote

Please do use SEARCH facility On the top of this site or Google it. Plenty of them are available. Or use option 6 and follow emulator steps to FTP. why need JCL ?
Second I hope you are going thru proper access channel as FTPIng anything to desktop is a violation of the policy without having proper authorization.
Back to top
View user's profile Send private message
Sangeth

New User


Joined: 05 Oct 2021
Posts: 3
Location: United States

PostPosted: Tue Oct 05, 2021 5:23 pm
Reply with quote

I am trying to automate the process. as the last step, I want to convert PS into txt or CSV through JCL itself.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1116
Location: Dublin, Ireland

PostPosted: Tue Oct 05, 2021 6:19 pm
Reply with quote

A quick google finds:

www.ibm.com/docs/en/zos/2.1.0?topic=ftp-submitting-requests-in-batch

Garry.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2792
Location: NYC,USA

PostPosted: Tue Oct 05, 2021 8:59 pm
Reply with quote

Sangeth wrote:
I am trying to automate the process. as the last step, I want to convert PS into txt or CSV through JCL itself.

OKay. Please follow on what I suggested and see Garry's link.
Back to top
View user's profile Send private message
Joerg.Findeisen

Active Member


Joined: 15 Aug 2015
Posts: 623
Location: Bamberg, Germany

PostPosted: Wed Oct 06, 2021 6:43 am
Reply with quote

Addendum: To be able to send (PUT) a dataset to a PC w/ FTP, you possibly need to run a FTP Server on PC. But you can also receive (GET) the dataset from the FTP Server on Host by Client means.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts File Status Error code 39 when Proces... COBOL Programming 2
No new posts how to convert and use 1 bit hex-numb... COBOL Programming 10
This topic is locked: you cannot edit posts or make replies. Sort to include records of file 2 int... Java & MQSeries 1
No new posts How to modify file content using REXX CLIST & REXX 3
No new posts VB file copy COBOL program gives erro... COBOL Programming 3
Search our Forums:

Back to Top