Guardian Programmer's Guide

Table Of Contents
Writing a Requester Program
Guardian Programmer’s Guide 421922-014
21 - 13
Application Overview
-SET BLOCK 2048
-SET REC 240
-SET IBLOCK 2048
-SET KEYLEN 10
-SHOW
TYPE K
EXT ( 1 PAGES, 1 PAGES )
REC 240
BLOCK 2048
IBLOCK 2048
KEYLEN 10
KEYOFF 0
MAXEXTENTS 16
-CREATE \SYS.$APPLS.DATA.ORDERS
CREATED - \SYS.$APPLS.DATA.ORDERS
-EXIT
2>
You need to set up a CLASS MAP DEFINE for each of the following files:
The inventory file
The orders file
The program file for the requester
The program file for each of the servers
You can execute an obey file similar to the following to create these DEFINEs:
3> O DEFFILE
add define =ser1, class map, file $APPLS.PROGS.zser1
add define =ser2, class map, file $APPLS.PROGS.zser2
add define =ser3, class map, file $APPLS.PROGS.zser3
add define =inv^fname, class map, file $APPLS.DATA.partfile
add define =ord^fname, class map, file $APPLS.DATA.orders
4>