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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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