I execute the shell as next:

 

1) In TSO SDSF session, exec the command "TSO ISH" 

2) Then i select the folder where the shell is located.

3) Once inside, put an X to execute it.

4) It open a screen with the METHOD options, I select #1 (Direct)

 

Then, appears the error.

 

 

The purpose of the shell is to read a configuration file (XML) of locations 
definitions, then the script generates a XML output files for a product that 
needs these locations.

 

 

 

Thanks.

 

 


 
> Date: Thu, 19 Feb 2009 15:52:58 -0600
> From: joa...@swbell.net
> Subject: Re: Error trying execute a shell on z/OS
> To: IBM-MAIN@bama.ua.edu
> 
> Carlos,
> 
> From looking at Mark's post, I have a few questions:
> 
> 1) is the file you're trying to run marked with the eXecutable bit in the
> directory. Be sure that when you check, you check the proper one (ie, the
> "owner" and the "group" and the "other" section of the attributes).
> 
> 2) If it is executable, can you BROWSE it in ISHELL? If so, does it look
> like readable text or "a bunch of binary junk".
> 
> 3) if it is text, does the first line start with something like:
> 
> #!/bin/sh
> 
> The important part is the "#!" which is a "magic" which tell UNIX to run the
> rest of the line as a UNIX command. Also, make sure that what is after the
> "#!" is valid as a UNIX executable program (not another shell script).
> 
> 4) if it is "binary junk", does the first line when you browse it start with:
> 
> IEWPLMH
> 
> That is what tells UNIX that this is a binary (compiled) program.
> 
> --
> John
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html

_________________________________________________________________
P.D. Live Search tiene una sorpresa buenísima, chécala aquí.
http://www.ganabuscando.com/Default.aspx
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to