BookmarkSubscribeRSS Feed
j3r3m
Calcite | Level 5
Hi,

I'd like to know wether SAS can execute a program ?

I work on IBM MVS, and I'd like my SAS program to execute a TELON program.

Does anybody know how to that ?

Thx
1 REPLY 1
deleted_user
Not applicable
you're lucky to be on that platform
( well maybe 😉 )

if you can allocate the ddnames that TELON needs as filename statements, then [pre] PROC TELON ;
RUN;[/pre]
will run that external program.
If it writes an external file, when that PROC TELON finishes, you can parse that output in a data step, like [pre] data got_IT;
infile sysprint truncover ;
input @'required string' foundit $char100. ;
run;[/pre]
Alternatives exist. However, I found it very useful for PROC FTP, and an easy test should be IEBGENER.

Of course one gotcha:
Your TELON will need DDNAMES already in use by a normal SAS session. Fortunately there are ways to start SAS with unusual ddnames, like the SYSIN=SASIN option which directs SAS to read statements from DDNAME SASIN.

Good Luck

PeterC

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 897 views
  • 0 likes
  • 2 in conversation