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
 

 

Copy PDS to PS

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

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Wed Aug 29, 2012 6:48 pm    Post subject: Copy PDS to PS
Reply with quote

Dear all,

I would like to copy PDS library to PS file. How can I do that ?
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: Wed Aug 29, 2012 6:50 pm    Post subject:
Reply with quote

Hello,

You need to more clearly explain what you want to do.

Show an example of your pds (2 or 3 members will be enough) and what you want in the ps file as "output".
Back to top
View user's profile Send private message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Wed Aug 29, 2012 7:08 pm    Post subject:
Reply with quote

Hello,

Actually I have some PDS file contains hundereds of members. I need to ftp those members in the pdf file to windows with DOS OEM 857 codepage. I managed to ftp but I faced code page inconsistency problem. Anyway, now, I would like to try copying PDF with all members to PS files than I will download them via TSO command mode (INDÄ°FILE GET) without codepage problem.

Best regards,
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Wed Aug 29, 2012 7:12 pm    Post subject: Re: Copy PDS to PS
Reply with quote

hyuzen wrote:
Dear all,

I would like to copy PDS library to PS file. How can I do that ?

Start by reading the fine manual on IEBCOPY. If you still have questions then, feel free to come back and ask them.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Wed Aug 29, 2012 7:13 pm    Post subject:
Reply with quote

Hello,
You could have a look at IEBPTPCH utility as well with
PUNCH TYPORG=PO as SYSIN
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Aug 29, 2012 7:20 pm    Post subject: Reply to: Copy PDS to PS
Reply with quote

do You want the <members> be readable on the windoze machine ?

in this case the simplest solution would be ... ( from windoze )

supposing that the pds name was XXXX.YYYY.ZZZZ


create the windows destination directory

CD to the windows destination directory

open a ftp session with the host

from the FTP command line

CD /XXXX/YYYY/ZZZZ

prompt ( to flip prompt to noprompt

mget *

et voila' les jeux sont faites
Back to top
View user's profile Send private message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Wed Aug 29, 2012 8:21 pm    Post subject:
Reply with quote

Hello all,
First of all thank you very much for your interest, attention and support.

I could downloaf files to ftp via ftp but faced with codepage problem. I used core ftp client program to download files from mainframe but I still do not know how I can download all members of PDS with code page DOS OEM 857 to windows.

I used IEBCOPY utility and copied all members to PS file but the file I get did not work.

I used IEBPTPCH and all I got is
PRINT/PUNCH DATA SET UTILITY
PUNCH TYPORG=PO
EOF ON SYSIN
END OF DATA FOR SDS OR MEMBER

Briefly I would like to get all members in the pdf file to windows with DOS OEM 857 codepage.

Thank you in advance,
Best regards.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Wed Aug 29, 2012 8:27 pm    Post subject: Reply to: Copy PDS to PS
Reply with quote

Try fixing your IEBPTPCH. It has worked for years, so it is something you have done wrong. You should get a single PS which you can FTP.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Wed Aug 29, 2012 8:34 pm    Post subject:
Reply with quote

hyuzen wrote:
I used IEBCOPY utility and copied all members to PS file but the file I get did not work.

You have been a member of this board for seven years, so you ought to know that saying "it didn't work" is the biggest waste of pixels since Windows 3.11. Try telling us how it didn't work.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Wed Aug 29, 2012 8:56 pm    Post subject:
Reply with quote

FTP could do the task, but you would have to read some manuals to find out whether SBDATACONN option will do the conversion you need, or if you need to set up a TCP/IP translation table (search for TCPXLBIN in the Communications Server bookshelf).
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Aug 29, 2012 9:20 pm    Post subject: Reply to: Copy PDS to PS
Reply with quote

anyway the ts has not told how he plans the data transmission

using FTP with the mget or a cumulative sequential dataset will not get rid of the codepage issue
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: Wed Aug 29, 2012 9:36 pm    Post subject:
Reply with quote

Hello,

From what Robert has provided, look here:
http://publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=%2Fcom.ibm.zos.r12.halz001%2Fsbdata.htm

and maybe here:
http://www.vm.ibm.com/related/tcpip/publications/euro.pdf
Back to top
View user's profile Send private message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Mon Sep 03, 2012 1:08 pm    Post subject:
Reply with quote

I am so sorry for my late response. I was off for two days.

I checked my ftp does not support SBDATACONN option (// ' SITE SBD=(IBM-1026,857) ', ) unfortunately.
Back to top
View user's profile Send private message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Mon Sep 03, 2012 3:55 pm    Post subject:
Reply with quote

Dear all,

Thank you very, very much for your response.

I'll go with IEBPTPCH which worked very well.

Thank you vasanthz
Thank you to all once again.

Best regards,
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Mon Sep 03, 2012 3:57 pm    Post subject: Reply to: Copy PDS to PS
Reply with quote

what truckload of bullshit ...
i do not see how using IEBPTPCH could solve the code page issue
Back to top
View user's profile Send private message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Tue Sep 04, 2012 1:37 pm    Post subject:
Reply with quote

Dear Enrico,
Here is what I followed:
I used IEBPTPCH in order to copy libraries to PS files. Then I used Personal Communication program from TSO command mode (P.6) in order to download PS files to windows. I had previously set code page to 857 in Personal Communication setting. Then split members from PS files.

Extra infos:
* Strange but my ftp in the OS390 does not support SBDATACONN option !
* I used core FTP client from windows, it worked but code page was 1254.

I really will be appreciated if I manage to download members to windows via ftp client. Because this is still the fastest way for me.

Best regards
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 Sep 04, 2012 6:40 pm    Post subject:
Reply with quote

Hello,

Does your organization not employ networking support? Mainframe and PC?

They should be able to resolve this.
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
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts How to copy Tape dataset to unix main... chaky All Other Mainframe Topics 4 Fri Jul 08, 2016 2:52 am
No new posts Using Field names in FILEAID Batch CO... Atul Banke Compuware & Other Tools 2 Wed Jun 29, 2016 9:54 pm


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