BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am trying to run the sample sas code in JCL to check if it runs , but after executing it just says "SAS job executed" but dont see the log and code that got executed.
I am pasting the Code here for your reference please let me know, if there is any thing missing.

//SASJOB JOB UP20
//TESTSAS EXEC SAS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
proc setinit;
run;
//

Thanks you for your earliest attention.

Regards,
Kenny G
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
First, you have no MSGCLASS= keyword on your JOB statement, so it is undetermined where your entire job-output is being directed, possibly it is "purged" immediately after execution? You will need to identify a MSGCLASS= value (alphanumeric) to assign so you can inspect your output "online".

Also, unless our SAS site has made CONFIG changes, the SYSPRINT DD will not receive the SAS log output. You should inspect your SAS JCL PROC for a DD named SASLOG. A SYSOUT= keyword is normally coded there -- you will need to verify that this parameter has a value assigned so you can inspect your job output "online".

Suggest you seek guidance/assistance from someone familiar with running batch jobs and using an output viewing facility at your IBM mainframe site.

Scott Barry
SBBWorks, Inc.

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