HP3000-L Archives

July 2004, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Walt Fles <[log in to unmask]>
Reply To:
Walt Fles <[log in to unmask]>
Date:
Wed, 28 Jul 2004 09:57:41 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
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 *

ATOM RSS1 RSS2