HP 3000 Manuals

Running Disc Manager from HP DeskManager [ HP Resource Sharing for MPE/iX ] MPE/iX 5.0 Documentation


HP Resource Sharing for MPE/iX

Running Disc Manager from HP DeskManager 

You can use script files to access DISCMGR from HP DeskManager.  These
scripts can be used to transfer desk items to or from a shared disc.  You
must have Script capability in HP DeskManager to use this feature.  You
must have an AUTOCONN file set up for automatic connections when
accessing DISCMGR.

Refer to the HP Desk Manager:  Programmatic Integration and Customization 
manual to learn more about setting up script files.

The following script shows how to copy a shared disc DOS file to HP
DeskManager:

     &echo 1
     &forward good <parmpres 1>
     &forward syntax
     $good
     &print **************************************
     &print * Copying from: <parm 1> to MPE file *
     &print **************************************
     :discmgr.ppc.sys;info=<quote dostompe <parm 1> to <parm 2>;replace>
     &print **************************************
     &print * Copying from MPE file to HPDesk    *
     &print **************************************
     &import (<parm 2>)
     :purge <parm 2>
     &exit
     $syntax
     &print Usage: FROMSHARE dosfilename
     &exit

            

The following script shows how to copy an item from HP DeskManager to a
shared disc DOS file:

     &echo 0
     &forward good <and <parmpres 1> <parmpres 2>>
     &forward syntax
     $good
     &forward nopurge <not <exists (holder)>>
     :purge holder
     $nopurge
     &print ****************************************************
     &print * Copying item: (<parm 1>) to a temporary MPE file *
     &print ****************************************************
     copy <parm 1> to (holder)
     &print **********************************************************
     &print * Run DISCMGR to copy MPE file to shared disc (<parm 2>) *
     &print **********************************************************
     :discmgr.ppc.sys;info=<quote mpetodos holder to <parm 2>;replace>
     :purge holder
     &exit
     $syntax
     &print Usage: TOSHARE item dosfilename
     &exit

            



MPE/iX 5.0 Documentation