BookmarkSubscribeRSS Feed
sundeep23
Obsidian | Level 7


Hi all,

            I am new to SAS Grid . I am trying to test SASGSUb where  I noticed all my logs are automatically created at a default location .So is there a way that I can create a log with my own name and timestamp attached using GSUb commands. Please let me know.

Thanks,

Sundeep.

1 REPLY 1
bdoug
Obsidian | Level 7

Yes you can.

 

sasgsub -gridsubmitpgm yourprogram.sas -gridsasopts "-altlog c:\adir\bdir\yourprogram.log"

 

Try to avoid directories or file names with spaces.  Getting the quoting right for dealing with spaces is not fun!

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1691 views
  • 0 likes
  • 2 in conversation