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

Copy PDS to PS


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Aug 29, 2012 6:50 pm
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
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: 1788
Location: Bloomington, IL

PostPosted: Wed Aug 29, 2012 7:12 pm
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: 1742
Location: Tirupur, India

PostPosted: Wed Aug 29, 2012 7:13 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Aug 29, 2012 7:20 pm
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Aug 29, 2012 8:27 pm
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: 1788
Location: Bloomington, IL

PostPosted: Wed Aug 29, 2012 8:34 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 29, 2012 8:56 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Aug 29, 2012 9:20 pm
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Aug 29, 2012 9:36 pm
Reply with quote

Hello,

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

and maybe here:
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
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 03, 2012 3:57 pm
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
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 04, 2012 6:40 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top