The "cd" has to be in lower case, "CD" is not found.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Anton Britz
Sent: Friday, July 27, 2007 11:11 AM
To: [email protected]
Subject: OSHELL RC = 32512


Hi,

When I start OMVS via TSO, I can do all the UNIX commands but if I run a

batch job with the following JCL, I get the following back :

READY                      

  OSHELL CD hwwd           

 OSHELL RC =  32512        
                           
 OSHELL Exit Status =  127 

CD: FSUM7351 not found 
                       

32512 One of the following conditions may have resulted:  

The SH keyword was specified with a program_name value for BPXBATCH and 
no program_name could be found. 
The shell exited with an exit status of 127. stdout contains a shell
message 
indicating the program was not found.  

The program_name or the shell exited with an exit status of 127.

//SETUP    EXEC PGM=IKJEFT01             
//SYSTSPRT DD SYSOUT=*                   
//SYSEXEC  DD DISP=SHR,DSN=SYS1.SBPXEXEC 
//SYSTSIN  DD *                          
  OSHELL CD hwwd                             
/*

Anton

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to