I thought that the exec call which is being invoked by the ishell only supports program objects or REXX execs.
I think that there are other options that will invoke the shell to run the command, such as "Run a shell command" from the "Tools" menu. I suspect that "run method direct" causes exec to be used. Bill On Thu, 19 Feb 2009 15:52:58 -0600, John McKown <[email protected]> wrote: >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 [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

