BookmarkSubscribeRSS Feed
deleted_user
Not applicable
hi,
Im using mainframe Z/OS for using SAS. so, can you say how to get input
at run time.
like a program who can show "Enter X" and then in the output region we can
write any number ,suppose giving '12' , then in the variable X 12 will be stored
and then whatever the input taken can be shown as Print.

as, "X=12"...
pls help me by showing a program.
as Iv seen a program but that's not working that was for Windows.
thanks and best regards......
SWARUP
4 REPLIES 4
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Please clarify what you mean by "run time"? Are you referring to an interactivre terminal session, most likely TSO/ISPF session, where an individual is supplying input to your program?

With z/OS and SAS, it is possible to develop a SAS application and have that application work together with TSO/ISPF dialog services (or with native REXX language and CLIST), in the interactive mode.

I recommend reading the SAS z/OS Companion discussion (reference links pasted below). Also, you will find SAS technical and conference papers at the SAS support http://support.sas.com/ website for this topic.


Scott Barry
SBBWorks, Inc.

SAS z/OS Companion - Windows and Commands in z/OS Environments
http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/a000165950.htm

SAS Interfaces to ISPF and REXX
http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/a000217153.htm
deleted_user
Not applicable
hi sbb,
thanks for replying.........
ya I was talking about interactive terminal session as TSO/ISPF, where
Im giving the commands like "prog" "sub" "log" .
I want to make the program in these way thus the program can take input
at the time of execution. not like the inputs taken from specific files
declared in INFILE statement.


Iv seen one program,
file stdout;
infile stdin;
put @5 `Enter X';
input x @;

all these are under a data statement like
data xyz;
and also finishing with run;
but there showing that Iv to create WORK.stdout dataset
but thats not possible in that environment,showing ACF2 violation.

for stdin showing "no logical assignment of stdin"
Peter_C
Rhodochrosite | Level 12
If you license the SAS/AF product or the simpler SAS/FSP product, look into those alternatives.
If neither are available then look in SAS help and documentation at statements WINDOW and DISPLAY in a data step, or with % prefix for use in the macro environment.

good luck

PeterC
Cynthia_sas
SAS Super FREQ
Hi:
In a previous life, as a mainframe programmer, we used to use TSO CLISTS or REXX EXECS to prompt users for run time information on the mainframe. Sadly, that was a LONG time ago and I no longer have access to any of those examples, but I'm sure that someone at your mainframe shop will have heard of CLISTS or REXX -- almost every mainframe shop uses them.
http://publib.boulder.ibm.com/infocenter/zos/basics/index.jsp?topic=/com.ibm.zos.zconcepts/zconc_tso...
http://publib.boulder.ibm.com/infocenter/zos/basics/index.jsp?topic=/com.ibm.zos.zappldev/zappldev_7...
http://publib.boulder.ibm.com/infocenter/zos/basics/index.jsp?topic=/com.ibm.zos.zappldev/zappldev_8...

cynthia

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
  • 4 replies
  • 961 views
  • 0 likes
  • 4 in conversation