Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Operating system name in SAS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Tue May 03, 2011 3:01 pm    Post subject: Operating system name in SAS
Reply with quote

Hello,

I have a common SAS program which runs in many LPARS and maybe sometimes on PC.
Is it possible to get the name of the operating system using SAS into some variable or dataset, so the OS name could be populated on the title of the report. If yes could you please let me know how to proceed.

Thanks in advance,
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Tue May 03, 2011 3:30 pm    Post subject:
Reply with quote

Code:
%put &sysscpl;
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Tue May 03, 2011 3:30 pm    Post subject:
Reply with quote

And also for no apparent reason my posts count keeps decreasing day by day, I was excited to become 'active member' two days back when I had 496 posts, and after I made 2 posts here http://www.ibmmainframes.com/viewtopic.php?t=54348&highlight=, it reduced to 494 & now when I was posting this it was 491. :S
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue May 03, 2011 3:31 pm    Post subject:
Reply with quote

Take a look at SYSSCP and SYSSCPL
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue May 03, 2011 3:32 pm    Post subject:
Reply with quote

Aaaah, quick fingers Sample beats me to it again icon_cry.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Tue May 03, 2011 3:32 pm    Post subject:
Reply with quote

Code:
%put &sysscpl;

Thanks Robert this worked.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Tue May 03, 2011 3:41 pm    Post subject:
Reply with quote

Glad to hear it worked! And wait until I get this cup of coffee in me -- THEN my fingers will fly! icon_biggrin.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue May 03, 2011 3:55 pm    Post subject: Reply to: Operating system name in SAS
Reply with quote

once in a while the moderators do some cleaning of very old topics
I just cleaned up some 2007 posts, probably/rather most certainly a couple of Yours were deleted !
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Tue May 03, 2011 3:59 pm    Post subject:
Reply with quote

Enrico & Expat,
Thanks for clarifying the situation. That explains things.

Regards,
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed May 04, 2011 5:28 pm    Post subject:
Reply with quote

vasanthz wrote:
And also for no apparent reason my posts count keeps decreasing day by day, I was excited to become 'active member' two days back when I had 496 posts, and after I made 2 posts here http://www.ibmmainframes.com/viewtopic.php?t=54348&highlight=, it reduced to 494 & now when I was posting this it was 491. :S
You've 497 of them now but showing up as "Active" icon_confused.gif.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Wed May 04, 2011 6:28 pm    Post subject:
Reply with quote

@Anuj
ya as you may already aware, 500 or more = active member, currently im 'active user'.
Something I consider on the positive sense, is like getting promoted from software trainee to a software engineer. icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Get system time in micro second or cl... lind sh CICS 11 Mon Sep 05, 2016 11:14 pm
No new posts Add system date inside of a PS file a... pramitdas DFSORT/ICETOOL 5 Sun Aug 28, 2016 12:06 am
No new posts System availability in CICS Robert Sample CICS 10 Sat Jun 04, 2016 4:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us