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 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

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