H From:	MERC::"uunet!CRVAX.SRI.COM!RELAY-INFO-VAX" 20-APR-1993 08:03:25.34 To:	Info-VAX@KL.SRI.COM  CC:	' Subj:	Re: Issuing SUBMIT from a program   C In article <1993Apr19.171300.71@cesi.it>, meregalli@cesi.it writes: 7 > How to submit batch jobs from a FORTRAN or C program?  >  > I know two ways: >  > 1) using sys$sndjbc  > 2) spawning a "submit" > F > For various reasons I would prefer some other way (IF there is one!)  N Those are the only two supported ways that I know of.  What I've done, though,O is to write jacket routine around SNDJBC that allows you to simplify the call.  M Basically, you call the routine with the same arguments as you would a normal K submit command and it will build the item list for you.  Note that you must D have access to a CLI to make this work (ie. be careful with detached processes).   J I haven't run this in several years but I see no reason why it still won'tM work. Some qualifiers may need to be updated or added but it's a good start.  3 At the time I wrote it, it did what I needed to do.   I The sources will be posted to vmsnet.sources.  Since I no longer have any L reason to run this stuff, I will not accept any problem reports on it.  What7 you see is what you get.  I'll accept thanks though :-)    --  I Ed Wilts, BC Systems, 4000 Seymour Place, Victoria, B.C., Canada, V8X 4S8 I EWilts@Galaxy.Gov.BC.CA     Office:  (604) 389-3430   Fax: (604) 389-3412   