BookmarkSubscribeRSS Feed
vikassmishra
Calcite | Level 5

Hi,

 

    I am trying to submit a program through command line using sasgsub command but do not have any experience on the same.

 

command to submit jobs (This command is working fine)

/opt/sas/sasbin/SASFoundation/9.4/sas -config /opt/sas/sasbin/SASFoundation/9.4/sasv9.cfg -config /opt/sas/sasbin/SASFoundation/9.4/nls/en/sasv9.cfg -config /db/devt/exploracao/configs/sasv94.cfg -config /db/devt/exploracao/configs/sasv94.cfg -autoexec /db/devt/exploracao/autoexec/vikas.ambiente.sas -sysin /db/devt/exploracao/pgms/vikas.sas -sysparm _VAZIO_ -log /logs/devt/vikas._VAZIO_.VIKAS.d.log -print /logs/devt/vikas._VAZIO_.VIKAS.d.lst

 

Command to submit in grid environment (throwing errors)

/opt/sas/sascfg/grid/Lev5/Applications/SASGridManagerClientUtility/9.4/sasgsub -GRIDCONFIG /db/devt/exploracao/configs/sasgsub.cfg -GRIDRUNCMD "/opt/sas/sasbin/SASFoundation/9.4/sas -config /opt/sas/sasbin/SASFoundation/9.4/sasv9.cfg -config /opt/sas/sasbin/SASFoundation/9.4/nls/en/sasv9.cfg -config /db/devt/exploracao/configs/sasv94.cfg -config /db/devt/exploracao/configs/sasv94.cfg -autoexec c -sysin /db/devt/exploracao/pgms/vikas.sas -sysparm _VAZIO_ -log /logs/devt/vikas._VAZIO_.VIKAS.d.log -print /logs/devt/vikas._VAZIO_.VIKAS.d.lst 1>/logs/devt/vikas._VAZIO_.VIKAS.d.out 2>/logs/devt/vikas._VAZIO_.VIKAS.d.err" -GRIDJOBNAME vikas -GRIDOPTSET SASGSUB_DVT_Jobs -GRIDWAITRESULTS

 

3 REPLIES 3
jimbarbour
Meteorite | Level 14

What errors is it throwing?  Can you paste the messages into a reply?

 

Jim

vikassmishra
Calcite | Level 5

Hi Jim,

   Below is the error when executing the command

SAS Grid Manager Client Utility Version 9.47 (build date: Aug 5 2020)
Copyright (C) 2009-2017, SAS Institute Inc., Cary, NC, USA. All Rights Reserved

Job <447438> is submitted to queue <batch_lpw6001sas02>.
Job ID: 447438
Job directory: "/opt/sas/sascfg/grid_shared_dvt/YPS0241/SASGSUB-2021-08-30_06.32.54.817_vikas"

Job log file: "/opt/sas/sascfg/grid_shared_dvt/YPS0241/SASGSUB-2021-08-30_06.32.54.817_vikas/runcmd.log"
Waiting for grid job to complete...
Grid job complete.
447438 (vikas) has Failed: Submitted: 30Aug2021:06:32:54, Started: 30Aug2021:06:32:54 on Host lpw6001sas03, Ended: 30Aug2021:06:32:56, RC:103
Moving job information to "./SASGSUB-2021-08-30_06.32.54.817_vikas"

Copying log and output to current directory.
Grid job return code is 103 (0x67)

 

   

vikassmishra
Calcite | Level 5

Hi @jimbarbour,

   Below is the error when executing the command

SAS Grid Manager Client Utility Version 9.47 (build date: Aug 5 2020)
Copyright (C) 2009-2017, SAS Institute Inc., Cary, NC, USA. All Rights Reserved

Job <447438> is submitted to queue <batch_lpw6001sas02>.
Job ID: 447438
Job directory: "/opt/sas/sascfg/grid_shared_dvt/YPS0241/SASGSUB-2021-08-30_06.32.54.817_vikas"

Job log file: "/opt/sas/sascfg/grid_shared_dvt/YPS0241/SASGSUB-2021-08-30_06.32.54.817_vikas/runcmd.log"
Waiting for grid job to complete...
Grid job complete.
447438 (vikas) has Failed: Submitted: 30Aug2021:06:32:54, Started: 30Aug2021:06:32:54 on Host lpw6001sas03, Ended: 30Aug2021:06:32:56, RC:103
Moving job information to "./SASGSUB-2021-08-30_06.32.54.817_vikas"

Copying log and output to current directory.
Grid job return code is 103 (0x67)

 

Thanks.

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 741 views
  • 0 likes
  • 2 in conversation