| RTP Series - RTP49 |
| VERBatim - V18 |
| QTIPS - Amending non-Attached Files |
| Set_Attach_Sub and Attach images |
| SecureUser |
| VERBatim - V25 |
| @ATTACK - @Files.System |
| Advanced Revelation Initialisation Sequence (Overview) by Mike Pope |
| REVMEDIA Revisted |
| QTIPS - Command Line Options |
| QTIPS - Invalid Code and Command |
| QTIPS - Code/Command Help |
| Utility Diskette # 4 |
| QTIPS - AREV Logon |
| What Happens At Logon |
| QTIPS - Undocumented Logon Options |
| QTIPS - Video Characteristics for Logon Messages |
| QTIPS - Using @Upper.Case and @Lower.Case with Foreign Languages |
| @ATTACK - @Lower.Case |
| @ATTACK - @Upper.Case |
| Sorting out Collation Sequences by Mike Pope |
| Network Contention |
| Index Sub Revisited |
| Rebuilding Indexes |
| Utility Diskette # 3 - Part I |
| Utility Diskette # 4 |
| RTP Series - RTP57 |
| File Variables |
| Reader's Clinic - Volume Pointer Record |
| REVMEDIA Revisted |
| Utility Diskette # 4 |
| Background Processing |
| Creating Your Own Background Processes |
| @ATTACK - @Index.Time |
| How Indexes Are Updated |
RevMedia FKB
| Document | V4I10A10 |
| Title | Set_Attach_Sub and Attach images |
| Keywords | SET_ATTACH ATTACH IMAGE SET_ATTACH_SUB SYSENV |
| Text | WITH the advent of 3 0 the pioneering work FROM Steve Thomas (with the saving and restoring of attach images to permit rapid logon) was incorporated in the main product The new Verb SETATTACH permitted developers to take a snapshot of the system and store it in the SYSENV table with a row id of SnapshotName*Account The syntax of the command is simply SETATTACH AttachImageName RebuildVocItem where AttachImageName is the name of the attach image to create (minus the *Account) and RebuildVocItem is the name of a VOC entry which will be run if the attach image has changed since last logon Such a voc entry might be something like this EXAMPLE (called in this case RedoImage) TCL ATTACH IQRA\PROGS ATTACH IQRA\DATA SETATTACH IMAGENAME REDOIMAGE (O) So when the system attaches the image it will compare the checksum on file to a newly generated checksum and if the two differ it will invoke the TCL batch command William Earl asked recently on COMPUSERVE "What is the structure of the attach image created by Set_Attach_Sub (as documented in the R/Basic reference manual of Version 3 0)?" William wanted to be able to generate the image himself on the fly so that MFSs etc could be added and removed easily As previously mentioned the attach image is stored in the SysEnv table as ImageName*Account where Account is the CURRENT account name Within the row the first 8 fields are clearly DEFINED the rest of the fields up to field 19 are blank and field 20 onwards has the structure of multiple repeating fields dependent upon the TABLES attached The structure is as follows < 1 > Always seems to contain the literal ATTACH_IMAGE < 2 > The name of the VOC entry to be used to rebuild the image if the system detects a change in the MEDIA maps since the image was last built < 3 > A multivalued list of the BFSs used by this attached image < 4 > A multivalued list of the volume NAMES used by this attached image < 5 > A multivalued list corresponding to < 4 > of the BFSs used by the volumes < 6 > A multivalued list corresponding to < 4 > of the DOS file locations of the volumes < 7 > A multivalued list corresponding to < 4 > of the Control file locations of the volumes < 8 > A multivalued list corresponding to < 4 > which contains the checksum indicator used to see whether the image has changed since last build and thus needs REBUILDING This number seems to be in some way related to the REVMEDIA files and is thus not generated for non linear hash filing SYSTEMS A potential application for the Omniscript stub in BFSs perhaps? < 9 19> Unused < 20 et seq> Section 1 Field mark delimited set of table NAMES attached terminated WITH Char(0) Note that these are the NAMES by which the TABLES are known in this account ie if they are aliased these are the alias NAMES not the original NAMES Section 2 Field mark delimited set of volumes TABLES in Section 1 are on Terminated WITH Char(0) Section 3 Field mark delimited set of original table names attached terminated WITH Char(0) Note that this differs from section 1 in that it is the original NAMES not the aliased NAMES Section 4 Field mark delimited set of ACCOUNTS that the TABLES in Section 1 reside in Terminated WITH a Char(0) Section 5 Field mark delimited set of Mfs/Bfs chains attached to each table in Station 1 Terminated WITH a Char(0) Section 6 Field mark delimited set of Volumes attached Terminated WITH two Char(0)s Section 7 Field mark delimited set of Dos paths for the Volumes in Section 6 if appropriate Terminated WITH a Char(0) Section 8 Field mark delimited set of TABLES on the Volumes in Section 6 The individual TABLES are value mark delimited Terminated WITH a Char(0) Section 9 Field mark delimited set of BFSs ASSOCIATED with the Volumes in Section 6 (Volume 4 Issue 10 Pages 9 10) |
Page last modified: 31/01/03