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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 1 reply
  • 545 views
  • 0 likes
  • 2 in conversation