ADSM-L

PRESCHEDULECMD on OS390 unix, rc 127

2002-02-01 07:38:49
Subject: PRESCHEDULECMD on OS390 unix, rc 127
From: "MC Matt Cooper (2838)" <Matt.Cooper AT AMGREETINGS DOT COM>
Date: Fri, 1 Feb 2002 07:37:06 -0500
Hello all,
        I am trying to get a PRESCHEDULECMD script that will automount all
the users HFSs for backup.  I know there is a command for automount but I
have to update the list of users automounted  daily.  We are just getting
into this area and it is growing.   Anyway,  I execut the script
successfully from the OS390 Unix environment but when I added to the backup
as a PRESCHEDULECMD I got a RC 127.  I can not find the interpretation of
the message.  Anyone know what it is or where I should be looking it up?

From the DSMSCHED.LOG
.......
02/01/2002 00:00:08 Server Window Start:   00:00:01 on 02/01/2002

02/01/2002 00:00:08
------------------------------------------------------------
02/01/2002 00:00:08
02/01/2002 00:00:08

Executing scheduled command now.

02/01/2002 00:00:08

Executing Operating System command or script:

   /etc/amnthfs.sh

02/01/2002 00:00:09 Finished command.  Return code is:

   127

02/01/2002 00:00:09 --- SCHEDULEREC OBJECT BEGIN MVS-DAILY 02/01/2002
00:00:01

There was nothering in the DSMERROR.LOG

The DSM.SYS looks like
********************************* Top of Data *****
 SERVERNAME  MVS1CMF
   COMMmethod         TCPip
   NODENAME           AG04
   TCPPort            1500
   TCPServeraddress   192.168.100.252
   SCHEDLOGNAME       /var/tsm/dsmsched.log
   SChEDLOGRETENTION   10
   ERRORLOGNAME       /var/tsm/dsmerror.log
   ERRORLOGRETENTION  10
   PASSWORDACCESS      GENERATE
   SCHEDMODE          PROMPTED
   INCLEXCL           /etc/tsm/inclexcl.txt
   TCPWindowsize      64
   RETRYPERIOD        15
   MAXCMDRETRIES      10
   LARGECOMMBUFFERS   YES
   COMMRESTARTINTERVAL 60
   COMMRESTARTDURATION 300
   preschedulecmd '/etc/amnthfs.sh'

The script looks like..
BROWSE -- /etc/tsm/amnthfs.sh -

#!/bin/sh
cd /u/MKC$
cd /u/HPZ$
cd /u/CSB$
cd /u/RDH$
cd /u/JEJ$
cd /u/CMR$
cd /u/CD1$
<Prev in Thread] Current Thread [Next in Thread>