can anyone tell me the Mpe equivalent of vms command @srript.com.

Ole Hansen, ScanConsult oh@scanconsult.dk
Tue, 18 Jan 2005 16:45:18 +0100


Hi Brian,

You are right, the stream command starts a separate process, and the 'run
command' syntax is what you want.

Here is a slightly edited listing of a designer procedure which we use to
have the report print while the screen waits for it to complete. 

RRJO000M er is defined in the dictionary as Organization Direct and contains
only one element, RRS-JOBLINE Char*72.

Please note the use of CMDLINE/RUN COMMAND to set up a file equation. If you
need to set up several environment variables prior to running the report,
use RRJO000M to assemble a command file and do a RUN COMMAND RRJO000M etc.

procedure designer PRTList
  begin
    close rrjo000m
    run command "purge rrjo000m,temp" nowarn
    run command "build rrjo000m;rec=-72,,f,ascii;disc=3;temp"
    let rrs-jobline = '<first parameter>'
    put rrjo000m reset
    let rrs-jobline = '<second parameter>'
    put rrjo000m reset
    let rrs-jobline = '<third parameter>'
    put rrjo000m reset
    close rrjo000m
    let cmdline = "file phprint;dev=317,7,1;cctl;spsave"
    run command cmdline nowarn on error continue
    inform = "Printing list - please wait...." now
    run command 'quiz auto=quiz0015.prog < rrjo000m > wastebin' on error
terminate
  end

HTH.

Mange hilsner / With kind regards
 
Ole Hansen
 
===========================================================
E-mail: oh@scanconsult.dk         Cell Phone: +45 4040 1150
===========================================================
ScanConsult IT-Partners ApS         Voice   : +45 8738 7474
Jegstrupvej 96A                     Fax     : +45 8738 7475
DK-8361 Hasselager         Support : support@scanconsult.dk
Denmark                    Sales   :   sales@scanconsult.dk
                 http://www.scanconsult.dk                
= ParaSuite :  A Suite of Air Cargo Handling solutions    =
= ParaSafe  :  A Suite of IT-Security solutions           =
= Partners  : Hewlett-Packard, Cognos, Microsoft and more =



-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of brian_matthewsbrian
matthews
Sent: 18. januar 2005 05:26
To: powerh-l@lists.sowder.com
Subject: can anyone tell me the Mpe equivalent of vms command @srript.com.


Hi all,

can anyone tell me the Mpe equivalent of vms command @srript.com. I want to 
use 'run command' syntax from quick to first do some file processing 
followed by executing a quiz file to run immediately.

As far as I can see the stream command runs as a seperate process ( like 
spawn or submit), but I want the quick screen to wait for the command file 
to complete execution before returning quick screen processing to the user.

many thanks in advance.

Bri,

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.