Architecting, installing and maintaining your SAS environment

issue when processing VSAM file

Reply
N/A
Posts: 1

issue when processing VSAM file

Hi All,

I am new to SAS and I am writing SAS program in mainframe. I wanted to acess the VSAM file using SAS JCL.

Here are my defintions:

//VSAMF    DD DSN=userid.vsam.file.k.c,DISP=SHR

in sysin area :

data eastr;

  infile enrolact vsam;

         @1 account                  $10. ;

output eastr;

ERROR message :

The operand in the ACB or GENDB macro are in inconstistent with each other

unable to open ACB, rc = 16

Please help me or let me know if any sample JCL.

Thanks

Super User
Posts: 3,102

issue when processing VSAM file

You are missing the word INPUT before @1.

SAS Employee
Posts: 10

issue when processing VSAM file

One more check for you

http://support.sas.com/kb/9/425.html

Ask a Question
Discussion stats
  • 2 replies
  • 329 views
  • 0 likes
  • 3 in conversation