BookmarkSubscribeRSS Feed
Guiluiz
Fluorite | Level 6

I'm working in a migration from Mainframe to Linux using SAS AF, I don't know much about this application, but as I understand it, in the mainframe there are some keyboards that are entered by the user, with some functions to change screens, exit, go to left/right, navigate, etc. Apparently there are some catalogs already created where those keys are associated to one or more screens, using a kind of menu. In that case, how do I associate those keys that appear on the screen to its respective catalog (or key)?
I am leaving attached a print of the mainframe screen of the keys that I want to associate to the commands given by the user.

 

Thanks!

3 REPLIES 3
Quentin
Super User

SAS/AF is very very old, deprecated technology.  If you're working on a migration, you probably want to migrate to some other approach for developing a user interface to drive SAS code.  Common choices would be using a web interface with SAS stored processes or Viya jobs or whatever as the backend, or for Windows using SAS integration technologies to integrate an interface built with .NET stuff with SAS.  If you invest now in building a SAS/AF application, you're choosing to take on a ton of technical debt.

The Boston Area SAS Users Group (BASUG) is hosting our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
Full details and registration info at https://www.basug.org/events.
SASKiwi
PROC Star

From what I remember, you need to create a KEYS entry in your SAS/AF catalog to contain your custom key definitions. To execute a specified AF program from a function key, you use the AF command followed by the catalog entry you want to start: af c=MyLib.Mycat.MApp.program 

Kurt_Bremser
Super User

Don't bother trying to ride a horse which, in essence, is dead.

Redesign your application with stored processes or Viya jobs, as already suggested.

On top of avoiding technological debt, you will also save money because you no longer need the AF license.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1089 views
  • 1 like
  • 4 in conversation