Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Moving a Multitude of SAS data sets from mainframe to PC

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

New User


Joined: 30 Mar 2011
Posts: 48
Location: United States

PostPosted: Fri Aug 23, 2013 1:08 am    Post subject: Moving a Multitude of SAS data sets from mainframe to PC
Reply with quote

I have a large number of SAS data sets that needed to be transferred to a PC from the mainframe. We usually use PROC CPORT or the XPORT engine to accomplish this task. In doing some reading, I came across the acronym CEDA (Cross Environment Data Access). If your mainframe system has UNIX System Services then your system has HFS (hierarchical file structure). Supposedly one should be able to put one's SAS data sets into a HFS directory and then FTP the data sets to the PC without constructing SAS transportable files.

First - Is anyone used this method and if so, could they point me to some literature providing some detail on the process?

Second - If no one has used this method could anyone point me to some literature telling me how to create a directory in HFS using a batch setup with JCL?

Charles Wolters
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Aug 23, 2013 11:41 am    Post subject:
Reply with quote

You could always try to see if you have SAS/Connect installed.

That way you can copy directly from the z/OS mainframe to the PC
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1521
Location: Chennai

PostPosted: Tue Aug 27, 2013 7:37 pm    Post subject:
Reply with quote

Hello,
Quote:
could anyone point me to some literature telling me how to create a directory in HFS using a batch setup with JCL?


You could create USS directory from SAS piping and submit the SAS in batch.

Code:
filename oecmd pipe ('mkdir /unix/directory/being/created/'); 
data _null_;                                     
infile oecmd;                                   
run;       

or
Code:
libname xx '/unix/directory/being/created/';   
data xx._null_;                 
run;           

I have not tried out CEDA completely,since I don't have easy access to PC SAS, but the methodology can be tested, what happened when you tried?

1. create a USS directory which will hold the SAS datasets. let it be "/unix/directory/being/created"
2. assign the USS directory in libname statement with OUTREP=WINDOWS_32

3. write a test dataset into the USS directory.
Code:
libname OUTLIB '/unix/directory/being/created' outrep=WINDOWS_32;
data OUTLIB.class;                                           
set sashelp.class;                                         
run;       

4. FTP the file from USS to PC in BINARY mode and try to view the dataset in PC SAS.
5. I envy you for having PC SAS :-)
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 Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us