BookmarkSubscribeRSS Feed
Boss3210
Calcite | Level 5

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

2 REPLIES 2
SASKiwi
PROC Star

You are missing the word INPUT before @1.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1131 views
  • 0 likes
  • 3 in conversation