Help using Base SAS procedures

Accessing VSAM Files on Mainframes using SAS on AIX/Unix

Reply
N/A
Posts: 1

Accessing VSAM Files on Mainframes using SAS on AIX/Unix

Hello all,

I am not sure if this is the right forum to post my question. My question is this - I have been using SAS on z/OS for a while and we are trying to move towards SAS on Unix. We have been testing out the various features that we are using on Mainframes from the unix environment. One of the feature is to read VSAM files on mainframes. I am not able to replicate this to read the VSAM files on mainframes using SAS FTP from the SAS on Unix. I would really appreciate if someone can guide me on how can I read the VSAM files from SAS on Unix.

Thank you.
Occasional Contributor
Posts: 9

Re: Accessing VSAM Files on Mainframes using SAS on AIX/Unix

Try this

filename in1 FTP "FULLY.QUALIFIED.DATASETNAME.ON.THE.MAINFRAME" host='MainframeNameGoesHere' user="YourUserid" pass="YourPassword";
Super User
Posts: 3,252

Re: Accessing VSAM Files on Mainframes using SAS on AIX/Unix

What methods do you use to access VSAM mainframe files on z/OS? Do you use any of the FILENAME VSAM options? Unix SAS FILENAMEs will not know anything about these.

If you have SAS/CONNECT available on both z/OS and Unix you could use PROC DOWNLOAD instead after you have created a SAS dataset on z/OS from the VSAM file first.
Ask a Question
Discussion stats
  • 2 replies
  • 648 views
  • 0 likes
  • 3 in conversation