Subject: | |
From: | |
Reply To: | |
Date: | Thu, 29 Jul 2004 09:22:45 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hello
Did you terminate the strings used in item numbers 9 and 14
with a carriage return character (0xd) ?
HTH
Johan
----- Original Message -----
From: "Walt Fles" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, 28 July, 2004 16:57
Subject: [HP3000-L] Create Process status code 19
> List,
> Im writing an application that I want to re-direct the output to a
> file. I do a create process as follows:
> cmdline = (command i want to execute );
> itemnums[0] = 11;
> items[0] = (command arguments );
>
> itemnum[1] = 12;
> items[1] = strlen(command arguments );
>
> itemnum[2] = 9;
> items[2] = (file to redirect output to );
>
> itemnums[3] = 14
> items[3] = (file to redirect output to );
>
> itemnums[4] = 0;
> items[4] = 0;
>
> CREATEPROCESS( &createstatus, &jobpin, cmdline, itemnums, items );
>
> after I check createstatus and I get a 19, which according to the
> intrinsics reference manual means:
> "PROCESS NOT CREATED; specified $STDLIT could not be opened".
>
> Am I to create the file for $STDLIST list first, or will it dynamlically
> create the file, or how does this work?
> Any ideas/examples on how to get this to work?
> TIA!
>
> Walt Fles
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|