BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Im running a sas program in Mainframes. In the saslog im getting the error as
"No logical assign for filename RFOFILE"

The error comes after the below piece of code

DATA RFOFILE;
INFILE RFOFILE;
INPUT @001 BRNBR PD5.
@006 RFOCODE $CHAR4.;
RUN;

I checked the DD name of the RFOFILE in the jcl. Its the same name as INFILE.

I am not able to crack this. Please help.
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
You will need to share info about your JCL with specific reference (allocation type: DASD, tape, otherwise?) - also, suggest reviewing allocation messages output and any JES log output diagnostics as well. Need more information. Has the SAS batch program/code/JCL worked before? Operating environment change?

Scott Barry
SBBWorks, Inc.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1670 views
  • 0 likes
  • 2 in conversation