HP 3000 Manuals

OLSetOneScratch [ HP DeskManager Customization ] MPE/iX 5.0 Documentation


HP DeskManager Customization

OLSetOneScratch 

This identifies the location in the Work Area (specified by Index) and
copies the value from an application to that location.  If HP Desk did
not invoke the calling application, then this call is ignored.

Format 

OLSetOneScratch (Words, Index, ScratchValue, OLStatus)

Words is a 23 word array used as input by HP Desk.  It must be passed by
reference, or declared as Var in Pascal.

Pascal 

Packed Array (1..23) of WORD

Cobol 

     01 WORD ARRAY
       05 FILLER PIC S9(4) COMP
          OCCURS 23 TIMES

Index is the location in the Work Area into which the value from an
application is to be copied.  It is used as input by HP Desk and must be
passed by reference or declared as Var in Pascal.

Pascal 

-32768 to 32767

Cobol 

05 WORD PIC S9(4) COMP

ScratchValue is the value to be copied into the Work Area.  The Index 
selects the location.  It is used as input by HP Desk and must be passed
by reference or declared as Var in Pascal.

Pascal 

-32768 to 32767

Cobol 

05 WORD PIC S9(4) COMP

OLStatus is a 10 word array containing status information concerning the
successful completion or otherwise of an intrinsic call.  HP Desk sets or
modifies the value of this parameter.  Information is passed back to the
caller (this must be Var in Pascal).

Pascal 

Packed Array (1..10) of WORD

Cobol 

     01 STATUS_TYPE
       05 OLSTATUS PIC S9(4) COMP
       05 FILLER PIC S9(4) COMP
          OCCURS 9 TIMES



MPE/iX 5.0 Documentation