Home
ASM S/390 User`s Guide
Contents
1. AAA eee ECK FOR RESTART IF WO4 NORMAL RUN Y MOVE 4 TO ELSE MOV lO CALL OTASP100 USING ERROR PROCESSING IF NOT WO2 RETURN CODE 00 ETURN CODI TO ERR MSG3 R UPP CODE1 TO ERR MSG3 S MOV UPP CODE2 TO ERR MSG3 S MOV ERR MSG3 TO ERR MSG ERFORM Z900 ERROR PROCESSING MOV MOV Hef d B200 INIT NI RCHIVE PARMS SECTION TO WO2 NEAR PARMS TO WO2 SUPP CODE1 WO02 SUPP CODE2 W02 OBJECT START W02 OBJECT REC COUNT WO2 DATA LENGTH ASM for S 390 v2 5 User Manual B 3 Notes 1 Initialize NearArchive parameter block 2 NearArchive processes 3 types of output connect database calls depending on the value of the request type indicator in the database name list 4 open for normal output processing Issued prior to the first archival request during normal running 5 open for normal output processing to a new tape volume Issued to force NearArchive to write the first archival request to a new tape volume 6 open for rerun output processing Issued to connect the database during rerun processing i e after a NearArchive archival run has abnormally terminated 3 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indic
2. DATE DATE DAT DATE DATE YYYY MM DD HH MM 29 09 93 29 09 93 04 06 93 04 06 93 09 07 93 09 07 93 09 07 93 08 06 93 08 06 93 1107 01 93 20702793 20 02 93 20 02 93 20 02 93 PAGE 1 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 40 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 D B NAME EST EST EST ESI EST EST ESI EST EST EST ESI EST EST ESI ESI EST EST ESI ESI ESI EST ESI EST EST p p p p p p p KEY 123456789 123456789 123456789 123456789 123456789 123456789 123456789 143456789 143456789 323456789 323456789 323456789 323456790 323456790 323456790 323456791 323456791 323456791 323456792 323456792 323456792 323456793 323456793 323456793 INSTALLATION VERIFICATION PROCEDURE DATE
3. DISCONNECT NearArchive database Fig 5 2 Batch archival procedure 5 2 2 Recovery and Restart Should the archive process fail for any reason the job will need to be rerun from start of processing or from the last commit point if the application issues explicit NearArchive commit data requests The manner in which archival rerun processing is to be performed depends on whether the NearArchive dynamic backout facility has been enabled as described in the following section 5 2 2 1 Recovery using dynamic backout NearArchive will optionally backout all updates to a database during archival processing back to the last commit point when a disconnect without commit request has been made by the calling application This process is termed dynamic backout When dynamic backout processing is enabled NearArchive will delete all index entries for uncommitted objects and for non Volsafe tape volumes will ensure that all tape space occupied by those objects is over written during subsequent archival processing Used tape space cannot be reclaimed for Volsafe tape volumes ASM for S 390 v2 5 User Manual 5 8 If dynamic backout processing has been successfully performed after an error condition causes the calling application to issue a disconnect without commit request then no special restart considerations need be observed Objects backed out during the failed archival run may be re archived at any
4. L OTASP100 USING OTAS PARAMETER BLOCK Fig 4 2 COBOL coding for OTASP100 call ASM for S 390 v2 5 User Manual 4 6 DCL 01 OTAS PARAMETER BLOCK DCL O71 DCL O1 03 03 03 03 03 03 03 03 03 03 OTAS REQ CODE CHAR 2 OTAS RET CODE CHAR 2 OTAS SUPP CODE 1 BIN FIXE OTAS SUPP CODE 2 BIN FIXE OTAS QUERY DEF OTAS SUPP CODE 05 OTAS UPPER 05 OTAS LOWER OTAS DATABASE NAME OTAS KEY POINTER OTAS ARCHIVE DATE 05 OTAS ARCHIVE DATE 05 OTAS ARCHIVE DATE 05 OTAS ARCHIVE DATE OTAS TSQ NAME OTAS OBJECT START OTAS OBJECT REC COUNT OTAS RESERVED 1 OTAS BUFFER LENGTH OTAS BUFFER Gl N ELESE P M I O ED 31 ED 15 R 256 I Qwawwadaaa I A A A A N ED 31 N A N A TAS PARAMETER PTR POINTER TAS PARAMETER STR CHAR 3 ED OTAS PARAMETER PTR CALL OTASP100 OTAS PARAMETE R Fig 4 3 PL 1 coding for OTASP100 call 4 3 NearArchive Request Codes The following NearArchive request codes are supported via the standard application program interface Request Code 40 41 42 43 44 Function Connect to a NearArchive database for input output or input output processing batch or TSO applications only Query the primary o
5. OTASSRT1 DD DSN amp amp OTASSRT T SYSDA DISP NEW SPACE CYL a OTASSRT2 DD DSN amp amp OTASSRT T SYSDA DISP NEW SPACE CYL OTASSRT3 DD DSN amp amp OTASSRT T SYSDA DISP NE SPACE CYL a b SYSOUT DD SYSOUT The following optional EXEC parameters may be specified PRINT Specify the PRINT parameter to identify the type of report to be produced by the utility see section 7 3 5 for a description of the utility report The parameter may take one of the following values SUMMARY produce summary journal entry analysis report DETAIL product detailed journal entry analysis report If this parameter is omitted a default value of SUMMARY is used ASM for S 390 v2 5 User Manual 7 41 RESTART Specify the RESTART parameter to control utility restart processing The following parameter values may be specified NO normal utility processing is to be invoked This is the default value YES restart utility processing is to be invoked If the previous execution of the utility did not terminate successfully the utility should be rerun with a RESTART parameter value of YES The utility will not execute after a failed run unless RESTART YES is specified here For normal running the default value of NO should be used DATE Specify the DATE parameter if the utility is to be used to produce an historical
6. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa DOES NOT CONTAIN CONTROL RECORD OTS03029 RESTART REQUESTED REQUIRED RESTART FILE OTASS030 DOES NOT CONTAIN CONTROL RECORD Explanation An attempt to rerun this utility has failed because the dataset used by the utility for restart processing does not contain the necessary control record The first message format is issued when no OTASS030 over ride DD card is present in the JCL The second message format is issued when an OTASS030 DD card has been specified Action Examine the output from the previous execution of the utility and determine if possible the reason why the restart dataset does not contain the control record If no cause of the error can be identified contact your NearArchive product support representative OTS03030 RESTART REQUESTED AND REQUIRED RESTART DATASET DID NOT EXIST AT START OF JOB Explanation The utility has been restarted but the dataset used by the utility for restart processing did not exist as expected when the job started Action Examine the output from the previous execution of the utility and determine if possible the reason why the restart dataset did not exist when the utility was restarted If no cause of the error can be identified contact your NearArchive product support representative OTS03031 NORMAL PROCESSING REQUESTED BUT DATABASE IS IN UNCOMMITTED STATE RESTART REQUIRED Explanation A normal run of the database mai
7. ENT p p p p p p p p p p p p p p p p p p p p p p p p p 2 1 2 3 1 2 1 1 2 3 4 1 2 3 1 2 1 2 1 2 1 2 3 1 2 CALL AUDIT REPORT K EY 143456789 143456789 143456789 143456789 153456789 153456789 233456789 233456789 233456789 233456789 233456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 143456789 143456789 323456789 323456789 323456789 323456790 323456790 Fig A5 job OTASD215 DATE DATE DATE DAT DAT DATE DATE DATE DATE DATE DAT DAT DATE DATE DATE DATE DATE DAT DAT DATE DATE DATE DATE DATE DAT YYYY MM DD HH MM 04 06 93 09 07 93 09 07 93 09 07 93 08 06 93 08 06 93 10 01 93 20 02 93 20 02 93 20 02 93 20 02 93 3 3 31 12 1999 31 12 1999 31 12 1999 01 01 2000 01 01 2000 10 03 2002 10 03 2002 14 04 1998 14 04 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 PAGE 3 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000
8. Prior to executing the database maintenance utility the following database definition parameters should be set as required e For tape recycle processing the Recycle threshold field in the database maintenance options section of the storage level definition panel OTSN4301 or storage level amendment panel OTSN4231 should be set as required This field should be set to a percentage value in the range 1 99 which establishes the recycle threshold for a database storage level If the percentage of active objects on a tape dataset in that storage level falls below this threshold the dataset will be eligible for recycling by the database maintenance utility A threshold value of 0 the default value indicates that no recycling is to be performed for the storage level Note that this entry will not be of significance when the FORCE execution parameter is specified e Autouncat during recycle in the database maintenance options section of the storage level definition or amendment panels If set to NO the default value then recycled tapes are not automatically uncataloged by the database maintenance utility when released from the database If set to YES recycled tapes will be automatically uncataloged when released from the database This option may be used in conjunction ASM for S 390 v2 5 User Manual 7 25 with a tape management software product to automatically return released volumes to the appropriate s
9. e Dynamic load balancing This feature introduced in V2 2 via product service when enabled causes NearArchive to automatically access a designated backup copy when retrieval of an object from a primary copy has failed due to an unavailable resource tape volume or tape device e Object storage on disk This optional feature will enable objects within a NearArchive database to be stored on disk in addition to tape for a customer designated period of time Object retrievals will always be satisfied from the disk copy if it exists The disk copy will be deleted after the designated period during execution of the NearArchive object management utility Object retrievals after this time will be satisfied from the tape copy e Dynamic backout facility This feature introduce via product service for V2 2 when enabled will cause NearArchive to backout all updates to a database during batch archival processing after a close database without commit call has been issued by an application Dynamic backout will cause all primary and secondary index entries for uncommitted objects to be removed and for tape storage occupied by those objects to be released This storage will be over written during further archival activity ASM for S 390 v2 5 User Manual I 7 1 4 How to update this manual Periodically you will receive documentation updates for this manual Revised material will be indicated by a change bar in the left margin of
10. 199912 199912 199912 200001 200001 200203 200203 99804 99804 99801 99801 99801 99801 199801 99801 9980 99801 9980 9980 99801 19980 99801 9980 99801 31 31 31 01 01 10 10 14 14 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 NEARARCHIVE VERSION 2 5 REC LEN 128 RECORD AREA TEST DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA SE SE ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT p p p p p p p p p p p p p p p p p p p p p p p p 1 2 3 1 2 1 2 1 2 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 CALL AUDIT REPORT K EY EY EY 123456789 123456789 123456789 123456789 123456789 123456789 123456789 143456789 143456789 323456789 323456789 323456789 323456790 323456790 323456790 3
11. An error has occurred when loading the tape I O driver program OTASP352 Processing is terminated Check that module OTASP352 is present in the NearArchive product load library Contact your NearArchive product support representative for assistance if necessary OTS04513 CONDITION CODE xx RETURNED FROM INTERNAL SORT EXAMINE SYSOUT DATASET FOR FURTHER INFORMATION Explanation An error has occurred during internal sort processing Processing is terminated ASM for S 390 v2 5 User Manual 8 57 Action Refer to the documentation for the sort product in use on the host system for further information on the error Take the appropriate corrective action and restart the job OTS04514 ERROR OPENING SORT DATASET OTASS045 REFER TO JOBLOG FOR FURTHER INFORMATION Explanation An error has occurred when opening the sort output dataset Processing is terminated Action Refer to the job log for a description of the error Take the appropriate corrective action and restart the job OTS04515 RELOCATION ERROR ON OTASS045 DURING RESTART PROCESSING Explanation An error has occurred during a RESTART run The contents of the migration control dataset file are invalid Processing is terminated Action Determine if possible the reason why the contents of the migration control file are invalid This dataset will have the name hiq MIGCNTL where hlq is the high level qualifier defined for the database being processed Co
12. DSN STK SOTS250 F2 DD DISE EW CATLG DSN NearArchive install JCL library SPACE TRK 5 5 10 UNIT unit name VOL SER volser On completion of the above step a partitioned dataset containing JCL to be used during the remainder of the installation process will have been created 2 Edit member SMPEDEF from the installation JCL dataset unloaded in the preceding step as described within the dataset member itself This job will define and initialize the SMP E consolidated software inventory CSI dataset and create other SMP E system ASM for S 390 v2 5 User Manual 2 5 datasets and the ASM for S 390 target and distribution libraries If any of these datasets are already in existence delete them prior to running this job or amend the job to remove dataset creation or initialization processing as required After editing the member submit it Verify that all job steps complete with condition code 0 and that all datasets are created and cataloged successfully 3 Edit JCL member SMPERCYV as described within the member itself This job performs SMP E RECEIVE processing for the ASM for S 390 V2 5 function SYSMOD After editing the member submit it Verify that SMP E processing has completed with condition code 0 4 Edit JCL member SMPEAPP as described within the member itself This job performs SMP E APPLY processing for the ASM for S 390 V2 5 function SYSMOD After editing the member submit it Verify that
13. EST EST EST EST ESI EST EST ESI ESI EST ESI p p p p p p KEY 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 NEARARCHIVE VERSION 2 5 INSTALLATION VERIFICATION PROCEDURE DATE REC LEN 1 2 Fig A5 job OTASD215 RECORD AREA TEST 12345678919930929 12345678919980930 12345678919981120 12345678920000101 12345678920020310 12345678920020310 12345678920000101 12345678919981120 12345678919980930 12345678919930929 12345678919930929 12345678919980930 12345678919981120 12345678920000101 12345678920020310 12345678920020310 12345678920000101 12345678919981120 12345678919980930 12345678919930929 YYYY MM DD HH MM CALL AUDIT REPORT 12345678919980401 12345678919981020 12345678919991231 12345678920010821 12345678920010821 12345678919991231 12345678919981020 12345678919980401 12345678919980401 12345678919981020 2345678919991231 12345678920010821 2345678920010821 2345678919991231 2345678919981020 12345678919980401 PAGE 1 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 40 00 x0000 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00
14. V100 l O W02 DBNAME 3 lO W02 REQ TYPE 10 lO W02 ALLOC RETRY Ge eB CALL OTASP100 USING WO2 NEAR PARMS IF WO2 RETURN CODE 00 PERFORM DO00 PROCESS ARCHIVED DATA ELSE MOV MOV MOV MOV W99 E PERFORM Z900 C100 INIT NEARARCHIVE PARMS SECTION TURN COD I TO ERR MSG1 R PP CODE1 TO ERR MSG1 S WO2 R WO02 S AA R MSG1 TO ERR MSG RROR PROCESSING U W02 SUPP CODE2 TO ERR MSG1 S R MOV SPACES TO WO2 NEAR PARMS MOV ZEROS TO WO02 SUPP CODE1 WO02 SUPP CODE2 W02 OBJECT START W02 OBJECT REC COUNT WO2 DATA LENGTH ASM for S 390 v2 5 User Manual B 9 Notes 1 Initialize NearArchive parameter block 2 W02 REQUEST CODE 40 Connect database request This call must be issued once before retrieving data from a NearArchive database 3 W02 REQ TYPE 3 Connect database for input output processing This will enable delete requests to be issued 4 An allocation retry limit of 10 is set by this call This overrides the default value of 30 5 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have one or two supplementary codes set in fields 1 and 2 ASM for S 390 v
15. disk compression processing is being performed During rerun of the utility processing will be restarted from the last successful checkpoint There is no requirement to restore any dataset prior to rerunning the utility The database maintenance utility has built in processing to prevent normal processing by the utility of a NearArchive database after failure of the previous database maintenance procedure for that database In these circumstances a parameter of RESTART YES must be present on the job s EXEC statement Note that as the database maintenance procedure may take some time to execute depending on the number of tape cartridge volumes to be recycled or disk copy datasets to be compressed execution may be terminated by the system operator at any time by entering a STOP command see 7 1 5 in order to allow input or input output access to the database from other jobs Execution of the database maintenance procedure may subsequently be continued through normal execution of the utility using an EXEC parameter of RESTART NO or allowing this value to default Execution of the utility may also be controlled through use of the STARTSEQ and ENDSEQ execution parameters These parameters may be used to limit the number of tape volumes or disk datasets to be processed in any one execution of the utility or to control which section of a database storage level is to be recycled or compressed by the utility ASM for S 390 v2 5
16. e If the AUTOUNCAT feature has been enabled for the database being processed specified via the database administration ISPF dialogs the utility will automatically uncatalog a tape dataset when all active objects from that dataset have been successfully moved to another location in the database This feature may be used in conjunction with a tape management software product to automatically return the volume to scratch status e After a tape volume has been successfully released from the database the utility will delete all disk K copy datasets associated with the released tape dataset if any exist e During disk compression processing all disk allocation parameters defined for the storage level being processed including primary and secondary allocation values and the release space indicator will be honored A compressed disk dataset will be re created using these parameters Note that if a disk space failure system abend X37 occurs or the maximum disk blockcount is exceeded during compression processing the compressed dataset will only contain disk copy objects processed up to that point Active disk copy objects in the uncompressed dataset which have not been processed will no longer exist NearArchive will satisfy future retrieval requests for these objects from tape storage To avoid disk space problems during compression processing ensure that allocation parameters are set as required via the NearArchive data
17. 10 W0O2 DATE YYYY 10 W02 DATE MM 10 WO2 DATE DD WO02 TSQ NAME W02 OBJECT START W02 OBJECT REC COUNT W02 RESERVED W02 DATA LENGTH WO2 ARCHIVE DATA 10 WO2 DBNAME E 1 W02 DBNAME WO2 REQ TYPE W0O2 ALLOC RE WO2 OVERRIDE WO2 TAPE OVE W02 STORAGE 1 FILLER 10 FILLER Notes 1 Returned by NearArchive on call completion 2 Pointer to the primary key of object being archived 3 Archival date in format YYYYMMDD 4 Length of data record to be archived 5 Data record to be archived The maximum record length in this application is 256 bytes The length of this field should be sufficient to hold the largest record that will be written to the archive database ASM for S 390 v2 5 User Manual B 2 6 Database name list entry This 24 byte area is used during database connect processing to pass information to NearArchive about the database to be connected B 1 Batch Archival Processing B 1 1 Connect to NearArchive Database B100 CONN HARARCHIVE DATABASE PERFORM B200 INIT NEARARC E PARMS MOV MOV MOV MOV MOV MOV 40 lO W02 REQUEST CODE 1 l O W02 DATA LENGTH SPACES l O W02 DBNAME LIST LOOM lO W02 DBNAME 0 lO WO2 ALLOC RETRY 0 lO W02 STORAGE L
18. 23345678919930110 32345679619980130 32345679419980130 32345679219980130 32345679019980130 23345678919981012 PAGE 1 APPENDIX B Sample NearArchive Calls Appendix B provides examples of NearArchive calls from a COBOL application The appendix contains three sections corresponding to the following three types of NearArchive invocation 1 batch archival processing 2 batch retrieval processing 3 CICS processing Each section provides annotated examples of commonly used NearArchive requests for that type of processing COBOL is used in these examples Although there is not necessarily any connection between each individual example provided in this appendix the supplied code may be used as the basis for customer development of a NearArchive application ASM for S 390 v2 5 User Manual B 1 NearArchive parameter interface definition The following working storage area is used in each of the sample calls to hold the NearArchive parameter interface KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KK W02 NEARARCHIVE PARAMETER BLOCK KKEKKKKKKKKKKKKKKKKKKKKKKKKKKKK KKK KKK KKKKKKKKKKKKKKKKKKKKKKKKKKKK 01 W0O2 NEAR PARMS 05 W0O2 REQUEST CODE PIC X 2 05 W02 RETURN CODE PIC X 2 05 W02 SUPP CODE1 PIC S9 4 COMP 05 W02 SUPP CODE2 PIC S9 4 COMP 05 W02 QUERY REDEFINES W02 SUPP CODE2 10 W02 UPPE PIC X 10 W02 LOWE W02 DATABASE NAME W02 KEY POINTER WO2 ARCHIVE DATE
19. Bbbbbb_ the tape volume serial number ccecce cccce the action taken This may contain the following values OLD BACKUP DATASET UNCATALOGED OLD DUPLEX DATASET UNCATALOGED NEW BACKUP DATASET CATALOGED NEW DUPLEX DATASET CATALOGED Action No action necessary OTS11019 TAPE DATASET SPECIFIED IN OTASBKUP IS NOT A PRIMARY COPY TAPE DSN xxxxxxxxXxXXXXXXXXXXXXXXxx Explanation A tape dataset name specified in the optional OTASBKUP dataset is not that of a primary tape dataset ASM for S 390 v2 5 User Manual 8 77 copy for the NearArchive database being processed The invalid entry will be ignored for backup processing Action Check that the entry specified in the OTASBKUP dataset specifies a valid primary copy dataset name Refer to section 4 7 for a description of NearArchive tape dataset naming conventions Rerun the utility in order to backup the specified primary dataset copy OTS11020 OTASBKUP DATASET IS EMPTY Explanation This is a warning message indicating that the optional input control dataset OTASBKUP is empty No tape datasets will be backed up Action Verify that no tape datasets were created or updated during the preceding NearArchive batch archival procedure OTS11021 UNABLE TO READ SLC FOR STORLVL aaa GETSLC RETURN CODE X xx GETSLC FEEDBACK X yyyyyyyy Explanation An error has occurred when reading the storage level control record from the NearArch
20. NearArchive use during product installation HLQ for this database OTAS V2R5 IVP any other high level qualifier may be used as required Audit trail on Y N If an audit trail is required during IVP processing specify Y otherwise specify N default If Y is selected all updates to the NearArchive database are recorded in the database journal dataset These may subsequently be processed by the NearArchive journal maintenance utility OTASP070 Press ENTER when completed Panel OTSN4301 will be displayed when all entries have been accepted ASM for S 390 v2 5 User Manual A3 e On panel OTSN4301 specify the storage level 0 definition details default options will be taken for unspecified fields Database Blocksize 1024 Maximum blockcount per volume 10 Unit name for scratch allocn specify the unit name to be used when allocating scratch cartridges during batch archival Press ENTER when completed Panel OTSN4302 will be displayed when all entries have been validated successfully e On panel OTSN4302 specify the AMS parameters for the primary index dataset default options will be taken for unspecified fields Volume serial number serial number of disk volume on which primary index and space management files are to be resident leave blank if this is to be system controlled Unit of allocation CYL Primary allocation value 1 Secondary allocation value 1 Press ENTER when completed After all fields have been
21. Primary key pointer ASM for S 390 v2 5 User Manual contain a 2 character numeric value on return from NearArchive indicating the result of the call Refer to chapter 8 of the manual for a description of all possible return codes On entry identifies the type of read request as follows 0 direct read For direct reads the primary key and archive date of the NearArchive object to be retrieved are supplied by the application in the appropriate parameter fields 1 sequential read For sequential reads the next record is retrieved from the database in ascending physical sequence The primary key and archive date of the NearArchive object to which the retrieved record belongs is returned by NearArchive in the corresponding parameter fields A sequential read request will always be satisfied from tape even if disk copy processing has been enabled for the database This field may contain a value on return giving additional information after an exception condition Must be set to 0 on entry to NearArchive On return may contain additional information after an exception condition Name of database to be accessed This should be equal to the database name specified or defaulted in the corresponding connect database request A default value of V100 is used if this field contains spaces or low values Pointer to the field containing the primary key of the NearArchive object to be accessed 4 24 ASM
22. SYSPRINT DD SYSOUT ASM for S 390 v2 5 User Manual TI The following optional EXEC parameters may be specified COPYFULL This optional parameter is used to control which full volume backup copy is used during recovery processing for all primary datasets being recovered during execution of the utility The following operands may be specified B The utility is to use a primary backup B copy dataset C The utility is to use a duplex C copy dataset D The utility is to use a duplex backup D copy dataset If this parameter is omitted the utility will use the copy identifier associated with the recovery control entry containing the dataset being recovered This is the default process COPYINC This optional parameter is used to control which incremental backup copies are used during recovery processing for all primary datasets being recovered during execution of the utility The following operands may be specified I The primary incremental backup I copy should be used for recovery processing J The duplex incremental backup J copy should be used for recovery processing If this parameter is omitted the utility will use the primary incremental backup I copy LEVEL Specify the LEVEL parameter to identify the database storage level to be processed by the utility The parameter value n may take one of the following values n process storage level n only AL
23. User Manual B 7 B 1 5 Disconnect Database DISCONNECT NEARARCHIVE DATABASE PERFORM B200 INIT NEARARC E PARMS MOVE 49 l O W02 REQUEST CODE MOVE V100 lO W02 DATABASE NAME CALL OTASP100 USING W02 NEAR PARMS IF NOT W02 RETURN CODE 00 MOVE W02 RETURN CODE TO RR MSG4 R RR MSG4 S RR MSG4 S RR MSG MOVE WO2 SUPP CODE1 TO MOVE W02 SUPP CODE2 TO MOVE W99 ERR MSG4 TO PERFORM Z900 ERROR PROCESSING C es Bs E Notes 1 Initialize NearArchive parameter block see B 1 1 2 A request code of 49 is required in the parameter block for a database disconnect call Supplementary codes 1 and 2 may optionally be used to specify close options for the tape dataset and commit options to be implemented during disconnect processing 3 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have additional error information in the supplementary code fields 1 and 2 ASM for S 390 v2 5 User Manual B 8 B 2 Batch Retrieval Processing B 2 1 Connect Database CALL NEARARCHIVE TO CONNECT DATABAS PERFORM C100 INIT NEARARCHIVE PARMS MOV MOV MOV MOV MOV MOV 40 lO W02 REQUEST CODE 1 l O W02 DATA LENGTH SPACES lO W02 DBNAME LIST
24. Z 4 ZSZ ZZTZ o eA o TO 2 VAs S A S A S A S A where old sl0 space mgmt filename can be any unique dataset name and hlq is the high level qualifier defined for the database being regressed as defined during initial NearArchive database definition If storage level 1 has also been defined for the database being regressed then the file should also contain the following AMS parameters E old sll space mgmt filename q SPACEML1 h NEWNAME old sll space mgmt filename hlq SM1 DATA N h N EWNAME old sll space mgmt filename DATA lq SM1 IX EWNAME old sll space mgmt filename 1IX ASM for S 390 v2 5 User Manual C 4 ENL1 lq SPACEML1 ENL1 DATA lq SPACEML1 DATA migcntl filename GCNTL ld migcntl filename MIGCNTLY TL DATA ld migcntl filename MIGCNTLY DATA TLX lq MIGCNT TLX DATA lq MIGCN1 Z B AD e o E O E a E a O lt O ees bl NE hl NE bl NE hl NE where old sll space mgmt filename and old migcntl filename can be any unique dataset names and hlq is the high level qualifier defined for the database being regressed as defined above SYSPRINT The destination
25. a 3 a 3 p D B ESI ESI EST EST ESI ESI EST EST EST EST EST EST EST EST ESI ESI EST EST ESI ESI ESI EST ESI EST EST p p p p p p p KEY 143456789 143456789 143456789 143456789 153456789 153456789 233456789 233456789 233456789 233456789 233456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 143456789 143456789 323456789 323456789 323456789 323456790 323456790 INSTALLATION VERIFICATION PROCEDURE DATE 9930604 9930709 19930709 9930709 9930608 9930608 9930110 9930220 19930220 9930220 9930220 9991231 9991231 9991231 20000101 20000101 20020310 20020310 9980414 9980414 9980130 19980130 9980130 9980130 9980130 NEARARCHIVE VERSION 2 5 REC LEN 128 RECORD AREA DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA SE SE ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT
26. bbbb bbbb is a description of the record being accessed cecccccc is the file name dddd dddd is the dataset name Processing is terminated Action Refer to IBM documentation for details of the VSAM return and reason codes Take the appropriate corrective action and restart the job OTS04507 INSUFFICIENT STORAGE FOR WORKAREAS Explanation A request for virtual storage in the job s private area has been denied by the operating system ASM for S 390 v2 5 User Manual 8 56 Action Increase the REGION size allocated for the job or jobstep and resubmit the job OTS04509 ERROR X xxxx INFO X yyyy DYNAMICALLY ALLOCATING DATASET aaaaaaaaaaaaaaaaaaaa Explanation Action A dynamic allocation error has occurred during allocation of the identified dataset Processing is terminated Refer to IBM documentation on SVC99 processing for a description of the error and information codes Take the appropriate corrective action and restart the job OTS04510 NORMAL RUN REQUESTED BUT PREVIOUS RUN TERMINATED ABNORMALLY Explanation Action A previous attempt to run this utility has failed abnormally but RESTART YES has not been specified for this run Examine the output from the previous run to determine the cause of failure Take the appropriate corrective action and restart the job with RESTART YES specified on the EXEC statement OTS04512 ERROR LOADING PROGRAM OTASP352 Explanation Action
27. processing may be used to dynamically add NearArchive libraries to the required ISPF library allocations on invocation of the NearArchive database administration function However the NearArchive product load library must be defined in the ISPLOAD or ISPLLIB concatenation as described above as the LIBDEF facility does not support dynamic loading of program modules as performed by the NearArchive database administration process ASM for S 390 v2 5 User Manual 2 9 2 5 Perform ISPF menu changes In order to allow access to the NearArchive database administration dialogs in TSO ISPF an option should be added to the ISPF menu from which entry is to be granted The PROC section of the panel definition for this menu should be amended as shown in the example below EL TRANS TRUNC amp ZCMD RRR RR KR RK KKK RK OK KK KK KK KK KK Existing applications here A RR KR RK KKK KKK KK KR KK KK KK OK KKK NA PGM OTASP400 where NA is the option chosen here for invoking the NearArchive database administration panels 2 6 NearArchive database definition Before accessing a NearArchive database for the first time by creating archived data it is necessary to create and initialize the database A NearArchive database can consist of the following components e Tape datasets Data is stored in a NearArchive database in a series of single volume sequential tape datasets A NearArchive database may c
28. x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 D B KEY 123456789 123456789 143456789 143456789 143456789 143456789 143456789 153456789 153456789 233456789 233456789 233456789 233456789 233456789 INSTALLATION VERIFICATION PROCEDURE DATE 930929 930929 930604 930604 930709 930709 930709 930608 930608 930110 930220 930220 930220 930220 NEARARCHIVE VERSION 2 5 REC LEN 16448 RECORD AREA DAT DAT DAT SEC50 DAT DAT SEC50 DAT DAT DAT SEC50 DAT DAT TA SE TA SE TA SE TA SE TA SE TA SE TA SE TA SE TA SE TA SE SEC50 01 DAT SEC50 DAT DAT DAT TA SE A SE TA SE TA SE ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT p p p p p p p n p p p p p p 1 2 1 2 1 2 3 1 2 1 1 2 3 4 CALL AUDIT REPORT KEY KEY KEY 123456789 123456789 143456789 143456789 143456789 143456789 143456789 153456789 153456789 233456789 233456789 233456789 233456789 233456789 Fig A2 job OTASD212 DATE DATE DATE DATE DATE DATE DATE DAT DATE
29. x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 3 3 R q E 3 a q 3 3 a 3 3 q EST EST EST ESI EST EST EST ESI EST EST ESI ESI EST EST ESI EST EST ESI EST EST ESI ESI D B p p p p p p KEY 123456789 123456789 123456789 123456789 123456789 133456789 223456789 223456789 233456789 233456789 123456789 143456789 143456789 153456789 233456789 233456789 123456789 123456789 123456789 323456790 323456797 INSTALLATION VERIFICATION PROCEDURE DATE 19980401 20010821 19980930 19981020 19981120 9980526 9980605 19980708 9981012 9980811 19930929 19930604 9930709 19930608 9930110 9930220 9991231 20000101 20020310 19980130 19980130 NEARARCHIVE VERSION 2 5 REC LEN 1 80 210 RECORD AREA TEST DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT
30. 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 01 04 1998 PAGE 4 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 40 00 x0000 42 00 x0000 47 00 x0000 42 31 x0001 49 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 D B NAME TEST TEST TEST TEST 223456789 223456789 223456789 DATE 19980708 19980708 19980708 N INSTALLATION VERIFICATION PROCEDURE REC LEN 1 128 226 226 EARARCHIVE VERSION 2 5 RECORD AREA TEST DATA SEGMENT 1 KEY 223456789 Fig A5 job OTASD215 CALL AUDIT REPORT DATE YYYY MM DD HH MM PAGE 1 08 07 1998 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 40 00 x0000 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0000 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0000 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0000 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0000 49 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 D B NAME EST EST EST ESI EST EST EST EST EST EST
31. ASM for S 390 v2 5 User Manual 8 121 OTS26205 INVALID KEY HIT TRY AGAIN Explanation An invalid program function or attention key has been pressed during operator interface processing Action Retry the request using the correct key OTS26206 NO FURTHER BACKWARD SCROLLING POSSIBLE Explanation A request has been made to scroll backwards through the list of queued requests on the reader task detail screen OTSN262 using the PF7 key but the first queued request is already displayed Action None The current OTSN262 screen is re displayed OTS26207 NO FURTHER FORWARD SCROLLING POSSIBLE Explanation A request has been made to scroll forwards through the list of queued request on the reader task detail screen OTSN262 using the PF8 key but the last queued request is already displayed Action None The current OTSN262 screen is re displayed OTS26208 STATUS ERROR CORRUPT REQUEST ELEMENT Explanation A control block used for NearArchive online database access is corrupt Processing of the operator interface facility cannot continue Action Disable the NearArchive control region by using NearArchive transaction OT24 Re enable the control region using transaction OT23 If this does not resolve the problem contact your NearArchive product support representative OTS26209 INVALID ENTRY TRY AGAIN Explanation An invalid task number has been entered on the reader task detail display screen OTSN
32. DEFINE TRANSACTION 0263 PROGRAM OTASP263 TASKDATALOC ANY TASKDATAKEY CICS Note the presence of the DTIMOUT parameter on the entry for OT22 This is required to prevent abnormal termination of a retrieval task by CICS while the task is waiting for access to tape data The DTIMOUT parameter should also be coded as above for all customer developed transactions which issue calls to ASM for S 390 for retrieval of data from a NearArchive database LSRpools RDO If defining a VSAM local shared resource pool LSRpool via RDO ensure that the maximum keylength specified in the LSRpool definition Maxkeylength field is set to a value which is not less than 1 length of the longest NearArchive primary key 2 and 2 the highest possible value for the combined length of the primary key the longest secondary key in any NearArchive database for which one or more secondary indexes have been defined Program List Table post initialization PLTPI OTASP235 DFHPLT TYPE ENTRY PROGRAM OTASP235 This entry should be made in the third phase of PLTPI processing i e after the DFHDELIM entry Program List Table shut down PLTSD OTASP240 DFHPLT TYPE ENTRY PROGRAM OTASP240 This entry should be made in the first phase of PLTSD processing i e before the DFHDELIM entry ASM for S 390 v2 5 User Manual 2 21 Destination Control Table DCT The system transient
33. Data retention period System dataset unitname Retain tapes on drive Age range of tapes retained on drive ASM for S 390 v2 5 User Manual Enter the length of time in years and days for which a NearArchive object is to be retained in the database Enter a value of 0 years and 0 days if objectsare to be retained indefinitely in the database i e no automatic expiry Enter a valid system unit name or esoteric to be used internally by ASM for S 390 when allocating temporary disk datasets during database administration processing Enter the number of minutes for which tape volumes in this database are to be retained on a drive during online retrieval CICS processing after all retrievals have been processed This must be a numeric value in the range 0 1439 A value of 0 the default indicates that tapes are not to be retained on a drive after use If a non zero value is specified in this field ASM for S 390 will not automatically dismount a tape volume which satisfies the age range retention criteria as specified in the following field on the panel after all outstanding retrievals to that volume have been completed The volume will instead be automatically dismounted when the tape volume has been unreferenced for the length of time specified in this field This field is used in conjunction with the preceding field on the panel to control the disposition of a tape cartridge volume after all outstanding requests for
34. ENT ENT p p p p p p p p p p 7 8 9 10 11 12 1 2 3 4 5 6 1 2 1 2 1 1 KE KE KE CALL AUDIT REPORT EY EY 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 133456789 223456789 Fig Al job OTASD211 DATE DATE DAT DAT DAT DATE DATE DATE DAT DAT DATE DATE DATE DAT DAT DATE DATE DATE YYYY MM DD HH MM 21 08 2001 21 08 2001 21 08 2001 21 08 2001 21 08 2001 21 08 2001 30 09 1998 30 09 1998 30 09 1998 30 09 1998 30 09 1998 30 09 1998 20 10 1998 20 10 1998 20 11 1998 20 11 1998 26 05 1998 05 06 1998 PAGE 2 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 44 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 46 00 x0000 49 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 q a q pA q D B ESI ESI EST EST EST EST EST EST EST EST EST EST EST p
35. ENT ENT ENT ENT ENT ENT ENT ENT p p p p p p p p p p p p p p p p p p p p p 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 CALL AUDIT REPORT 123456789 123456789 123456789 123456789 123456789 133456789 223456789 223456789 233456789 233456789 123456789 143456789 143456789 153456789 233456789 233456789 123456789 123456789 123456789 323456790 323456797 Fig A4 job OTASD214 DATE DATE DAT DAT DATE DATE DATE DATE DATE DAT DAT DATE DATE DATE DATE DATE DAT DAT DATE DATE DATE YYYY MM DD HH MM 01 04 1998 21 08 2001 30 09 1998 20 10 1998 20 11 1998 26 05 1998 05 06 1998 08 07 1998 12 10 1998 11 08 1998 29 09 93 04 06 93 09 07 93 08 06 93 L0 01793 s 20 02 93 31 12 1999 01 01 2000 10 03 2002 30 01 1998 30 01 1998 PAGE 1 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 40 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 4
36. For databases with secondary keys containing DCBS characters the first byte of supplementary code 1 should be used to establish whether a full or generic key search is to be performed See the description of the supplementary code 2 field above On exit for batch or TSO applications only this field will contain one formatted index entry for each NearArchive object which satisfies the query up to the limit specified in the preceding field in the parameter interface The data buffer field in the parameter interface area for batch and TSO applications or temporary storage queue identified in the parameter interface for CICS applications will contain one formatted entry for each NearArchive index entry which satisfies the query criteria Query responses may be in three formats compact format A extended format B and a volume serial number response C The response format is determined from the contents of supplementary code 1 A Compact format For compact queries supplementary code in the range 0 99 each entry is k 24 bytes in length where k is the primary keylength of the database and has the following format Offset Length Type Description 0 k Char Primary key of NearArchive object If a secondary index query was issued this field will contain the primary key of a NearArchive object which is indexed by the specified secondary search key k 8 Char Archive date of NearArchive object ASM for S 390
37. This dataset must not already exist It will be automatically created and initialized during database definition processing The database definition procedure will display the following panels in sequence OTSN4300 base database definition panel OTSN4301 storage level definition panel OTSN4302 Access Method Services control panel for primary index definition OTSN4303 Access Method Services control panel for journal dataset definition if audit trail facility enabled ASM for S 390 v2 5 User Manual 3 5 OTSN4304 Access Method Services control panel for journal archive database definition if journal archive facility enabled Enter the appropriate details on each panel and press ENTER to proceed to the next panel When all panel entries have been accepted the NearArchive database will be defined and initialized Panel OTSN4000 will be redisplayed after successful definition of the database Press PF3 to terminate the database definition procedure at any point NearArchive database definition will be abandoned and panel OTSN4000 re displayed The database will not have been defined Default values will be used where no entry has been made for optional fields Entries must always be made for mandatory fields The description of individual fields below will identify whether an entry is mandatory or optional Online help information for each panel may be obtained by pressing PF1 OTSN4300 NearArchive V2 5 Base
38. a above However if all drives are currently occupied with tape cartridges retrieval of data from a non mounted volume will require the mounted volume which was least recently referenced to be dismounted As this dismount processing will need to be completed before the new volume may be mounted the response time for retrieval of data for the new request will be increased Too high an incidence of this condition will have an adverse effect on general tape data retrieval performance Users should guard against an inappropriate specification of tape cartridge volumes to be retained on drive causing excessive dismount prior to mount activity In extreme cases this may lead to a very high dismount mount rate in a manner analogous to page thrashing in a constrained virtual storage environment This will cause excessive robot accessor utilization which in turn will have an adverse effect on tape retrieval response times e Improved Cartridge Recording Capability ICRC options This will allow selective use of the ICRC hardware compaction feature to increase the amount of data which may be held per tape cartridge volume or conversely to reduce the amount of storage and consequently the length of time required to locate any item of data used per tape volume to hold a given amount of data f CICS temporary storage queue housekeeping Temporary storage queues TSQs used to store recalled objects from a NearArchive database ma
39. abnormally but RESTART YES has not been specified The first message format is issued when no OTASS030 over ride DD card is present in the JCL The second message format is issued when an OTASS030 DD card has been specified Action Ensure that the RESTART parameter is correctly specified and rerun the job OTS03027 RESTART DETECTED STORAGE LEVEL xx NOT FOUND OR NOT SPECIFIED FOR RESTART Explanation An attempt to rerun this utility has failed because storage level xx is not found in the NearArchive database or an invalid storage level has been specified on the LEVEL parameter on the EXEC statement Action Examine the output and the execution parameters specified to determine the cause of failure Take the appropriate corrective action and restart the job with RESTART YES specified on the EXEC statement OTS03028 ERROR IN NOTE PROCESSING RETURN CODE X xx LAST BLOCK ID OBTAINED yyyyyyyy Explanation An error has occurred during NOTE macro processing xx is the hexadecimal return code returned from the NOTE macro yyyyyyyy is the last block ID successfully obtained Processing is terminated Action Refer to IBM system macro documentation for details of the return code Take the appropriate corrective action and restart the job If no cause of the error can be identified contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 37 OTS03029 RESTART REQUESTED REQUIRED RESTART DSN
40. archiving busy condition being raised by ASM for S 390 However allowing longer queue lengths assuming that the recall rate is sufficiently high to cause long queues will mean an increase in average response times for retrieval of data from a NearArchive database In order to avoid extended CICS response times during periods of high utilization it is advisable to limit the queue length so that users may be informed that all retrieval resources are currently busy and that they should resubmit their request at a later time d Tape cartridge volumes to be retained on drive after use Volumes containing objects whose age falls within a range specified by the database administrator for any NearArchive database will be retained on the tape drive after use Other volumes will be automatically dismounted after all outstanding requests for retrieval from those volumes have been processed In order to evaluate the benefits of this facility patterns of access for data recall should be examined and identified If a high proportion of retrievals may be satisfied by a relatively small number of tape cartridge volumes then those volumes should be retained on a drive after all outstanding retrievals have been processed Note that if patterns of access fall into this category then it is actually more beneficial to maximize the amount of data held per tape contrary ASM for S 390 v2 5 User Manual 1 17 to the situation discussed in paragraph
41. brackets A Initial installation of ASM for S 390 1 Install distribution libraries with SMP E 2 1 2 Install user SVC 2 2 1 3 Update PLPA 2 2 2 4 Update NearArchive authorization code s 2 3 5 Perform TSO logon procedure changes 2 4 6 Perform ISPF menu changes 2 5 7 Define CICS primary and secondary region table entries 2 8 4 amp 2 8 5 8 Perform CICS primary and secondary region JCL changes 2 8 6 9 Install security user exit modules if required 2 9 __ 10 Run installation verification procedures 2 10 B Upgrading from an earlier release of NearArchive When migrating from an earlier release carefully check the installation procedures to ensure that any changes to an earlier procedure are not overlooked In particular review the CICS table entry definitions specified in this chapter to ensure that any new entries required with the new release s have been correctly defined ASM for S 390 v2 5 User Manual 2 3 2 8 5 2 Install user SVC 2 2 1 3 Update PLPA 2 2 2 1 Install distribution libraries with SMP E 2 1 4 Update NearArchive authorization code s 2 3 5 Update TSO logon procedure changes 2 4 6 Update CICS primary and secondary region table entries 2 8 4 amp 7 Update CICS primary and secondary region JCL 2 8 6 8 Install security user exit modules if required 2 9 9 Migrate pre v2 5 databases 2 10 __ 10 Run installation verificati
42. containing one formatted entry for each object in the index Execution parameters can be used to restrict scanning of the primary index to a range of primary key values or to a maximum number of primary index entry records A totals report giving details of the total number of live and deleted objects in the database is produced at end of processing The index print utility is primarily intended to be used for diagnostic purposes when a problem has been detected accessing objects in the database or with general database processing The utility may also be run when a summary of the contents of a NearArchive database is required 7 1 1 Functions The index print utility performs the following functions e Sequentially processes the NearArchive primary index dataset specified in the JCL used to execute the utility A formatted print entry is created for each object index entry This may be for an active live object or for an object which has been logically deleted e The STARTKEY ENDKEY and COUNT execution parameters are used to control the start and end points of the sequential scan process e At the end of sequential processing of the index the utility will produce a report giving the total number of index entry records live objects and deleted objects processed 7 1 2 JCL Requirements The following JCL may be used to execute the NearArchive index print utility EXEC PGM OTASP010 REGION 4M T
43. database to be processed by the utility The utility will only process one NearArchive database for each execution OTAST100 The name of the tape dataset to be processed by the utility The tape dataset specified in this entry must belong to the database whose primary index is specified in the OTASV100 DD entry Unpredictable results may occur if this is not the case SYSPRINT The destination of the utility report file If required the report may be written to a sequential dataset with record format FBA and a logical record length of 133 bytes 7 2 3 Condition Codes OTASP020 will set a condition code on completion This code may take the following values 0 the utility has been executed successfully ASM for S 390 v2 5 User Manual 7 14 12 a warning condition has been encountered during processing of the utility but execution of the utility continued A warning message will have been written to the SYSPRINT dataset an error condition has been encountered during processing of the utility but execution of the utility continued An error message will have been written to the SYSPRINT dataset a serious error has occurred during processing of the utility Execution of the utility has been terminated An error message will have been written to the SYSPRINT dataset 7 2 4 Running the Utility There are no special considerations relating to execution of the tape scan utility However the utility should not be execute
44. ensure that there is additional storage available in the Dynamic Storage Area and resubmit the request Fatal error already received NearArchive cannot continue because of a prior error condition Action Terminate processing Investigate the cause of the preceding error before rerunning the job 94 file id ret reas Error accessing system dataset codes Supplementary code 1 gives the identifier of the file on which the error occurred see description of file identifiers in section 8 2 1 Supplementary code 2 gives the return and reason codes from the failed VSAM I O request Action Terminate processing Refer to IBM VSAM macro documentation for a description of the return and reason codes Take the appropriate corrective action before resubmitting the job If no apparent cause for failure can ASM for S 390 v2 5 User Manual 8 18 Return Supp Supp Description code code 1 code 2 be detected contact your NearArchive product support representative Product not authorized Action Check that NearArchive product authorization codes have been correctly applied as described on page 2 7 of this manual Contact your NearArchive product support representative if an authorization code update is required NearArchive module not found program load error A required NearArchive load module was not available at run time Action Terminate processing Ensure that the NearArchive product distribution librar
45. exception condition contains a binary value which sets the number of times tape allocation is retried after allocation recovery has been entered due to unavailable tape drive The default value of 30 is used if this field is set to spaces or binary zeroes name of the database to be opened This field specifies the last 4 characters of the DD name of the database s primary index as specified in the JCL used to execute the batch archival procedure The first 4 characters of the DD name must always be set to the value OTAS The default value of V100 DD name of OTASV100 is used for database name if this field is set to spaces or binary zeroes used for request code 11 only restart open Specifies the date in format YYMMDD to be used to over ride archive dates supplied in the application s call parameter interface area for request code 13 write data record calls during rerun processing see usage note 3 below for a discussion of this facility The NearArchive rerun archive date over ride facility is not enabled if this field is set to spaces or binary zeroes D 4 Usage Notes 1 The application issuing the database open call should be capable of establishing whether a normal or rerun open request is submitted e g from EXEC or other parameter value 2 NearArchive will reject a normal open request for a database which is in an uncommitted state by setting a return code of 15 Conversely a rerun open re
46. of this parameter may consist of from 1 to 10 numeric digits and specifies the maximum number of tape blocks to be processed by the utility If this parameter is not specified then processing of the utility will continue until the block number specified in the ENDBLK parameter has been processed or until end of file is reached if the ENDBLK parameter is not specified If the COUNT parameter is specified then the ENDBLK parameter may not also be specified A validation error is returned by the utility if both these parameters are present STARTBLK The STARTBLK parameter is used to control the point in the tape dataset at which the sequential scan process is to start The value x specified in this parameter must be a numeric identifier of length 1 10 characters and should identify the block number at which processing is to begin Block numbering starts with the value for the first block on the file and is increased by 1 for each subsequent block If specified the utility will start processing the tape dataset at the specified block number If this parameter is omitted processing will start from the beginning of the tape dataset ENDBLK The ENDBLK parameter is used to control the point in the tape dataset at which the sequential scan process is to end The value y specified in this parameter must be a numeric identifier of length 1 10 characters and should identify the block number at which processing is to end
47. secondary key will be extracted during archival Press ENTER when completed Panel OTSN4222 will be displayed e On panel OTSN4222 specify the AMS parameters for secondary index 1 default options will be taken for unspecified fields Volume serial number serial number of disk volume on which secondary index file 1 is to be resident leave blank if this is to be system controlled Unit of allocation CYL Primary allocation value 1 Secondary allocation value 1 Press ENTER when completed Panel OTSN4200 will be re displayed after the definition of secondary index lhas completed successfully ASM for S 390 v2 5 User Manual A 5 e Repeat the above procedure in order to define secondary indexes 50 and 99 Enter the following values for each index Index 50 Panel OTSN4220 Secondary index no 50 Panel OTSN4221 Secondary key specification Length Start posn in record 1 Automatic indexing controls Record no within object 0 Index 99 Panel OTSN4220 Secondary index no 99 Panel OTSN4221 Secondary key specification Length 11 Start posn in record 6 Automatic indexing controls Record no within object ALL e After the above definitions have been entered successfully press PF3 to return from panel OTSN4200 to panel OTSN4000 e On panel OTSN4000 press PF3 to return to the primary TSO ISPF panel e All IVP database definition processing is now complete ASM for S 390 v2 5 User Manual A 6 A 3 CICS
48. the AMS control panel OTSN4304 will be displayed This will allow customization of the AMS parameters used to define the database s journal archive database Refer to section 3 1 3 for a description of fields on this panel Enter the appropriate details and press ENTER After all panel entries have been accepted the journal dataset and journal archive databases will be automatically defined and initialized if either facility has been enabled for the first time during database maintenance processing and the database definition will be updated Database maintenance menu panel OTSN4200 will then be re displayed and database maintenance processing may be continued as desired 3 2 2 Secondary Index Maintenance The NearArchive secondary index maintenance procedure is invoked by selecting option 2 from the database maintenance menu panel OTSN4200 Secondary index maintenance menu panel OTSN4220 will then be displayed see figure 3 6 This panel will allow the following secondary index update procedures to be performed 1 Update secondary index definition This will allow amendment of an existing secondary index definition 2 Add new secondary index This will allow the definition of a new secondary index for the NearArchive database currently being updated 3 Delete a secondary index definition This will allow an existing secondary index definition to be removed if the secondary index does not contain any entries Select the
49. 390 also provides a mechanism to allow customers to automatically invoke other CICS transactions on exit from operator interface processing if it is not required to leave the terminal operator in native CICS mode ASM for S 390 v2 5 User Manual 6 29 To invoke this mechanism the customer should supply a NearArchive operator interface user exit program This program must have the name OT26UXIT be defined in the CICS processing program table PPT and be accessible from the standard CICS DFHRPL load library concatenation The NearArchive operator interface process will always attempt to transfer control to this program via a CICS XCTL command before exiting The user exit program OT26UXIT will then receive control and may implement whatever processing is required by the customer e g starting another CICS transaction on the same terminal linking to a system menu display program etc If the program OT26UXIT is not present in the CICS PPT or is not accessible at execution time from the DFHRPL concatenation the NearArchive operator interface process will continue with standard termination 6 6 Logging of retrieval activity Retrieval of objects from an individual database by CICS programs may optionally be logged by ASM for S 390 using the OS 390 System Management Facility SMF This facility is controlled using the Retrieval logging options on the base database definition and maintenance panels in the NearAr
50. 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 30 x0001 42 00 x0000 49 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 D B NAME EST EST EST ESI ESI EST EST EST EST EST EST ESI EST EST ESI ESI EST EST ESI ESI ESI ESI ESI EST EST p p p p p p p KEY 323456790 323456791 323456791 323456791 323456792 323456792 323456792 323456793 323456793 323456793 323456794 323456794 323456794 323456795 323456795 323456795 323456796 323456796 323456796 323456797 323456797 323456797 123456789 INSTALLATION VERIFICATION PROCEDURE DATE 199801 99801 199801 99801 99801 99801 99801 99801 199801 99801 99801 99801 99801 99801 199801 99801 9980 99801 9980 9980 99801 19980 199804 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 01 NEARARCHIVE VERSION 2 5 REC LEN 128 128 T28 128 128 128 128 128 128 128 12
51. 50 70 Sal aes 54 2 ie 8 0 6 24 27 Nee LRN BW LB BR CO 3 5 27 27 4 10 19 5 49 49 49 49 28 30 34 36 OTSN4222 40 OTSN4230 45 OTSN4231 46 OTSN4300 5 OTSN4301 5 12 OTSN4302 5 21 OTSN4303 5 22 OTSN4304 6 22 OTSN4306 48 OTSN4400 51 OTSN4401 52 output processing 10 P partial object retrieval 6 12 30 performance 16 PL I 7 PLPA 7 PLTPI 13 21 PLTSD 13 21 primary index 5 10 12 25 30 primary index file 7 30 primary index file 6 primary index record size 59 primary key 3 7 21 primary keylength 7 29 priority 29 program list table post initialization 21 program list table shut down 21 Q query index 14 query interface compact 19 extended volume serial number 14 22 query sort sequence 15 23 R RACF 5 RDO 15 mapsets 18 20 23 record count 6 record length 33 record length maximum 26 record number 38 record prefix 6 recovery control 50 56 70 recovery control entries 4 50 recovery status 16 recycle threshold 16 25 RedWood 4 7 regression database 1 31 request code 10 11 12 Open Database 14 Identify Secondary Key 10 14 19 21 26 30 34 35 23 45 Write Object Record 31 46 Identify Secondary Key 34 47 Delete Object 37 48 Commit Updates 39 49 Disconnect Database 42 request codes 4 7 request queueing 19 25 Resource Definition Online 15 response times 14 r
52. ASM for S 390 v2 5 User Manual 3 24 After successful completion of the database definition process the NearArchive main menu panel OTSN4000 will be redisplayed Further database administration activities may be performed as required If any error occurs during AMS processing an error panel will be displayed allowing viewing of AMS output messages Error messages should be noted and the appropriate corrective action taken The main menu panel will then be redisplayed to allow retry of the database definition procedure 3 1 4 System Dataset Sizing Information in this section is provided as a guide for choosing the primary and secondary allocation values used during definition of the following NearArchive system datasets e primary index dataset e journal dataset e journal archive database primary index dataset Primary and secondary allocation values for each category of system dataset may be chosen using the following guide Primary index allocation Each primary index dataset contains the following entries Main index One main index entry will exist for each unique entries primary key value in the database Each entry is a single VSAM record consisting of a fixed prefix of length k 4 bytes where k is the primary keylength and a variable number of 32 byte suffixes One suffix will exist for each NearArchive object held in the database for that primary key value The maximum main index entry length is 65524 bytes
53. Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and rerun the job OTS02002 RETURN CODE xx RECEIVED READING JFCB FOR OTASV100 Explanation An error has been encountered locating the JFCB control block for the primary index file being processed by the utility xx gives the return code from the RDJFCB macro Processing is terminated Action Refer to IBM documentation on RDJFCB macro processing for details of the return code Take the appropriate corrective action and rerun the job OTS02003 DUPLICATE EXECUTION PARAMETER xxxxxxxxxx Explanation The execution parameter identified in the message has been specified more than once in the execution parameter list Processing of the utility is terminated ASM for S 390 v2 5 User Manual 8 26 Action Remove the duplicate parameter entry and rerun the job OTS02004 PARAMETER LENGTH IS INCORRECT FOR EXECUTION PARAMETER xxxxxxxxxx Explanation The length of the operand of the execution parameter identified in the message is greater than the maximum permitted value Processing of the utility is terminated Action Correct the invalid parameter entry and rerun the job OTS02006 INVALID CHARACTER SPECIFIED IN EXEC PARAMETER xxxxxxxxxx Explanation A non numeric character has been specified in the operand of the execution parameter identified in the message Processing of the
54. Action Retain all information concerning the error and contact your NearArchive product support representative OTS03207 INSUFFICIENT STORAGE FOR WORKAREAS Explanation A request by the utility for main storage allocation has failed Action Increase the REGION size specified for the job and resubmit ASM for S 390 v2 5 User Manual 8 46 OTS03208 FILE OTASV100 IS NOT A VERSION 2 5 DATABASE Explanation The NearArchive index specified in the DD entry for file OTASV100 is not in version 2 5 format The NearArchive database regression utility cannot be run on databases which are in a pre version 2 5 format Processing is terminated Action Ensure that the correct primary index dataset has been specified in the execution JCL If necessary correct the JCL and resubmit the job If the correct index has been specified then there is no need to perform regression processing as the database is already in pre v2 5 format OTS03209 ERROR X xxxx INFO X yyyy DYNAMICALLY ALLOCATING DATASET 22z2z 2z2zz Explanation An error has occurred dynamically allocating a dataset and processing of the utility has been terminated xxxx and yyyy give the error and information codes respectively as returned from the SVC99 dynamic allocation request zzzz zzzz gives the name of the dataset being allocated Action Refer to IBM documentation on dynamic allocation processing for a description of the error and in
55. B 1 2 Write Record to NearArchive Database B 1 3 Identify Secondary Key B 1 4 Commit Updates B 1 5 Disconnect Database B 2 Batch Retrieval Processing B 2 1 Connect Database B 2 2 Query Database B 2 3 Retrieve Data Record Direct Retrieval B 2 4 Retrieve Data Record Sequential Retrieval B 2 5 Delete NearArchive Object B 2 6 Disconnect Database B 3 CICS Processing B 3 1 Retrieve Archived Object B 3 2 Query Database B 3 3 Delete Object APPENDIX C Database Regression Utility C 1 Functions C 2 JCL Requirements C 3 Condition Codes C 4 Operator commands C 5 Utility Processing Reports C 6 Utility Failure and Restart Considerations C 7 Post utility processing APPENDIX D Pre V2R4 API Specifications D 1 The batch archival interface D 1 1 Request Codes 10 11 12 Open Database D 1 2 Request Code 13 Write Data Record D 1 3 Request Code 14 Identify Secondary Key D 1 4 Request Code 15 Close Database D 1 5 Request Code 16 Commit Updates D 2 The CICS retrieval interface D 2 1 Request Code 21 Query Index D 2 2 Request Code 22 Retrieve Object D 2 3 Request Code 23 Delete Object A 5 A 7 Ad AY A 10 A 11 B 1 B 3 B 3 B 5 B 6 B 7 B 8 B 9 B 9 B 11 B 13 B 15 B 17 B 18 B 19 B 19 B 21 B 23 C 1 C 1 C 2 C 5 C 6 C 6 C 6 C 7 D 1 D 1 D 3 D 6 D 8 D 10 D 12 D 13 D 14 D 19 D 21 ASM for S 390 v2 5 User Manual D 3 The batch retriev
56. BUFFER Explanation A request for data buffer storage in the job s private area has been denied by the operating system Action Increase the REGION size allocated for the job or jobstep and resubmit the job ASM for S 390 v2 5 User Manual 8 74 OTS11003 UNABLE TO READ aaa GET RETURN CODE X xx GET FEEDBACK X yyyyyyyy Explanation A VSAM error has occurred when reading from the NearArchive primary index aaa identifies the record being read xx and yyyyyyyy are the hexadecimal return and reason codes from the VSAM GET macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job If no apparent cause of the error can be identified contact your NearArchive product support representative OTS11004 UNABLE TO OPEN DATASET WITH DDNAME aaaaaaaa RETURN CODE X xx Explanation A open error has occurred when opening a NearArchive tape dataset during tape backup processing aaaaaaaa is the DDname of the file being opened and may contain the following OTASBKUP Input control dataset OTAST100 Primary archive volume OTAST200 B copy of primary volume OTAST201 _ D copy of primary volume duplexing specified xx is the return code returned from the OPEN macro Processing is terminated Action Refer to IBM documentation for details of the OPEN error Take the appropr
57. Block numbering starts with the value for the first block on the file and is increased by 1 for each subsequent block If specified the utility will end processing of the tape dataset after processing the specified block number or at end of file if the dataset does not contain the number of blocks specified in this parameter ASM for S 390 v2 5 User Manual 7 13 If this parameter is not specified then processing of the utility will continue until the number of blocks specified in the COUNT parameter has been processed or until end of file is reached if the COUNT parameter is not specified If the ENDBLK parameter is specified then the COUNT parameter may not also be specified A validation error is returned by the utility if both these parameters are present If the STARTBLK parameter is also specified then the block number specified in the ENDBLK parameter must be greater than or equal to the block number specified in the STARTBLK parameter SUMMARY The SUMMARY parameter indicates that only summary reporting is required from utility execution Printing of the formatted object report will be suppressed If the SUMMARY parameter is omitted the formatted object report will be produced Dataset names should be set as follows for each DD entry STEPLIB The name of the NearArchive product library as unloaded during the product installation procedure see chapter 2 OTASV100 The name of the primary index of the NearArchive
58. DATA SEGMENT 12KEY 123456789 DATE DATA SEGMENT 1 KEY 123456789 DATE DATA SEGMENT 2 KEY 123456789 DATE DATA SEGMENT 3 KEY 123456789 DAT DATA SEGMENT 4 KEY 123456789 DAT DATA SEGMENT 5 KEY 123456789 DATE DATA SEGMENT 6 KEY 123456789 DATE DATA SEGMENT 1 KEY 123456789 DATE DATA SEGMENT 2 KEY 123456789 DATE DATA SEGMENT 1 KEY 123456789 DATE DATA SEGMENT 2 KEY 123456789 DAT DATA SEGMENT 1 KEY 133456789 DAT DATA SEGMENT 1 KEY 223456789 DATE DATA SEGMENT 2 KEY 223456789 DATE DATA SEGMENT 1 KEY 223456789 DATE DATA SEGMENT 2 KEY 223456789 DATE DATA SEGMENT 3 KEY 223456789 DATE DATA SEGMENT 4 KEY 223456789 DAT DATA SEGMENT 1 KEY 233456789 DAT DATA SEGMENT 2 KEY 233456789 DATE DATA SEGMENT 3 KEY 233456789 DATE DATA SEGMENT 1 KEY 233456789 DATE DATA SEGMENT 1 KEY 123456789 DATE DATA SEGMENT 2 KEY 123456789 DATE DATA SEGMENT 1 KEY 143456789 DAT Fig A5 job OTASD215 YYYY MM DD HH MM PAGE 2 TZ TP OBL 0 OL eke Meare I A te ceria ts op ore a 307097199E me ae tio wide iB ote eth ol T Belge Bond 1307097 F99 iN nai a to eE a a tetera raya OTE ae melee ae Ol aloe IC oko ae Rene hae een Rae eee ete aR TE ae Ree SSOP O9 VO98 D soci lis WS ace a A cee Roe RS 307997199 i revise gait Meo Mace eek eas TSO OT OO Oa Rae tee te leila eee E gtececen tte ZOZOA TIIB E ae ee re EATA llc ok aaa eS ae Se Ee MZ O
59. Database Definition COMMAND gt Primary index name Length of primary key NearArchive user SVC no HLQ for this database Data retention period System dataset unitname Online processing options Retain tapes on drive for gt minutes Age range of tapes to be retained on drive gt to days old Audit options Retrieval logging options Audit trail on gt SMF record id gt Journal archiving enabled gt Batch retrieval logging on gt CICS retrieval logging on gt Fig 3 1 base database definition panel OTSN4300 ASM for S 390 v2 5 User Manual 3 6 3 1 1 Base Database Definition After selecting option 3 from the database administration entry panel the base database definition panel OTSN4300 will be displayed This panel is illustrated in figure 3 1 The PF7 UP and PF8 DOWN keys may be used to scroll backwards and forwards through the panel display Panel OTSN4300 contains the following fields Primary index This field gives the name of the database s primary name index dataset as entered on panel OTSN4000 This database will be created during database initialization processing The contents of this field may not be amended Length of Mandatory entry Enter the primary keylength for primary key the database being defined This must be a numeric value in the range 1 254 The maximum number of DBCS characters permitted is 126 pl
60. Definitions To verify correct operation of the NearArchive online retrieval component a CICS system should be initialized as a NearArchive control region see Chapter 2 for details on setting up this region The following OTASS100 parameters may be used MAXDRIVE 2 MAXQLEN 2 MAXDISK 2 TSQDELETE 5 TAPEWAIT 0 TIMEOUT 0 The IVP load library should be available in the DFHRPL concatenation for CICS testing or the IVP modules can be copied from the IVP load library to another library already available in the DFHRPL Add the following CICS PCT PPT and FCT entries in the NearArchive CICS control region TASD220 l TYPE ENTRY PROGRAM OTASD220 LANG ASSE PPT entries TASM20 l TYPE ENTRY MAPSET OTASM20 PCT entry OIVP DFHPCT TYPE ENTRY TRANSID OIVP PROGRAM OTASD220 DT IMOUT NO Equivalent definitions may be added using CICS RDO FCT entries The database identifier used during online IVP processing is TEST This should be used when generating the names of the IVP file control table entries The following entries will be required OTOI1TEST Secondary Index 1 OTSOTEST Secondary Index 50 OT99TEST Secondary Index 99 OTASTEST NearArchive database ASM for S 390 v2 5 User Manual A 7 OSMOTEST NearArchive Space Management dataset OJRNTEST NearArchive Journal dataset if audit trail enabled during IVP database definitio
61. Existing values for the selected secondary index will be displayed on this panel Refer to section 3 2 2 3 add new secondary index for a description of the displayed fields and their usage Note that the secondary key length is not displayed on this panel This value may not be amended after initial definition of the secondary index Amend these values as required and press ENTER Any invalid update will be rejected and a corresponding message displayed in the top right hand corner of the panel For additional information regarding the error press PF1 To obtain help information regarding panel definition entries press PF1 once more When all updates have been accepted the secondary index definition will be amended and the secondary index maintenance menu panel OTSN4220 re displayed 3 2 2 2 Add new secondary index definition OTSN4221 NearArchive V2 5 Add Secondary Index Definition COMMAND gt Primary index name gt Secondary index no gt Secondary key specification Length gt Start position in record gt index disabled Automatic indexing controls Record no within object gt no automatic indexing index all records within archived object Fig 3 8 Secondary index definition panel OTSN4221 Panel OTSN4221 will be displayed when option 2 is selected from the secondary index maintenance menu panel OTSN4220 ASM for S 390 v2 5 User Manual 3 36 Enter the appropriate details on this p
62. IBM documentation for an explanation of the codes displayed in the message Take the appropriate corrective action and repeat the failed process or rerun the failing job ASM for S 390 v2 5 User Manual 8 137 8 24 SMF record format NearArchive will optionally record batch and or CICS retrieval activity using the OS 390 System Management Facility SMF This option is controlled for each database via the NearArchive database administration dialog in TSO ISPF Refer to chapter 3 of this manual for information on enabling and disabling SMF logging of batch and CICS retrievals for a NearArchive database When enabled NearArchive will create an SMF record at the following processing points e Batch retrieval processing when the first record of an archived object has been retrieved and returned to the calling application in response to a retrieve object record request request code 42 e CICS retrieval processing after all records in the archived object have been written to CICS temporary storage in response to a retrieve object request request code 43 Each SMF record will contain the following sections 1 SMF header section This contains standard system information and timestamps 2 Record descriptor section This section contains information about the remaining sections in the record 3 Database section This section contains information relating to the database being accessed during the retrieva
63. KEY 223456789 223456789 223456789 223456789 223456789 233456789 233456789 233456789 233456789 INSTALLATION VERIFICATION PROCEDURE DATE 19980605 19980708 19980708 19980708 19980708 19981012 19981012 19981012 19980811 NEARARCHIVE VERSION 2 5 REC LEN RECORD AREA DATA SEG DATA SEG SEC50 01 DATA SEG DATA SEG DATA SEG DATA SEG SEC50 01 DATA SEG DATA SEG DATA SEG SEC50 01 ENT ENT ENT ENT ENT ENT ENT ENT ENT 2 1 2 3 4 1 2 3 1 CALL AUDIT REPORT 223456789 223456789 223456789 223456789 223456789 233456789 233456789 233456789 233456789 Fig Al job OTASD211 DATE DATE DAT DAT DATE DATE DATE DATE DAT YYYY MM DD HH MM 05 06 1998 08 07 1998 08 07 1998 08 07 1998 08 07 1998 12 10 1998 12 10 1998 12 10 1998 11 08 1998 PAGE 3 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 10 00 x0000 13 00 x0000 13 00 x0000 13 00 x0000 14 00 x0000 13 00 x0000 13 00 x0000 14 00 x0000 13 00 x0000 13 00 x0000 13 00 x0000 14 00 x0000 13 00 x0000 13 00 x0000 14 00 x0000 16 00 x0000 13 00 x0000 14 00 x0000 13 00 x0000 13 00 x0000 13 00 x0000 15 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000
64. NearArchive object to be deleted not used for this request code not used for this request code 1 The primary index of the NearArchive database being accessed must be available for update processing by the CICS application This file will have a CICS File Control Table entry name of OTASxxxx where xxxx is the database name specified in the NearArchive call parameters A return code of 89 and supplementary code 1 value of X 0100 will be set by NearArchive in response to a deletion request for a database whose primary index is available for input processing only 2 If the NearArchive audit trail facility has been enabled for the database being accessed then the database journal file must be available for output processing by the CICS application This file will have a CICS File Control Table entry name of OJRNxxxx where xxxx is the database name specified in the NearArchive call parameters A return code of 89 and supplementary code 1 value of X 0300 will be set by NearArchive in response to a deletion request for a database whose journal file is not available for output processing 3 After successful deletion a NearArchive object will no longer be available for retrieval Space used by a deleted object s primary and secondary index entries will be reclaimed during execution of the NearArchive object management utility OTASP040 Tape and disk space used by the deleted object s logical records will be reclaimed dur
65. Remove the volume from unavailable status if access to this volume is required Volume unavailable condition returned from dynamic allocation request The volume containing the object is currently in use by another job Action Retry the request when the volume has been freed by the other job Allocation request cancelled by operator There are no devices available to satisfy the retrieval request and the operator has replied CANCEL to the IEF238D message output by the system during allocation recovery processing Action None Dataset unavailable condition returned from dynamic allocation request The tape dataset containing the object is currently in use by another job Action Retry the request when the tape has been freed by the other job NearArchive control region shutdown in progress CICS retrievals only Action Restart the control region before retrying the online retrieval request Unit unavailable condition returned from dynamic allocation request All eligible tape devices are currently allocated to other jobs ASM for S 390 v2 5 User Manual 8 11 Return Supp Supp Description code code 1 code 2 Action Retry the request when an eligible device becomes available Request rejected because no resources have become available to process the request within the time period specified in the TAPEWAIT control region initialization parameter Action Retry the request at a
66. S 390 v2 5 User Manual E 2 wasting 980 bytes on the track Therefore choose blocksize carefully based upon the characteristics of the majority of archived objects When choosing blocksize be sure to remember that smaller blocksize also reduces the capacity of the track Half track blocking 2 track retains 99 capacity of the track But 2k blocks retain only about 68 1k blocks about 52 and 5k blocks only about 35 E 3 SMS Requirements for EFDS Striping E 3 1 Data Class Definition for EFDS Striping A new data class for EFDS Striping must be established if a suitable one does not already exist When defining this data class with ISMF on panel 3 the DataSetNameType field must be set to EXT and the IfExtended field must be set to R To verify that the data set has been properly defined view the newly allocated file with ISPF 3 4 The Dsorg field should show PS E for EFDS If compression compaction is desired it can be selected on Panel 2 by specifying Y for Compaction E 3 2 Sample ACS Routine for Data Class Selection In the following example SEQEXT represents a previously defined EFDS data class and EXAMPLE HLO represents the HLQ as setup in the NearArchive database definition panels NEARARCHIVE represents a variable within the ACS routine and may be chosen according to customer requirements Please note that ONLY the K copy should be created as EFDS The ACS routine must be written so that other Near
67. SMP E processing has completed with condition code 0 5 Optionally edit and submit JCL member SMPEACC This job performs SMP E ACCEPT processing for the ASM for S 390 V2 5 function SYSMOD Processing of this job may be deferred until later However no service should be applied to the product until SMP E ACCEPT processing has been performed successfully The ASM for S 390 product distribution libraries will have been successfully created on completion of the above steps Continue with product installation processing at section 2 2 2 2 Host system modification This section gives details of the modifications required to the host OS 390 system prior to ASM for S 390 implementation 2 2 1 Install user SVC ASM for S 390 requires installation of a type 3 or type 4 user SVC This module is distributed as member OTASSVC in the distributed NearArchive load library To install the SVC perform the following steps ASM for S 390 v2 5 User Manual 2 6 a Allocate a type 3 or type 4 SVC number from the available user SVCs on the system This will be in the range 200 255 If there is no available SVC in this category refer to IBM system documentation for details of how to define a new user SVC in the SVC table Use default values for the APF and NPRMPT parameters in the SVC definition entry The SVC module name OTASSVC should be identified in the EPNAME parameter on the SVCPARM entry b Using IEBCOPY or ISPF PDF copy membe
68. This may be amended if SVC numbers are re allocated during the life of a database e Data retention period The length of time that data is held in the database may be amended as required during the life of the database e System dataset unitname The unit name used internally by ASM for S 390 when allocating temporary disk datasets during database administration processing e Age range of tapes to be retained on drive Any change in processing requirements for this facility may be made via this panel e Audit trail on The audit trail facility may be turned on or off as required at any stage during the life of a database The database s journal dataset will be automatically allocated and initialized when this facility is enabled for the first time e Journal archiving enabled Archival of journal entries by the NearArchive journal maintenance utility OTASP070 may be enabled or disabled The database s journal archive database will be automatically allocated and initialized when this facility is enabled for the first time The following general database attributes may not be amended during the life of a database i e after a database has been defined and initialized e Primary keylength e High level qualifier for system datasets ASM for S 390 v2 5 User Manual 3 29 The base database maintenance panel OTSN4210 will be displayed when option 1 has been selected from the database maintenance menu OTSN4200 giving details of the
69. This report gives details of each tape volume released during recycle processing and or each disk copy dataset compressed during compression processing Totals of released volumes and or compressed datasets are produced by storage level and a total produced for all storage levels processed Error or warning messages generated during execution of the utility will be written to the processing summary report All messages will have the message identifier OTS030xx where xx is a numeric value in the range 00 99 Refer to chapter 8 of this manual for a description of all messages issued by the database maintenance utility 7 3 7 Utility Failure and Restart Considerations If the database maintenance utility fails to complete successfully either due to an error condition being encountered or execution being cancelled by the system operator it should be rerun specifying an EXEC parameter of RESTART YES Note that if execution was terminated early via entry of an operator STOP command the utility will terminate normally For subsequent execution the RESTART parameter should be set to NO or allowed to default The utility will automatically checkpoint its activity after each volume to be recycled in the NearArchive database being processed has been successfully released from the database if recycle processing is being performed or after an eligible disk dataset has been compressed if only ASM for S 390 v2 5 User Manual T2
70. User Manual 7 28 7 4 OTASP040 the NearArchive Object Management Utility The NearArchive object management utility is used to automatically expire objects which have been stored in a NearArchive database for a period of time in excess of the retention period specified for that database For databases with multiple storage levels the object management utility will also migrate objects from one storage level to another Objects to be migrated are controlled by the migration periods that have been specified for all storage levels up to but not including the target storage level The utility also deletes the disk copy of objects which have been in the database for a length of time in excess of the disk retention period for the database storage level as specified during database administration processing in TSO ISPF Any subsequent access to these objects will be satisfied from a tape copy of the object Disk K copy datasets which contain no active object copies at conclusion of utility processing will be automatically deleted The utility will process a single NearArchive database during each execution The database to be processed is identified by specifying the name of its primary index dataset in the OTASV100 DD entry in the JCL used to execute the utility The object management utility should be run at regular intervals for databases which have become eligible for object expiration or for migration of objects between storag
71. and a logical record length of 133 bytes OTASSRTx These DD cards where x 1 2 and 3 are only required if the NODUPS execution parameter has been specified All three cards should be specified if required They should each specify a separate permanent or temporary sequential disk dataset which is to be used as a sort work file by the utility If a permanent dataset is to be used it should be allocated with a variable spanned record format RECFM VBS and a logical record length of k 39 bytes where k is the primary keylength of the NearArchive database being processed by the utility The primary and secondary space allocations for each dataset a and b should be large enough to hold all records in the live journal file There will be one journal record of length k 39 bytes for each update action performed against the selected NearArchive database since the previous execution of the utility or since it was first created if the utility is being executed for the first time SYSOUT This entry is only required if the NODUPS execution parameter has been specified It gives the destination of the report files produced from internal sort requests If required the reports may be written to a sequential dataset with record format FBA and a logical record length of 133 bytes ASM for S 390 v2 5 User Manual 7 44 7 5 3 Condition Codes OTASP070 will set a condition code on completion This code m
72. any subsequent time when it has been determined that database conversion has completed successfully If the database conversion fails at any stage during the above process an error message will be displayed on the terminal and conversion processing will be aborted In the case of failure during allocation or renaming of the space management file the condition code generated from the internal IDCAMS request will be displayed on error panel OTSN4305 The user will then be given the option of browsing output from the IDCAMS processing After the cause of the failure has been identified and rectified the database conversion process may be re executed at any subsequent time There are no special restart or recovery considerations 3 5 1 Increase maximum primary index record size If the maximum number of objects in the converted database which have the same primary key but different archive dates currently exceeds 1015 or is likely to exceed this figure at some future date the maximum record size of the database s primary index file will need to be increased Member DB25CONV in the distributed SAMPLIB dataset contains JCL to perform this conversion process Edit the job by adding a job card and replacing all occurrences of the character string index name in the job with the name of the primary index file for the database being converted If the converted index is to be created on a different volume from that containing the original i
73. batch programs 5 3 5 1 1 JCL requirements 5 3 5 1 2 Controlling Access to a NearArchive Database 5 5 ASM for S 390 v2 5 User Manual 5 1 3 Database design considerations 5 2 Batch Archival Processing 5 2 1 Processing Overview 5 2 2 Recovery and Restart 5 2 3 Database Backup and Recovery 5 3 Batch Retrieval Processing 5 3 1 Processing Overview 5 3 2 Operational considerations 5 3 3 Logging of retrieval activity CICS PROCESSING 6 1 Application Programming Issues 6 1 1 Overview of Object Retrieval Processing 6 1 2 Partial Object Retrieval 6 1 3 TSQ stringing 6 2 Invoking NearArchive from CICS programs 6 3 Operational Considerations 6 3 1 General Issues 6 3 2 Concurrent Retrievals Different Tape Cartridge Volumes 6 3 3 Concurrent Retrievals Same Tape Cartridge Volume 6 3 4 Multiple NearArchive Database Support 6 4 Starting and Stopping NearArchive During CICS Operation 6 4 1 OT23 Initializing a NearArchive Control Region 6 4 2 OT24 Quiescing a NearArchive Control Region 6 5 NearArchive Operator Interface 6 5 1 Invoking the Operator Interface in Line Entry Processing Mode 6 5 2 Invoking the Operator Interface in Full Screen Processing Mode 6 5 3 Display Status Summary 6 5 4 Display Status Detail 6 5 5 Alter NearArchive Configuration 6 5 6 Exiting from operator interface processing 6 6 Logging of retrieval activity NEARARCHIVE UTILITIES 7 1 OTASPO010 the NearA
74. be able to store objects directly into any storage level in the database ASM for S 390 v2 5 User Manual 1 3 e Up to 256 disk K copy datasets may now be created for each tape volume in a database storage level for parallel storage of database objects on disk This will enable more active management of disk copy datasets and may substantially reduce the amount of disk space required to support this feature of the product e An extended database query application program interface has been introduced to return information on the range of tape datasets on which an object is stored in addition to the information returned by the existing query interface or to return volume serial numbers for the tape volumes containing those datasets e Full support has been introduced for the Sun Oracle Volsafe feature to enforce usage or non usage of Volsafe enabled tape volumes for storage of objects in a database This feature can be enabled separately for each tape copy within each storage level of a database V2 5 also introduces full support for IBM 3590 tape devices in addition to 3480 3490 3490E type devices This includes support for Sun Oracle s RedWood 9840 and 9940 devices operating in both 3490E and 3590 emulation modes e Support for use of an external security user exit has been introduced This will cause a user exit to be invoked at control points within the product to allow external security processing to be performe
75. calling application to identify a change of primary key or date in the returned parameter area to establish that an object boundary has been crossed 5 Current position for a sequential retrieval request may be established initially by a direct retrieval request The current position is updated during sequential retrieval processing Where no current position has been established prior to the first sequential retrieval request being received by NearArchive after a database has been connected the first active record in the lowest dataset sequence number in storage level 0 of the database will be returned 6 During sequential processing when the last record in a database storage level has been retrieved the next sequential retrieval request will return the first record in the lowest dataset sequence number in the next storage level in the database No special indication is given by NearArchive that a storage level boundary has been crossed during sequential retrieval If the next storage level is not defined for a database in the above circumstances or if the last record in storage level 7 has been sequentially retrieved NearArchive will set a return code of 30 and a supplementary code 1 value of 1 if another sequential retrieval request is submitted This indicates an end of database condition If the application continues to submit sequential retrieval requests NearArchive will start sequential processing from the beginning of
76. cartridge volume This request will allow secondary key identification commit and object storage and deletion requests to be issued by the application It will cause NearArchive to start writing data to a new tape cartridge volume in the database Use this request code if it is required to control physical data location for retrieval performance 4 10 Offset Length 6 2 8 8 ASM for S 390 v2 5 User Manual Type Bin Char Description reasons 6 Open for restart output processing This request will allow secondary key identification commit and object storage and deletion requests to be issued by the application This request must be used to connect to a NearArchive database which is in an uncommitted state due to the failure of an earlier update operation or because the database was last closed without committing updates NearArchive will reject any other type of connect request if a database was not closed normally and all updates committed during the last update procedure Allocation recovery retry limit This field should contain a binary value which sets the number of times tape allocation is retried after allocation recovery has been entered due to a tape device being unavailable A default value of 30 is used if this field is set to spaces or binary zeroes Archive over ride date This field is only needed when connecting to a database with access code 6 open for restart output proces
77. chapter 3 for detailed information on this process To enable SMF logging of batch object retrieval requests from a database set the following panel fields e SMF record identifier set this to the value of the SMF record identifier to be used by ASM for S 390 when logging retrievals to the SMF datasets This should be a value in the range 128 255 which is reserved for use by ASM for S 390 A value of 0 in this field indicates that no SMF logging is to be performed e Batch retrieval logging on set this to the value Y to enable logging of batch retrieval requests Once enabled ASM for S 390 will write one SMF record for each object retrieved from that database Refer to chapter 8 for a description of the SMF record format Customers may process this information as required ASM for S 390 v2 5 User Manual 5 24 in order to produce statistics relating to object retrieval activity and performance For direct and sequential batch retrieval processing the SMF record is written when the first record of an archived object has been retrieved and presented to the calling application in response to a retrieve object record request request code 42 Timestamps in the request section of this record will be set as follows e Timestamp the time that the request to retrieve the first record of an object was received by ASM for S 390 e Timestamp 2 this timestamp has no special significance for batch r
78. code is not required Request Supp Supp Description code 1 code 2 Connect to a NearArchive database batch applications only Query Generic Query a NearArchive index primary or identifier key secondary 0 200 length Sort Supplementary code 1 gives the query sequence identifier 0 100 for primary index 1 99 101 0 3 199 for secondary index with that identifier 200 for volume serial number query Supplementary code 2 identifies the number of bytes in the search argument and the sequence in which index entries are to be returned to the calling application Retrieve a record from a NearArchive object batch applications only Supplementary code 1 is set to 0 for direct retrieval and 1 for sequential retrieval 0 or Request Retrieve a NearArchive object into a priority temporary storage queue CICS applications 0 9 only ASM for S 390 v2 5 User Manual 8 4 Request Supp Supp Description code code 1 code 2 Supplementary code 1 is used to control the location of the temporary storage queue 0 for auxiliary 1 for main Write an object record to a NearArchive database batch applications only Secondary Identify secondary key to be used to index index id object currently being archived batch 1 99 applications only Supplementary code 1 gives the identifier of the secondary index to be used in the range 1 to 99 Supplementary code 2 is set to 0 if the secondary key is to be generat
79. complete object Object segments are designated by start record number and a count of the number of records in the segment ASM for S 390 v2 5 User Manual I 5 e Retrieval prioritization Calling applications may now optionally supply a priority in the range 0 9 where 9 is the highest priority to be assigned to an object retrieval request This priority will be used by NearArchive when internally processing retrieval requests e Internal queuing of requests which cannot be processed at the time of submission If a request cannot be processed due to the unavailability of one or more resources e g tape drive tape volume etc the request may now optionally be held internally by NearArchive for a customer designated period of time The retrieval request will be retried until it is satisfied or until the designated period of time has expired At this point it will be rejected with a resource unavailable condition e SMF logging of batch and CICS retrieval activity may now be optionally enabled e All NearArchive CICS programs are now supplied with 31 bit addressing and residency mode OS 390 CSA storage used by the NearArchive control region is now assigned in the extended CSA e A temporary storage queue TSQ stringing facility is now supplied for CICS object retrieval processing to allow NearArchive objects with greater than 32 767 records to be accessed successfully from a CICS application e The temporary storage
80. compressed successfully Action No action is required Processing continues normally OTS03015 READ ERROR ON OTASV120 RETURN CODE X xx REASON CODE X yyyyyyyy Explanation An error has occurred attempting to read a record from the NearArchive database s space management dataset xx and yyyyyyyy are the hexadecimal return and reason codes returned from the VSAM GET macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job If no cause of the error can be identified contact your NearArchive product support representative OTS03016 UNABLE TO READ PCR GET RETURN CODE X xx GET FEEDBACK X yyyyyyyy Explanation An error has occurred attempting to read the processing control record from the NearArchive database primary index dataset xx and yyyyyyyy are the hexadecimal return and reason codes returned from the VSAM GET macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and feedback codes Take the appropriate corrective action and restart the job If no cause of the error can be identified contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 34 OTS03017 I O ERROR ON xxxxxxxx FILE a b c d e f g h i Explanation An I O error has occurred processing a disk or tape f
81. created and all incremental backup datasets which may have been uncataloged during execution of the utility When executing in incremental backup mode processing continues as follows e The utility will construct the name s of the incremental backup dataset s to be created for each tape dataset to be backed up This is done by adding the qualifier xymmmm after the full primary dataset name where x is the incremental backup copy identifier T or J y is the storage level of the primary dataset and mmmm is a sequential numeric identifier in the range 0001 9999 which is the incremental backup sequence number This number is set to 0001 when the first incremental backup dataset is created for a primary dataset and increased by 1 for each subsequent incremental backup dataset for that same primary dataset One incremental backup dataset will be created for each execution of the utility in incremental backup mode ASM for S 390 v2 5 User Manual 7 60 e All objects which have been added to the primary dataset since the preceding execution of the utility will be copied to the primary I copy incremental backup dataset and optionally the duplex J copy incremental backup dataset Control of creation of the duplex copy is via the duplex during backup field on the storage level creation update panel during NearArchive database administration processing in TSO ISPF e A processing
82. database but the associated secondary index dataset will not have been deleted In this case the secondary index maintenance panel will be re displayed with a DELETION INCOMPLETE message in the top right hand corner of the screen To complete the secondary index deletion process it will be necessary to explicitly delete the secondary index dataset using standard IDCAMS processing or via a TSO DELETE command when the cause of the initial failure has been identified and rectified The secondary index dataset will have the name hiq SECIXnn where hlq is the database high level qualifier as assigned during NearArchive database definition processing and nn is the numeric identifier of the secondary index being deleted in the range 01 99 3 2 2 4 Secondary Index Dataset Sizing Each secondary index dataset will contain one record for each combination of secondary and primary keys in the database e g if secondary key A indexes objects with primary key B C and D then three secondary index records AB AC and AD will exist in the secondary index dataset Each secondary index record consists of a fixed length prefix of length k s 4 where k is the database s primary keylength and s is the secondary keylength for that secondary index and a variable length suffix The length of the suffix will be n 8 bytes rounded upwards where n is the number of objects in the database
83. dataset Index dataset error No record type identified Error occurred on primary index dataset Error occurred on secondary index identifier X cc dataset Error occurred accessing processing control record Error occurred accessing storage level control record Bytes 2 and 3 identify the storage level Error occurred accessing main index entry record Error occurred accessing supplementary index entry record Error occurred accessing secondary index record Space management dataset error cc storage level identifier Journal dataset error Migration control dataset error Disk dataset error Error occurred accessing disk K copy dataset ASM for S 390 v2 5 User Manual 8 22 8 3 Index Print Utility Messages OTS01000 NEARARCHIVE INDEX PRINT UTILITY COMPLETED WITH CONDITION CODE xx Explanation This informational message is issued when the index print utility has completed processing xx is the highest condition code encountered during this execution Action No action necessary OTS01001 ERROR X xxyy RECEIVED OPENING FILE aaaaaaaa DATASET bbbb bbbb Explanation A VSAM open error has occurred when opening the identified NearArchive dataset xx and yy are the hexadecimal error and reason codes returned from the VSAM OPEN macro aaaaaaaa is the DD name associated with the file and bbbb bbbb is the name of the VSAM dataset Processing is terminated Action R
84. deletion request for a database which has been opened for input processing only 2 After successful deletion a NearArchive object will no longer be available for retrieval Space used by a deleted object s primary and secondary index entries will be reclaimed during execution of the NearArchive object management utility Tape and disk space used by ASM for S 390 v2 5 User Manual D 34 the deleted object s logical records will be reclaimed during execution of the NearArchive database maintenance utility OTASP030 D 3 5 Request Code 34 Close database This call is issued by an application after all retrieval and update operations for a NearArchive database have been completed The standard interface format is used for this request Interface parameters should be set as follows Request code Return code Supplementary code 1 Supplementary code 2 Primary key Archival date Data length Data area ASM for S 390 v2 5 User Manual 34 not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call on entry specifies an option to be used for database close processing 0 unload the last tape cartridge volume used after closing the database 1 leave the last tape cartridge volume used mounted at load point 2 leave the last tape cartridge volume used mounted at end of dataset On return may contain additional informat
85. during NearArchive control region initialization No action necessary ASM for S 390 v2 5 User Manual 8 108 OTS23202 PARAMETER ERRORS DETECTED Explanation An error has been detected in the NearArchive control region initialization parameters in file OTASS100 Action Refer to chapter 2 for a description of the CICS initialization parameter formats NearArchive continues with control region initialization using default values for all initialization parameters Correct the parameter in error before rerunning the control region initialization transaction OTS23203 UNABLE TO OPEN OTASS100 Explanation An error has occurred when opening the NearArchive control region initialization parameter file OTASS100 Action NearArchive continues with control region initialization using default values for all initialization parameters Correct the parameter in error before rerunning the control region initialization transaction OTS23204 FOLLOWING PARAMETERS READ FROM OTASS100 Explanation This messages precedes the display of card images from the NearArchive control region initialization file OTASS100 Action No action necessary OTS23206 NEARARCHIVE ONLINE CONFIGURATION IS Explanation This message precedes messages OTS23207 and OTS23209 which display the current NearArchive CICS control region configuration Action No action necessary OTS23207 MAXDRIVE xxx Explanation This message displays the maximum n
86. e g VSAM datasets from which archived data was deleted and for which updates were not rolled back at the time of failure ASM for S 390 v2 5 User Manual 5 19 should also be backed up after successful completion of the archival procedure Restoring a NearArchive database To restore a NearArchive database to its status prior to the start of a failed archival process the following steps should be performed 1 Restore the database s VSAM system datasets from backups made after completion of the previous successful archival procedure These datasets will include the primary index dataset e all secondary index datasets defined for that database e the storage level 0 space management dataset the journal dataset if the audit trail facility is enabled 2 Recover any other non NearArchive datasets which may have been updated during the archival process whose updates were not rolled back at the time of failure When these functions have been completed the archival procedure may be rerun It is not necessary to recover NearArchive tape datasets prior to rerunning the archival procedure NearArchive will start re writing to the first tape dataset used during the failed procedure All new tape datasets created during that failed procedure will be automatically uncataloged by NearArchive during rerun processing and re created using new scratch tapes However it should be noted that ASM for S 390 will start writing data
87. eaea iea CALL OTASP100 USING W02 NEAR PARMS IF W02 RETURN CODE 00 PERFORM D000 PROC ETURN ELSE IF W02 RETURN CODE L PERFORM D100 NO RE ED DATA ELSE MOV MOV W02 RE E lO ERR MSG3 R W0O2 SUF E lO ERR MSG3 S MOV WO2 SUF E lO ERR MSG3 S MOV W99 E lO ERR MSG PERFORM Z900 E ESSING Hef we Notes 1 Initialize NearArchive parameter block see B 2 1 2 W02 REQUEST CODE 42 retrieve data record 3 W02 SUPP CODE1 1 direct read request 4 W02 KEY POINTER Contains a pointer to a field containing the primary key of the NearArchive object to be processed Note that the primary key field itself must be defined in the program linkage section Refer to program OTASC200 in the distributed NearArchive sample code library for an example of this usage 5 W02 DATE Specifies the archive date of NearArchive object to be processed 6 W02 DATA LENGTH Specifies the maximum length of record to be returned ASM for S 390 v2 5 User Manual B 13 7 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have one or two supplementary codes set in fields 1 and 2 A return code of 00 indicates that the first or next logical recor
88. error occurred Action Contact your product support representative Retain all information relating to the failed execution of the utility ASM for S 390 v2 5 User Manual 8 44 8 6 Database Regression Utility Messages OTS03200 NEARARCHIVE DATABASE REGRESSION UTILITY COMPLETED WITH CONDITION CODE xx Explanation This informational message is issued when the database regression utility has completed processing xx is the highest condition code encountered during this execution Action No action necessary OTS03201 ERROR X xxyy RECEIVED OPENING FILE aaaaaaaa DATASET bbbb bbbb Explanation A VSAM open error has occurred when opening the identified NearArchive dataset xx and yy are the hexadecimal error and reason codes returned from the VSAM OPEN macro aaaaaaaa is the DD name associated with the file and bbbb bbbb is the name of the VSAM dataset Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job OTS03202 VALID EXEC PARAMETER NOT SPECIFIED EXEC PARAMETER SHOULD SPECIFY VERSION 22 23 OR 24 Explanation An invalid VERSION parameter value has been specified on the EXEC statement Processing is terminated Action Refer to NearArchive documentation for EXEC parameter specification Make the appropriate corrections and restart the job OTS0
89. existing database definition Make the appropriate changes and press ENTER to update the database definition Press PF3 END to terminate the database maintenance procedure Any changes will be ignored and the database definition will not be updated The PF7 UP and PF8 DOWN keys may be used to scroll backwards and forwards through the panel display OTSN4210 NearArchive V2 5 Base Database Definition COMMAND gt Primary index name gt OTAS V2R5 IVP INDE NearArchive user SVC no gt _ Data retention period gt _ _ days System dataset unitname gt Online processing options Retain tapes on drive for gt minutes Age range of tapes to be retained on drive gt to days old Audit options Retrieval logging options Audit trail on gt SMF record id gt Journal archiving enabled gt Batch retrieval logging on CICS retrieval logging on ER when all details entered correctly Fig 3 5 base database maintenance panel OTSN4210 Panel OTSN4210 contains the following fields Primary index This field gives the name of the database s primary name index dataset as entered on panel OTSN4000 The contents of this field may not be amended NearArchive Enter the new user SVC number to be used for ASM user SVC no for S 390 use This must be a numeric value in the range 200 255 ASM for S 390 v2 5 User Manual 3 30
90. facility is enabled for the database being processed by the database maintenance utility a journal entry will be created for each active object which has been moved from a recycled tape cartridge volume 7 3 5 Operator commands Execution of the utility may be terminated at any point by entering the following command through the system console STO P jobname where jobname is the name of the job used to execute the database maintenance utility ASM for S 390 v2 5 User Manual 7 26 The utility will acknowledge receipt of this command via message OTS03097 Execution of the utility will be terminated normally on completion of processing of the current input tape dataset i e the tape dataset being processed when the stop command was entered if recycle processing is being performed or on completion of compression of the current disk copy dataset i e the disk dataset being processed when the stop command was entered if only compress processing is being performed All database updates performed by the utility prior to termination will be committed Utility processing may be continued at any subsequent time via normal job execution 7 3 6 Utility Processing Reports The following reports will be written by the database maintenance utility to the SYSPRINT dataset 1 Execution parameter report This report summarizes execution parameters as specified on the JCL EXEC statement or as defaulted 2 Processing summary report
91. for S 390 v2 5 User Manual The length of the primary key field addressed by this entry should be equal to the primary key length specified during database initialization processing For DBCS customers this is the true number of bytes including all shift control bytes present when the object was archived For a direct read request supplementary code 1 0 the primary key field addressed by this pointer value must contain the primary key of the NearArchive object to be retrieved For a sequential read request supplementary code 1 1 the primary key field addressed by this pointer value will be set on exit by NearArchive with the primary key of the NearArchive object to which the returned record belongs 4 25 Object archive The archive date of the NearArchive object to be date accessed in format YYYYMMDD For a direct read request supplementary code 1 0 this field must contain on entry the archive date of the NearArchive object to be retrieved Not used on entry for sequential reads For a sequential read request supplementary code 1 1 on exit this field will contain the archive date of the NearArchive object to which the returned object belongs Not used on exit for direct reads TSQ name Not used for this request type Object start Not used for this request type position Object length Not used for this request type Data buffer length On entry gives the maximum record length which the applicat
92. for a description of valid SET command parameters OTS26415 USER EXIT PROGRAM OTASUX02 NOT DEFINED TO CICS Explanation A program entry for the user exit program OTASUX02 has not been defined to CICS Action Ensure that the correct CICS table entries have been defined Refer to section 2 8 for information on CICS table definitions OTS26416 AUTHORIZATION TO PERFORM REQUESTED FUNCTION DENIED BY USER EXIT Explanation A request to change the status of the NearArchive control region has been rejected by the user exit program OTASUX02 Action None The requested action cannot be performed by the current user OTS26420 EIBRESP xxx RECEIVED FOR FUNCTION X yyy Explanation An unexpected CICS command failure occurred during operator interface processing The response xxx and ASM for S 390 v2 5 User Manual 8 130 function codes yyy are as specified in the Exec Interface Block EIB Action Refer to CICS documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS26421 ABEND xxxx RECEIVED DURING NEARARCHIVE OPERATOR INTERFACE PROCESSING Explanation An abend with code xxxx has occurred during CICS operator interface processing Action Refer to CICS documentation for details of the abend and corrective action Contact your NearArchive support representative if there is
93. for allocation of the primary copy incremental backup dataset See chapter 3 for a description of this setting UNITDUP This parameter is used to identify the unit name to be used when allocating a new duplex J copy incremental backup dataset The operand should be a valid 1 8 character device type or esoteric name as defined to ASM for S 390 v2 5 User Manual 7 63 OS 390 This parameter is only permitted when TYPE INCREMENTAL has also been specified If omitted the D copy unit name as defined during storage level definition and update processing in TSO ISPF will be used for allocation of the primary copy incremental backup dataset See chapter 3 for a description of this setting SPEED RECOVERY The SPEED and RECOVERY parameters no longer have any impact on processing of the utility They are supported for downward compatibility purposes but will be ignored by the utility NODEVCHECK This optional parameter is used to control processing when a volume capacity mismatch has been detected between the primary tape volume and a backup tape volume during full volume backup processing If this parameter is present the utility will issue a warning message and generate a condition code of 4 but will continue with backup processing If this parameter is omitted standard capacity checking will be performed during full volume backup processing Any mismatch will cause the utility to terminate with
94. has been received from an application but both the dynamic backout and asynchronous secondary index update facilities have been enabled in the JCL used to run the application The database open request is rejected with a return code of 15 with supplementary code 1 set to 2 and supplementary code 2 to the identifier of the secondary index which is to be updated asynchronously Action Either disable the dynamic backout facility by removing the OTASLOGI card from the JCL deck or disable asynchronous secondary index update processing by removing all OTnnxxxx DD cards from the JCL deck where nn is the 2 digit identifier of a secondary index and xxxx is the database name as specified by the application in its open database request and rerun the job 8 12 Database Recovery Utility Messages OTS13000 NEARARCHIVE DATABASE RECOVERY UTILITY COMPLETED WITH CONDITION CODE xxx Explanation This informational message is issued when the database recovery utility has completed processing xx is the highest condition code encountered during program execution Action No action necessary OTS13001 OPEN FAILED FOR OTASV100 RETURN CODE X XXXXxxxx Explanation An error has occurred when opening the NearArchive database s primary index dataset OTASV100 xxxxxxxx is the hexadecimal reason code returned from the VSAM OPEN macro Processing is terminated ASM for S 390 v2 5 User Manual 8 89 Ac
95. have unique primary keys for each object in the database and hence only one object per primary key It is therefore not necessary to perform the optional database conversion step described in this section for NearOAM storage group databases ASM for S 390 v2 5 User Manual 3 60 CHAPTER 4 The NearArchive Programming Interface ASM for S 390 v2 5 User Manual 4 1 This page is intentionally left blank ASM for S 390 v2 5 User Manual 4 2 ASM for S 390 supplies a high level interface which enables customer application systems to invoke NearArchive functions from batch TSO and CICS programs This is activated via a standard CALL interface for batch or TSO programs and a CICS command level LINK interface for online programs A parameter block in the CALL interface or CICS communication area is used to communicate requests and responses A new application program interface API structure was shipped with version 2 4 of the product This interface should be used when developing new ASM for S 390 applications in order to avail of any enhanced product functionality and to ensure upward compatibility with future releases of the product API enhancements shipped with version 2 5 can only be invoked via the new API The API shipped with releases of the product prior to version 2 4 continues to be supported in this release ASM for S 390 applications coded to use this API will not need any modification to continue to function corr
96. hexadecimal return and reason codes respectively Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job OTS03012 INTERNAL PROCESSING ERROR AT LABEL aaaaaaaa REASON bbbb PLEASE CONTACT NEARARCHIVE SUPPORT CENTRE Explanation A NearArchive internal error has occurred Processing is terminated Action Retain all information concerning the error and contact your NearArchive product support representative OTS03013 UNABLE TO OPEN DATASET WITH DDNAME OTAST000 DCB OPEN FLAG xx Explanation An error has occurred when opening a NearArchive tape dataset during tape recycle processing xx is the DCB flag returned from the OPEN macro Processing is terminated Action Refer to IBM documentation for details of the OPEN error Take the appropriate corrective action and restart the job ASM for S 390 v2 5 User Manual 8 32 OTS03014 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa VVVVVV bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb Explanation This is an informational message where aaaa aaaa is a tape or disk dataset name vvvvwv is a tape volume serial number and bbbbb bbbbb is the action taken on that dataset pbbbb bbbbb may contain the following values NOT RECYCLED BLK1 IS ACTIVE STRADLE ITEM Explanation The first block on the tape cartridge volume contains data which is continued fro
97. identification After completion of recovery control entry processing the appropriate backup tape cartridge volume will be automatically used to satisfy all requests for retrieval from the specified tape sequence number s Recovery control entries are also used by the NearArchive database recovery utility OTASP130 to recover primary copies of a tape cartridge volume Refer to section 7 6 for a description of this utility and of its use of recovery control entries Recovery control entries may be manually deleted via this facility if the primary copy of a tape cartridge volume becomes available once again Tape sequence numbers are automatically deleted by the NearArchive database recovery utility after successful recovery of a primary tape cartridge volume ASM for S 390 v2 5 User Manual 3 50 2 Identification of a tape sequence number or range of sequence numbers which are to be marked as unavailable ASM for S 390 will return a resource unavailable condition return code 21 supplementary code 1 2 to calling applications when a batch or online retrieval request is issued for an object contained on a volume in this status o place a range of volumes into unavailable status a copy identifier of X should be specified for that range 3 Enabling disabling of disaster recovery processing See section 4 7 for a description of disaster recovery processing options for a NearArchive database This fac
98. in the range 0 1440 specifying the maximum number of minutes for which an object retrieval request is to remain in a stalled condition A stalled condition occurs when the request is waiting for completion of an external event e g completion of tape mount request or for completion of a tape I O request ASM for S 390 will terminate a stalled retrieval request with a return code of 29 when the interval specified in this parameter has expired The default value of 0 indicates that stalled requests are never terminated by ASM for S 390 Requests in this condition will wait indefinitely until the external event causing the condition has completed Omission or invalid specification of any parameter will cause its default value to be used by ASM for S 390 If no OTASS100 dataset is present in the CICS JCL ASM for S 390 will use default values for all parameters The values of MAXDRIVE MAXQLEN MAXDISK TSQDELETE TAPEWAIT and TIMEOUT set during NearArchive initialization may be adjusted during normal CICS operation via the NearArchive online operator interface transaction OT26 see chapter 6 for details of operation ASM for S 390 v2 5 User Manual 2 26 Example TAPEWAIT 5 TIMEOUT 10 2 8 6 2 Secondary NearArchive regions The only JCL change required to CICS regions which will be used as secondary NearArchive regions is to add the distributed ASM for S 390 load library to th
99. interface parameter area This must be of length s characters the key length for the specified secondary index as defined during index initialization For DBCS customers this is the true number of bytes including all shift control bytes present when the object was archived Any other value will be rejected by NearArchive with a return code of 99 On return this field may contain a value giving additional information after an exception condition Name of database to be updated This should be identical to the database name specified or defaulted in the corresponding connect database request A default value of V100 DD name of OTASV100 is used for the database name if this field is set to spaces or binary zeroes Not used for this request type Not used for this request type Not used for this request type Not used for this request type 4 35 Object length Not used for this request type Data buffer length Not used for this request type Data buffer Not used if supplementary code 2 0 If supplementary code 2 1 this field should contain the value of the secondary key to be used to index the object currently being archived Usage Notes 1 The NearArchive object indexed via a secondary key entry generated from an identify secondary key call is the object whose primary key and archive date are identified in the last write data request which preceded the call If no write
100. is used Omission of the FORCE parameter will implement standard execution of the utility 1 e recycle or compress datasets whose percentage level of active objects falls below the corresponding threshold supplied for the storage level being processed SCANTAPE The SCANTAPE parameter controls processing of tapes to be recycled when no active objects are registered for those tapes The following parameter values may be specified YES tapes selected for recycling for which no active objects are currently registered in the database s space management dataset should be scanned to perform fail safe verification that all objects on the tape are inactive This is the default value and should be used in all cases where there is no absolute certainty from application considerations that the tape to be recycled contains no active objects NO tapes selected for recycling for which no active objects are currently registered in the database s space management dataset should not be scanned ASM for S 390 v2 5 User Manual 7 21 to check for the presence of active objects All such tape volumes will be released from the database and optionally uncataloged as normal Enabling this option may considerably reduce execution times for the database maintenance process but should only be employed when there is absolute certainty that tape dataset of this type which are candidates for recycling will not contain any active object
101. less busy time The value of the TAPEWAIT parameter may need to be increased if this condition occurs frequently Abnormal condition detected during CICS retrieval C XX C YY Abend XXYY intercepted during CICS retrieval A transaction dump will have been written to the CICS dump dataset for both the above conditions Action Consult message in CSMT queue in NearArchive control region for details of the abnormal condition or abend Take the appropriate action to ensure that the error does not re occur NearArchive CICS transaction timeout Action No action necessary re enter transaction NearArchive CICS control region not initialized Action Enable the NearArchive control i for online retrieval b ASM for S 390 v2 5 User Manual 8 12 Return Bon Supp Description code ed 1 code 2 ASM for S 390 v2 5 User Manual running transaction OT23 in that region Secondary index identified in supp code 1 not defined for this database batch and CICS retrievals Action Check the application logic to determine the cause of the error Make the appropriate changes to ensure that error does not re occur Specified database not defined correctly CICS retrievals only Supplementary code 1 gives the identifier of the database system file which has not been defined to CICS Action Ensure that the system file identified in supplementary code 1 is correctly defined to CICS A request has been rejecte
102. macro documentation for a description of the error code Take the appropriate corrective action before repeating the request If necessary increase the amount of OSCOR storage allocated to the NearArchive control region If no apparent reason for the failure can be identified contact your NearArchive product support representative OTS26411 INTERNAL ERROR IN REDUCING MAXDRIVE Explanation An internal error has occurred reducing the value of the MAXDRIVE initialization parameter Action Contact your NearArchive product support representative OTS26412 REQUESTED UPDATE COMPLETED SUCCESSFULLY Explanation The requested modification to the NearArchive control region initialization parameters has been completed successfully Action None This is an information message ASM for S 390 v2 5 User Manual 8 129 OTS26413 COMMAND UNRECOGNIZED TRY AGAIN Explanation An invalid command has been entered using the NearArchive CICS operator command entry facility The update request is rejected Action Re enter the command using a valid command keyword Refer to section 6 5 1 of the manual for a description of valid commands OTS26414 MISSING OPERAND REQUEST REJECTED Explanation No keyword parameter value has been supplied on the NearArchive CICS operator interface SET command The update request is rejected Action Enter a valid keyword parameter and re enter the SET command Refer to section 6 5 1 of the manual
103. maintenance utility may be used to perform historical analyses of archived journal entries from the journal archive database 7 5 1 Functions The NearArchive journal maintenance utility performs the following functions e It sequentially processes a NearArchive database s journal dataset and produces a summary or detailed analysis of journal entries e If journal archiving has been enabled for the NearArchive database the utility will archive all entries from the journal dataset to the database s journal archive database e The contents of the journal dataset will be cleared on successful completion of the utility ASM for S 390 v2 5 User Manual 7 40 e The utility may be used to produce a summary or detailed analysis of archived journal entries from the database s journal archive database for a specified date interval e When processing the live journal file the utility will optionally sort all entries in the journal file to remove duplicate entries caused by cancellation or abnormal termination of a database update process 7 5 2 JCL Requirements The following JCL may be used to execute the NearArchive journal maintenance utility STEPL EXEC PGM OTASP070 REGION 4M PARM PRINT SUMMARY DETAIL RESTART NO YES DATE yyyymmdd yyyymmdd NODUPS STEPLIB DD DSN NearArchive load library DISP SHR eke OTASV100 DD DSN Database primary index name DISP SHR SYSPRINT DD SYSOUT
104. no apparent reason for the error 8 20 CICS Housekeeping Processing Messages OTS27000 nnnnn TEMPORARY STORAGE QUEUES DELETED Explanation This messages is written to the CICS CSMT transient data queue on completion of a temporary storage housekeeping cycle nnnnn gives the number of temporary storage queues deleted during this housekeeping cycle Action None This is an information message The NearArchive CICS temporary storage housekeeping cycle is automatically initiated every 5 minutes when enabled and will delete all temporary storage queues containing retrieved objects which have been in existence for longer than the retention period specified in the TSQDELETE control region parameter OTS27001 EIBRESP xxx RECEIVED FOR FUNCTION X yyy Explanation A CICS command failure occurred during control region housekeeping processing The response xxx and function codes yyy are as specified in the Exec Interface Block EIB ASM for S 390 v2 5 User Manual 8 131 Action Refer to CICS documentation for details of the function and response codes Take the appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS27002 ABEND xxxx RECEIVED DURING NEARARCHIVE RETRIEVAL PROCESSING Explanation Action An abend with code xxxx has occurred during control region housekeeping processing Refer to CICS documentation for details
105. no more space available in the disk dataset in this latter case the disk dataset will be closed and a new disk copy dataset created After all required entries have been made press ENTER Any invalid entry will be rejected and a corresponding message displayed in the top right hand corner of the panel For additional information regarding the error press PF1 To obtain help information regarding panel definition entries press PF1 once more When all entries have been accepted the primary index Access Method Services panel OTSN4302 will be displayed to enable customization of the primary index definition parameters for the NearArchive database being defined 3 1 3 Access Method Services Control After all database definition and initialization parameters have been accepted one or more Access Method Services AMS control panels will be displayed to allow customization of AMS parameters used by ASM for S 390 when defining system datasets for the database being defined AMS control panels will be displayed in the following sequence 1 OTSN4302 the primary index AMS control panel This panel is always displayed Values entered on this panel will be used when creating the primary index dataset VSAM KSDS for the database being defined ASM for S 390 v2 5 User Manual 3 21 2 OTSN4303 the journal dataset AMS control panel This panel will only be displayed if the audit control option was enabled on panel OTSN4300 Values e
106. not need modification to use version 2 5 of the product Note however that some of the new product functionality introduced since version 2 3 will not be available to applications using the old API Appendix D provides a specification of the pre v2 4 API D 1 The batch archival interface Batch archival calls to NearArchive are made by issuing standard CALL statements to the NearArchive module OTASP100 This module is supplied on the distributed ASM for S 390 load library and must be linked in to the calling program at link edit time to satisfy the external reference The CALL should identify a parameter block having the following general format Offset Length Type Description 0 2 Char Request code 2 2 Char Return code from NearArchive 4 2 Bin Supplementary request return code 1 6 2 Bin Supplementary request return code 2 8 k Char Primary key of data to be archived where k is keylength specified at database initialization time 8 k 6 Char Archival date in format YYMMDD 14 k 2 Bin Length L of data record to be archived ASM for S 390 v2 5 User Manual D 1 16 k L Char Data to be archived Any variations in field usage or interface layout for specific request codes will be identified in the description of those request codes in the following sections Note that sufficient storage must be allocated in the parameter block either via GETMAIN processing or via pre allocation in working storage to hold the
107. numbers of the other tape volumes containing the object in sequence The Data Buffer Length field will contain the total number of volume serial numbers in the data area on return from NearArchive Usage Notes 1 For batch or TSO applications the calling program should always set the data buffer length field to the maximum number of formatted entries which it can receive in the data buffer field prior to issuing a query index call Failure to do this may result in storage corruption due to NearArchive exceeding storage bounds within the calling program Where the number of formatted index entries satisfying a query exceeds the maximum n which a calling program has indicated that it will accept NearArchive will place the first n entries in the data area in the parameter interface block and set a return code of 00 and supplementary code 1 value of 4 In these circumstances the calling program should issue a further query index request specifying the same query criteria as in the first request NearArchive will then return the next n formatted entries in the data buffer field When all index entries which satisfy a query have been returned NearArchive will set a return code of 00 and supplementary code 1 value of 0 Note that in this case the number of returned entries may be less than n the data buffer length field will be reset to indicate the number of returned entries m in the
108. of data in response to a batch or online object retrieval request Creation and maintenance of all components of a NearArchive database is performed by the product itself No direct user access is required to any NearArchive system dataset The interface allows database updates to be explicitly committed at any point Updates may also be implicitly committed when a database is closed for output processing A restart facility is provided in order to facilitate rerun or restart of batch archival procedures after job failure without the requirement of any prior data recovery operation The NearArchive API can be invoked from a batch program to retrieve objects from a NearArchive database Objects to be retrieved are identified by primary key and archive date Each logical record within an identified object is returned sequentially to the calling application in response to a program call An indication is given by ASM for S 390 when all logical records for the specified object have been retrieved Direct or sequential retrieval of objects may be performed using the NearArchive batch retrieval interface Access to all components of a NearArchive database including dataset allocation and deallocation and data retrieval are supplied by ASM for S 390 No direct user access is required to any NearArchive system dataset Batch retrieval in this manner may be used for producing printed reports on archived data re printing archived bills etc This
109. of the abend and corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS27003 NEARARCHIVE NOT INITIALIZED HOUSEKEEPING PROCESSING TERMINATED Explanation Action A control region housekeeping cycle has been initiated but the control region is now disabled None This is an information message Control region housekeeping processing will be automatically re initiated when the control region is re enabled OTS27004 INVALID REQUEST ANCHOR BLOCK HOUSEKEEPING PROCESSING TERMINATED Explanation Action A control block used for NearArchive online database access is corrupt Control region housekeeping processing cannot continue Disable the NearArchive control region by using NearArchive transaction OT24 Re enable the control region using transaction OT23 If this does not resolve the problem contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 132 8 21 Batch Retrieval Request Processor Messages OTS32002 RC xx SC1 X yyyy SC2 X zzzz FROM SMF WRITE SMF RECORDING DISABLED Explanation A request to write an SMF record has been rejected by the NearArchive SMF processing component with the return and supplementary codes displayed in the message SMF recording of object retrieval activity will be disabled until the database is disconnected If the return code 14 an error was re
110. of the utility report file If required the report may be written to a sequential dataset with record format FBA and a logical record length of 133 bytes OTASIDCO The destination of the IDCAMS print report for execution of the AMS parameters supplied in files OTASIDC1 and OTASIDC2 If required the report may be written to a sequential dataset with record format FBA and a logical record length of 133 bytes C 3 Condition Codes OTASP032 will set a condition code on completion This code may take the following values 0 the utility has been executed successfully 4 a warning condition has been encountered during processing of the utility A warning message will have been written to the SYSPRINT dataset The utility has been executed successfully 8 an error condition has been encountered during processing of the utility An error message will have been written to the SYSPRINT dataset ASM for S 390 v2 5 User Manual C 5 12 a serious error has occurred during processing of the utility which prevented continued execution An error message will have been written to the SYSPRINT dataset Execution of the utility has been terminated C 4 Operator commands Execution of the utility may be terminated at any point by entering the following command through the system console STO P jobname where jobname is the name of the job used to execute the database regression utility The utility will acknowl
111. of these codes may be obtained by contacting your ASM for S 390 product support representative ASM for S 390 v2 5 User Manual 2 7 As ASM for S 390 is distributed on a processor license basis one authorization code is supplied for each processor on a customer site which requires access to the NearArchive product library To authorize the product IBM utility program AMASPZAP Superzap must be run to update the authorization module OTASPO0O50 in the distributed load library Use the following parameters NAME OTASP050 AUTHCODE REP mnnnn XXXXXXXX YYYYYYYY where nn 0000 for authorization code 1 0008 2 0010 3 0018 i 4 ete and XXXXXXXX yyyyyyyy is the supplied authorization code s ASM for S 390 will accept a maximum of 10 authorization codes NOTE ASM for S 390 is authorized for execution on designated processors only Any planned change or upgrade to a customer s host processor s should be communicated in advance to your ASM for S 390 product support representative so that new additional authorization codes may be supplied 2 4 Perform TSO logon procedure changes In order to enable NearArchive database administrators to define and maintain NearArchive databases via TSO ISPF see chapter 3 for details of this facility the following changes should be made to the appropriate TSO logon procedure s a Add the product load library to the ISPF load library concatenation fil
112. of those request codes in the following sections ASM for S 390 v2 5 User Manual D 23 The following request codes are available for the batch retrieval process Code Function 30 31 32 33 34 Open a NearArchive database for input or input output processing Query database index primary or secondary Retrieve data record direct or sequential Delete NearArchive object from database Close a NearArchive database for input or input output processing D 3 1 Request Code 30 Open Database An open database request must be issued prior to any retrieval or delete request to a NearArchive database The interface format for open requests differs from the standard interface format as described in section D 3 The amended format is as follows Offset Length 0 2 10 14 2 2 4 4 Type Description Char Request code Char Return code from NearArchive Bin Supplementary request return code 1 Bin Supplementary request return code 2 Bin Allocation recovery retry limit Char Database name Char Tape DDname over ride Call parameters should be set as follows Request code Return code Supplementary 30 not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call ASM for S 390 v2 5 User Manual D 24 code 1 This must contain one of the following values 1 open database for input processing no d
113. outstanding ASM for S 390 v2 5 User Manual 8 8 Return Supp Supp Description code code 1 code 2 Action Run the secondary index update utility to complete the asynchronous secondary index update process 2 Sec 1x id An archival open request has been received but both dynamic backout and asynchronous secondary index update have been enabled Action Disable dynamic backout and or asynchronous secondary index update processing and rerun the job 16 file id R15 RO An error has occurred locating a block on a NearArchive tape dataset Supplementary code 1 gives the identifier of the file on which the error occurred see description of file identifiers in section 8 2 1 Supplementary code 2 gives the contents of the low order bytes from register 15 and register 0 on return from the POINT macro Action Terminate processing Refer to IBM macro documentation for a description of the above values Contact your NearArchive product support representative if there is no apparent reason for the error 17 Duplicate NearArchive object identifier during batch archival An object with the primary key and date identified in the call interface parameters already exists in the NearArchive database Action Note duplicate record identification and proceed to next request Check the program logic to identify cause of the duplicate request and eliminate ASM for S 390 v2 5 User Manual 8 9 code code 1 code 2 Restar
114. passed during a batch archival request exceeded the maximum allowed for a database Action Terminate processing Amend application logic to reduce size of record passed to NearArchive ASM for S 390 v2 5 User Manual 8 7 Return Supp Supp Description code code 1 code 2 13 file id R15 RO An error has occurred retrieving the identifier of a data block from a NearArchive tape dataset Supplementary code 1 gives the identifier of the file on which the error occurred see description of file identifiers in section 8 2 1 Supplementary code 2 gives the contents of the low order bytes from register 15 and register 0 on return from the NOTE macro Action Terminate processing Refer to IBM macro documentation for a description of the above values Contact your NearArchive product support representative if there is no apparent reason for the error Archival date in program interface area was not a valid date value Archive override date in program interface area for restart batch archival open request was not a valid date value Action Terminate processing Examine program logic or data to discover cause of error and re run job 0 Normal archival open requested but previous archival run ended abnormally Action Amend application controls to request rerun processing and rerun job Sec ix id Normal archival open request but an asynchronous update for the secondary index identified in supp code 2 is still
115. processing access code 1 or 3 in the database name list The database should only be opened for input output processing if the batch application intends to delete objects from the database The name of the database to be connected is specified in the NearArchive connect request An application may only have one database connected for input output processing at any one time Multiple NearArchive databases may be connected for input output during execution of a batch application but each must be disconnected prior to connecting the next database Multiple databases may be simultaneously connected for input processing simultaneously In addition one database may be concurrently connected for input output or output processing Each connection request should specify a unique database name and DDname over ride entries offsets 0 and 16 in the database name list e Identify the primary key and archive date of the first NearArchive object to be retrieved from the database This identification will normally come from a batch input document or will be generated from processing of other datasets or databases e Issue a retrieve object record request code 42 for the object identified above This request should specify the primary key and archive date of the object to be retrieved The first logical record ASM for S 390 v2 5 User Manual 5 21 belonging to that NearArchive object will be returned in the data area in the NearArchive
116. product These will always return a response code of 00 to ASM for S 390 i e access to protected resources is always permitted These modules should be replaced with modules with identical names to implement customer specific security processing for batch and CICS applications This can be done during initial product installation or at any time subsequent to that Request and supplementary codes will be passed to the user exit program indicating the type of request to be validated These can take the following values Request code 01 Access a NearArchive database This request will be passed to the user exit program during batch connect processing The access type field will indicate whether the database is being opened for input or update processing This will take the value 1 when opening the database for input processing and 2 when opening the database for update processing The 4 character database identifier in the user exit parameters will identify the database being accessed Request code 02 Access an object from a NearArchive database This request will be passed to the user exit program prior to retrieving or deleting an object from a batch a CICS application or storing an object from a batch application The access type parameter field will be used to identify the type of access required This will take the value 1 for object retrieval 3 for object deletion and 4 for object storage The 4 character databa
117. program location identifier and yy and zz give the contents of the completion code and unit status fields from the IOB Action None This is an information message only NearArchive will automatically create a new tape dataset and continue archival processing normally 8 14 Online Request Processor Messages OTS20000 EIBRESP xxx RECEIVED FOR FUNCTION X yyy Explanation A CICS command failure occurred during command execution The response xxx and function codes yyy are as specified in the Exec Interface Block EIB Action Refer to CICS documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS20001 ABEND xxxx RECEIVED DURING NEARARCHIVE RETRIEVAL ROCESSING Explanation An abend with code xxxx has occurred during CICS retrieval processing Action Refer to CICS documentation for details of the abend and corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS20002 USER EXIT PROGRAM OTASUX02 NOT DEFINED TO CICS Explanation A program entry for the user exit program OTASUX02 has not been defined to CICS ASM for S 390 v2 5 User Manual 8 102 Action Ensure that the correct CICS table entries have been defined Refer to section 2 8 for information on CICS table definitions OTS20500 EIBRESP
118. recording of object retrieval activity by that task will be disabled until the task is restarted Action Increase the amount of available below the 16Mb line in the CICS private area for OS 390 non CICS storage requests by adjusting CICS initialization parameters and restarting CICS OTS25002 RC xx SC1 X yyyy SC2 X zzzz FROM SMF WRITE SMF RECORDING DISABLED Explanation A request to write an SMF record by a tape reader task has been rejected by the NearArchive SMF processing component with the return and supplementary codes displayed in the message SMF recording of object retrieval activity by that task will be disabled until the task is restarted If the return code 14 an error was received from the SMF write request In these circumstances supplementary code contains the error code from the SMFWTM macro Action For return code 14 refer to IBM documentation on SMF for an explanation of the SMFWTM error code Take the appropriate corrective action and stop and restart the reader task ASM for S 390 v2 5 User Manual 8 112 For other return codes or if no reason can be found for the SMF write error contact your NearArchive product support representative OTS25003 TASK nnn MULTI BLOCK REQUEST TIMEOUT Explanation Tape reader sub task nnn has waited for a response from the NearArchive object retrieval driver program for longer than the time interval specified in the TIMEOUT initiali
119. recovery utility any datasets successfully recovered during the failed run will have been removed from recovery status and will consequently not be processed during the rerun of the utility Because a tape dataset is only removed from recovery status after successful recovery of its primary copy failure or cancellation of the utility during recovery of a tape dataset will not alter that dataset s status All retrievals for that dataset will continue to be satisfied from the identified backup copy after utility failure or cancellation During rerun of the utility the partially restored primary copy dataset will be uncataloged prior to recovery and the recovery process repeated for that dataset If there are many tape cartridge volumes in recovery status or if the entire NearArchive database is being recovered the database recovery procedure may take some time to execute In these circumstances the procedure may be cancelled by the system operator at any time in order to allow access to the database from other jobs Execution of the database recovery procedure may subsequently be continued as required ASM for S 390 v2 5 User Manual 7 76 CHAPTER 8 Messages and Codes ASM for S 390 v2 5 User Manual This page is intentionally left blank ASM for S 390 v2 5 User Manual 8 2 NearArchive components communicate with the user through informational warning and error messages All NearArchive messages are accompanied by a me
120. release will use the two names interchangeably In general references to the product itself will specify ASM for S 390 references to product components will specify NearArchive User interfaces supplied by this release of the software will continue to identify the product as NearArchive As before the ASM for S 390 user manual is intended for use by application system designers and developers to enable them to use the database management facilities provided by ASM for S 390 in order to incorporate the processing of archived data into existing or planned application systems Version 2 5 of ASM for S 390 will only execute with OS 390 version 1 1 or higher and CICS ESA version 3 3 or higher for online database access This manual does not contain any information which is dependent on the release of OS 390 or CICS which is in use on the ASM for S 390 host Any such release dependent information will be contained in the installation material sent to customers with the distribution tape I 1 New in version 2 5 The following enhancements have been introduced in version 2 5 of ASM for S 390 e The maximum number of storage levels which may be defined for a NearArchive database has been increased from 2 to 8 To support this enhancement modifications have been introduced to the object management utility OTASP040 to allow direct migration between any two storage levels in the database In addition applications will now
121. report This report gives totals of blocks records and bytes processed during execution of the utility The following totals are reported Total number of bytes in tape dataset Total number of blocks in tape dataset Total number of records in tape dataset Length of largest block in dataset Length of longest logical record in dataset Error or warning messages generated during execution of the utility will be written to the processing summary report All messages will have the message identifier OTSO20xx where xx is a numeric value in the range 00 99 Refer to chapter 8 of this manual for a description of all messages issued by the index print utility 7 2 6 Utility Failure and Restart Considerations There are no special considerations for rerunning the utility after an earlier failure The job used to execute the utility may be resubmitted without modification when the cause of the original failure has been identified and rectified ASM for S 390 v2 5 User Manual 7 16 7 3 OTASP030 the NearArchive Database Maintenance Utility When an object is deleted from a NearArchive database or an object exceeds its retention period its primary index entry will be modified to indicate that the object no longer exists Index entries for deleted or expired objects in a NearArchive database will be physically removed during execution of the NearArchive object management utility OTASP040 The NearArchive database maintenance uti
122. request NearArchive will access the next object stored in physical sequence following the tape copy of the object which had been directly retrieved Sequential processing will continue by retrieving tape copies of objects from that point onwards ASM for S 390 v2 5 User Manual D 33 D 3 4 Request Code 33 Delete Object This call is issued by an application to delete an object from a NearArchive database The database must be open for input output processing for a delete request to be accepted The standard interface format is used for this request Interface parameters should be set as follows Request code 33 Return code not required on entry This field will contain a 2 character value on return from NearArchive Supplementary code 1 not used on entry May contain a value on return giving additional information after an exception condition Supplementary code 2 not used on entry May contain a value on return giving additional information after an exception condition Primary key primary key of NearArchive object to be deleted Archival date date of NearArchive object to be deleted Data length not used for this request code Data area not used for this request code Usage notes 1 The NearArchive database must be opened for input output processing request code 30 supplementary code 1 2 prior to issuing a batch deletion request A return code of 89 will be set by NearArchive in response to a
123. retrieval from that volume have been completed during online retrieval CICS processing If a non zero tape drive retention period has been specified in the preceding field volumes containing one or more objects whose age as determined by object archive date falls within the range specified here will be retained on the tape drive after all outstanding retrieval requests have been completed This will improve retrieval performance for subsequent accesses to that volume Volumes not in this category will be automatically dismounted after 3 31 use irrespective of the tape drive retention value specified in the preceding field Refer to section 6 4 1 of this manual for additional information on this topic Enter the range of ages in days which is to be used to control this processing Each value must be a 1 5 character numeric identifier in the range 0 65535 The value specified for the end of the age range must be greater than or equal to the value specified for the start of the age range Audit trailon Enter Y to enable the audit trail facility for this database This will cause all updates to the database to be logged in the database s journal dataset This dataset will be automatically created during database maintenance processing if the audit trail facility is being enabled for the first time Enter N to disable the audit trail facility for this database The database s journal dataset will not be deleted when th
124. returned record belongs Not used on exit for direct reads Archival date date of NearArchive object to be accessed For a direct read request supplementary code 1 0 this field must contain on entry the archive date of the NearArchive object to be retrieved Not used on entry for sequential reads If the archive date on entry ASM for S 390 v2 5 User Manual D31 is set to 000000 NearArchive will return the oldest object with the specified primary key If the archive date on entry is set to 999999 NearArchive will return the newest object with the specified primary key value For a sequential read request supplementary code 1 set on exit by NearArchive with the archive date of the NearArchive object to which the returned record belongs Not used on exit for direct reads Data length on entry gives the maximum record length which the application can accept in the following field On exit gives the actual length of the data record in the following field If the retrieved record is longer than the maximum specified on entry it will be truncated and a return code of 04 set to indicate this occurrence In this case this field will give the truncated record length Data area contains the retrieved record on return from NearArchive after a successful call Usage notes 1 Applications can issue a combination of direct and sequential retrieval requests as required in any order 2 A direct retr
125. sense bytes from the IOB on completion of the request Execution of the utility is terminated Action Refer to documentation relating to the tape device on which the error was detected for an explanation of the diagnostic codes in the message Take the appropriate corrective action and rerun the job If no reason can be identified for the error contact your NearArchive product support representative OTS11043 INCREMENTAL BACKUP COUNT CANNOT EXCEED 9999 GOING TO NEXT RECORD Explanation A primary tape dataset has been selected for backup processing when TYPE INCREMENTAL has been set in the execution parameters but the maximum number of 9999 incremental backup datasets already exist for that primary dataset No backup processing will be performed for the selected primary dataset A program condition code of 4 will be set and processing will continue with the next primary dataset to be backed up Action Full volume backup processing must be performed on the database in order to release all the incremental backup datasets that have been created for the selected primary copy dataset Re run the utility with an execution parameter of TYPE FULL or allow this to default Incremental backup processing may then be resumed as normal OTS11046 OTASBKUP DATASET IS MISSING FOR K COPY REQUEST Explanation COPY K has been specified in the EXEC parameters but there is no OTASBKUP DD entry in the JCL used to exe
126. storage level migration processing has taken place the NearArchive database backup utility should be run after each execution of the object management utility to create backup copies of all target storage level tape datasets created or updated during object migration processing e Prior to terminating the utility will automatically delete all disk K copy datasets which no longer contain any active object copies 7 4 2 JCL Requirements The following JCL may be used to execute the NearArchive object management utility STEP1 EXEC PGM OTASP040 REGION 4M 77 PARM PRINT SUMMARY DETAIL RESTART NO YES SIMULATE NEWTAPE YES NO INLEVEL n OUTLEVEL n DATE yyyy mm dd nnn nnn LL STEPLIB DSN NearArchive load library DISP SHR OTASV100 DSN Database primary index name DISP SHR SYSPRINT SYSOUT SORTOUT DSN amp amp SORTOUT DISP NEW UNIT xxxxxxxx SPACE CYL y z The following optional EXEC parameters may be specified PRINT Specify the PRINT parameter to identify the type of reports to be produced by the utility see section 7 2 6 for a description of utility reports The parameter may take one of the following values SUMMARY produce summary expiration and migration processing reports DETAIL produce detailed expiration and migration processing reports
127. that the last ASM for S 390 retrieval operation was completed for waiting tasks which have not dismounted the last tape used status indicator WTRT This time is taken from the timestamp that is used by ASM for S 390 to identify the least recently accessed tape when it is necessary to dismount a drive in order to satisfy a new request This field is not used for disk reader tasks ASM for S 390 v2 5 User Manual 6 21 The last but one line of this display screen is used for displaying error and information messages The following keys may be used to control the operator interface procedure from this screen PF3 This will exit from the summary display screen and cause the main operator interface menu to be re displayed PF7 This will scroll back to display the previous set of NearArchive tasks when there are more than 14 tasks initiated in the control region PF8 This will scroll forward to display the next set of NearArchive tasks when there are more than 14 tasks initiated in the control region ENTER This will process any selections made by the operator in the selection column If no selections have been entered the summary is updated and re displayed A maximum of one selection is permitted per entry Multiple selections will be rejected by ASM for S 390 Selection characters may take the following values in upper or lower case S This selection is used to request a formatted display of processing details for t
128. the database is not disconnected normally or is closed without committing updates supplementary code 2 1 for request code 49 and dynamic backout is not enabled then ASM for S 390 v2 5 User Manual 5 9 uncommitted objects will remain in the database The database will be marked by NearArchive as being in an uncommitted state Backout of these objects and re use of the tape space occupied by them for non Volsafe tape volumes will take place during re archival of uncommitted objects during restart of the archival process NearArchive will prevent further updates to that database while it is an uncommitted state by rejecting any requests to connect that database for normal output processing access codes 4 or 5 In order to successfully connect to an uncommitted database for output an application must connect for restart update processing access code 6 On receipt of this request for non Volsafe tape volumes NearArchive will reposition in the database to the tape location at which the last successful commit request was issued during the failed archival run or to the point at which the database was last opened for output processing if no explicit commit request was issued For Volsafe tape volumes NearArchive will position to the end of the tape dataset After successfully issuing the restart update connect request the application may then continue to write data objects to the NearArchive database For non Volsa
129. the database name list on the connect request Note that objects must all be stored in the same storage level during any single database connection To change the storage level the application should ASM for S 390 v2 5 User Manual 5 6 disconnect from the database and reconnect specifying a different storage level in the database name list The archival application must locate and identify data to be archived Identification of data eligible for archival is an application specific function It may be done on the basis of age of data or by any other method appropriate to the archival application The location of the data to be archived is similarly dependent on the nature of the archival application itself ASM for S 390 does not have any built in interfaces to specific disk database management systems It is the responsibility of the calling application to process that data via the standard interface s supplied with the appropriate database management system product Establish the unit of data which is to be archived as a single object in a NearArchive database A NearArchive object can consist of multiple logical records Each logical record within the NearArchive object will be stored in the same physical location and will be indexed by a single primary index entry consisting of primary key and archive date All logical records belonging to the same NearArchive object may normally be retrieved via batch or line processing throug
130. to IBM documentation on VSAM macro processing for details of the return and reason codes Ensure that the NearArchive database has been defined correctly If no cause of the error can be identified contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 91 OTS13010 INTERNAL NEARARCHIVE PROCESSING ERROR Explanation An internal error has occurred during execution of the utility Processing is terminated Action Retain all information regarding execution of the utility and contact your NearArchive product support representative OTS13011 ERROR X xxyy UPDATING CONTROL RECORD FOR STORAGE LEVEL a Explanation An error has occurred when updating the control record for storage level a in the NearArchive database s primary index xx and yy are the hexadecimal return and reason codes respectively from the VSAM PUT macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job OTS13013 UNABLE TO OPEN DATASET WITH DDNAME aaaaaaaa DCB OPEN FLAG bb Explanation An error has occurred attempting to open the sequential file with DDname aaaaaaaa aaaaaaaa may contain the following values OTAST100 Primary archive volume OTAST200 B copy of primary volume bb is the value in the DCB open flag after failure of the request Action Refer to other sy
131. type identifier and xxxx is a unique 4 character string which is used to identify the database Each group of file entries includes required and optional entries as follows ASM for S 390 v2 5 User Manual 2 15 Required entries f OTASxxxx the primary index entry DEFINE DSNAme Lsrpoolid m STRings nnn Opent DIsposition SHARE ECORDFormat V dd NO Rowse YES ELet ET Ce File OTASxxxx primary index dataset name me FIRSTREF NO EAd Y ES pdat D gua w S w Ce YES NO Ournal NO 1 NLRead NONE UPDATEONLY ECOVery NONE ALL Fwdrecovlog NO 1 99 Update access to this dataset is only required if database objects are to be deleted from online processing applications In this case the JOurnal JNLRead RECOVery and Fwdrecovlog parameters should be set as required g OSMOxxxx the storage level 0 space management dataset DEFINE File OSMOxxxx DSNAme hlq SPACEMLO Lsrpoolid m STRings nnn Opentime FIRSTREF DIsposition SHARE RECORDFormat V Add NO BRowse YES D R lt ELete NO EAd YES Update NO where hlq is the high level qualifier defined for this database during the database definition and initialization procedure see chapter 3 Update access to this dataset is not required ASM for S 3
132. utility 7 7 5 Utility Processing Reports The following reports will be written by the database backup utility to the SYSPRINT dataset e Backup processing report This report will print details of each full volume or incremental backup dataset created during the backup procedure and of each existing primary or incremental backup tape dataset which has been released uncataloged or deleted during utility execution Error or warning messages generated during execution of the utility will be written to the backup processing report All messages will have the message identifier OTS110xx where xx is a numeric value in the range 00 99 Refer to chapter 8 of this manual for a description of all messages issued by the database backup utility 7 7 6 Utility Failure and Restart Considerations If the database backup utility fails to complete successfully return code greater than 4 refer to the processing report in the SYSPRINT dataset to ASM for S 390 v2 5 User Manual 7 68 identify the cause of the problem After correcting the error the utility may be rerun There are no special restart requirements Primary tape datasets successfully backed up during the failed run will not require processing during rerun of the utility The full volume or incremental backup dataset s being created when the failure occurred will be automatically uncataloged or deleted by the utility and recreated during the rerun If the failure was due
133. utility is terminated Action Correct the invalid parameter entry and rerun the job OTS02007 UNABLE TO OPEN INPUT TAPE FILE Explanation An error has occurred opening the tape file to be scanned by the utility Execution of the utility is terminated Action Refer to other system messages for additional information concerning the failure Rectify the problem and rerun the job OTS02008 INVALID EXECUTION PARAMETER SPECIFIED Explanation A invalid parameter keyword has been detected when validating execution parameters Processing of the utility is terminated Action Correct the invalid parameter entry and rerun the job OTS02009 ENDBLK AND COUNT PARAMETERS CANNOT BOTH BE SPECIFIED Explanation The ENDBLK and COUNT parameters are both present in the execution parameter list This is an invalid combination Execution of the utility is terminated ASM for S 390 v2 5 User Manual 8 27 Action Correct the invalid parameter entry and rerun the job Refer to section 7 1 for a description of the execution parameters which may be specified for the utility OTS02010 STARTBLK PARAMETER IS HIGHER THAN ENDBLK Explanation Action The value specified in the STARTBLK parameter is greater than that specified in the ENDBLK parameter This is an invalid condition Execution of the utility is terminated Correct the invalid parameter entry and rerun the job Refer to section 7 1 for a description of the executio
134. validated successfully panel OTSN4303 will be displayed if the AUDIT trail on field on panel OTSN4300 was set to Y otherwise the main NearArchive database administration menu panel OTSN4000 will be displayed after successful completion of the database definition process e On panel OTSN4303 specify the AMS parameters for the journal dataset default options will be taken for unspecified fields Volume serial number serial number of disk volume on which journal file is to be resident leave blank if this is to be system controlled Unit of allocation CYL Primary allocation value 1 Secondary allocation value 1 Press ENTER when completed Panel OTSN4000 will be displayed after successful completion of the database definition process ASM for S 390 v2 5 User Manual AA A 2 3 Define Secondary Indexes e On panel OTSN4000 select option 2 and press ENTER Panel OTSN4200 will be displayed e On panel OTSN4200 select option 2 and press ENTER Panel OTSN4220 will be displayed to allow definition of secondary indexes e On panel OTSN4220 specify the following Option 2 Add new secondary index Secondary index no 1 Press ENTER when completed Panel OTSN4221 will be displayed e On panel OTSN4221 specify the secondary index definition details as follows Secondary key specification Length Start position in record 1 Automatic indexing controls Record no within object 1 The record from which the
135. via EXEC parameter e Incremental backup mode When executing in incremental backup mode the utility will identify all primary tape datasets which have been updated since the preceding execution of the utility and will copy all objects which have been added to the database since that execution to a primary I copy incremental backup dataset and optionally a duplex J copy incremental backup dataset There will be one set of incremental backup datasets for each corresponding primary copy dataset which has been processed by the utility Device types used for incremental backup datasets do not have to match those used for creating the primary copy dataset Each incremental backup dataset may be a multi volume file All incremental backup datasets primary and duplex for a primary copy dataset will be automatically uncataloged when a full volume backup of the primary copy is created by the utility ASM for S 390 v2 5 User Manual 7 58 Mode of execution is controlled by the TYPE execution parameter The utility should be executed after a NearArchive database has been updated via batch archival application processing or after execution of the NearArchive database maintenance or object management utilities The tape datasets to be backed up are automatically identified by NearArchive Refer to section 5 2 3 of this manual for a general description of database backup processing 7 7 1 Functions The NearArchive dat
136. will allocate simultaneously to satisfy online retrieval requests for tape resident objects default value 4 MAXQLEN 1 3 numeric digits in the range 1 256 specifying the maximum number of concurrent requests which will be queued by the NearArchive control region for any one active tape dataset default value 4 Any request which causes either of the above limits to be exceeded will be rejected by ASM for S 390 with return code 21 unless a non zero value has been specified for the TAPEWAIT parameter see below ASM for S 390 v2 5 User Manual 2 24 MAXDISK TSQDELETE TAPEWAIT ASM for S 390 v2 5 User Manual 1 3 numeric digits giving the maximum number of disk reader tasks must be greater than zero which the NearArchive control region will initialize to satisfy online retrieval requests default value 4 This defines the maximum number of disk K copy object retrieval requests that may be processed simultaneously A new request for retrieval of a disk copy of an object will be added to the shortest existing task queue if all reader tasks are currently busy There is no limit to the length of the task queue for each disk reader task 1 4 numeric digits in the range 0 1440 specifying the number of minutes for which a temporary storage queue containing a retrieved object in any CICS region in the MRO configuration containing the NearArchive control region is to be retained after retrieval The max
137. x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 a A A X p ESI EST EST EST EST EST EST ESI EST EST EST EST EST EST ESI EST EST ESI EST EST ESI ESI EST ESI D B p p p p p p p p KEY 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 NEARARCHIVE VERSION 2 5 INSTALLATION VERIFICATION PROCEDURE DATE 19980401 19980401 19980401 19980401 19980401 19980401 19980401 19980401 19980401 19980401 19980401 19980401 19980401 19980401 20010821 20010821 20010821 20010821 20010821 20010821 REC LEN 1 80 0 90 200 16448 210 RECORD AREA TEST DAT SEC50 DAT DAT DAT DAT SEC50 DAT DAT DAT DAT DAT DAT DAT DAT DAT SEC50 DAT DAT DAT DAT SEC50 DAT TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT
138. 0 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 D B NAME EST EST EST EST ESI EST EST EST EST EST EST ESI EST EST EST EST EST EST ESI ESI EST EST EST EST EST p p p p p p p KEY 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 133456789 223456789 223456789 223456789 223456789 223456789 223456789 233456789 233456789 233456789 233456789 123456789 123456789 143456789 NEARARCHIVE VERSION 2 5 INSTALLATION VERIFICATION PROCEDURE CALL AUDIT REPORT DATE 20010821 9980930 19980930 9980930 9980930 9980930 9980930 9981020 9981020 9981120 9981120 9980526 9980605 9980605 19980708 9980708 9980708 9980708 9981012 9981012 9981012 19980811 9930929 9930929 9930604 REC LEN 128 T28 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 RECORD AREA
139. 2 tape dataset recovery 16 tape disposition 42 tape retrieval I O driver messages 133 tape scan utility 12 tape sequence number 20 TAPEWAIT 15 19 25 28 temporary storage queue 3 7 28 temporary storage queue name 29 temporary storage queue stringing 7 31 TIMEOUT 10 13 15 26 29 TSO ISPF 3 10 11 TSQ pointer record 8 TSQDELETE 4 13 15 18 25 28 30 U uncommitted objects 10 unitname 13 user exit 5 27 user exit parameter area 29 user SVC 6 utilities 19 V Volsafe 4 7 15 volume recovery 52 70 volume unavailable 51 55 70 W write object record 31
140. 2 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 D B TEST TEST TEST TEST 3 3 EST R q EST TEST TEST TEST TEST TEST E 3 EST a q EST TEST TEST TEST TEST TEST 3 3 EST a 3 EST 2 q EST TEST TEST TEST KEY 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 NEARARCHIVE VERSION 2 5 INSTALLATION VERIFICATION PROCEDURE CALL AUDIT REPORT DATE 9980401 19980401 9980401 9980401 9980401 9980401 9980401 9980401 9980401 9980401 9980401 9980401 9980401 20010821 20010821 20010821 20010821 20010821 20010821 20010821 20010821 20010821 20010821 20010821 REC LEN 1 80 90 100 70 180 90 200 210 220 128 RECORD AREA TEST DATA SEGMENT 1 KEY 123456789 DATE DATA SEGMENT 2 KEY 123456789 DATE DATA SEGMENT 3 KEY 123456789 DAT DATA SE
141. 2 5 User Manual 6 20 TM the task has been terminated either by a reduction in the value of MAXDRIVE or MAXDISK or by explicit termination from the operator interface The last two characters may take the values SH task shutdown has been requested This will be processed when all requests which were queued when the shutdown was requested have been completed RT for a waiting tape reader task this means that the last tape volume processed by this task has been retained on the drive The Dataset in use field identifies the name of the retained tape dataset and the Last user field identifies the time that the last retrieval from that tape volume was completed by ASM for S 390 For a busy task this indicates that the tape currently being processed by this task will be retained on the drive after all requests have been serviced This code will not occur for disk reader tasks MB the task has paused during a multi block retrieval request Blanks in this field mean that none of the above conditions apply Qlen For busy tasks this field gives the number of requests currently queued for that task For waiting tasks this value should always be 0 Dataset in use This field identifies the name of the dataset currently being processed for busy tasks and for waiting tape reader tasks for which the last tape used has been retained on the drive status indicator WTRT Last use This field gives the time
142. 2 5 User Manual B 10 B 2 2 Query Database EARARCHIVE CALL PARAMETERS RM C100 INIT NEARARCHIVE PARMS 41 lO W02 REQUEST CODE 49 lO W02 SUPP CODE1 3 lO W02 SUPP CODE2 V100 l O W02 DATABASE NAME 3 l O W02 DATA LENGTH W06 SEC IX K lO WO2 DATA Hae ae Q D E E OTASP100 USING WO2 NE IF W02 RETURN CODE PERFORM D000 PROC ELSE IF W02 RETURN CODE PERFORM D100 NO ELSE MOV MOV W02 RE E ERR MSG2 R W0O2 SUF E ERR MSG2 S MOV W0O2 SUF E ERR MSG2 S MOV W99 E ERR MSG PERFORM Z900 E Hef d Notes 1 Initialize NearArchive parameter block 2 W02 REQUEST CODE 3 W02 SUPP CODE1 41 query index Identifies the index to be queried In this example secondary index 49 is to be queried 4 W02 SUPP CODE2 Specifies the sort sequence for the returned items x 03 Descending date within descending key 5 W02 DATA LENGTH Specifies the maximum number of formatted index entries to be returned by NearArchive 6 W02 DATA On entry to NearArchive this specifies the secondary key to be queried for a secondary index call In this example W06 SEC IX KEY 49 contains the secondary key This field must be the same length as that of the secondary key in index 49 ASM for S 390 v2 5 User Manual B 11 On retur
143. 20 initialized Operator interface processing cannot be performed Action Initialize the NearArchive CICS control region using NearArchive CICS transaction OT23 before invoking the operator interface facility OTS26202 STATUS DISPLAY MAY ONLY BE INVOKED FROM CONTROL REGION Explanation The operator interface facility has been invoked from a secondary NearArchive region This facility is only available from within a NearArchive control region Action Sign on to the NearArchive control region and invoke the operator interface facility from there OTS26203 STATUS ERROR CORRUPT ANCHOR BLOCK Explanation A control block used for NearArchive online database access is corrupt Processing of the operator interface facility cannot continue Action Disable the NearArchive control region by using NearArchive transaction OT24 Re enable the control region using transaction OT23 If this does not resolve the problem contact your NearArchive product support representative OTS26204 STATUS ERROR CORRUPT REQUEST HEADER Explanation A control block used for NearArchive online database access is corrupt Processing of the operator interface facility cannot continue Action Disable the NearArchive control region by using NearArchive transaction OT24 Re enable the control region using transaction OT23 If this does not resolve the problem contact your NearArchive product support representative
144. 23456791 323456791 323456791 323456792 323456792 323456792 1323456793 323456793 323456793 Fig A3 job OTASD213 DATE DATE DAT DAT DATE DATE DATE DATE DATE DAT DAT DATE DATE DAT DATE DAT DAT DAT DATE DATE DATE DATE DATE DAT YYYY MM DD HH MM 3171271999 31 12 1999 31 12 1999 01 01 2000 01 01 2000 10 03 2002 10 03 2002 14 04 1998 14 04 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 PAGE 1 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 49 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 X R X p D B EST EST EST EST ESI EST EST EST ESI EST EST ESI ESI p p p p KEY 323456794 323456794 323456794 323456795 323456795 323456795 323456796 323456796 323456796 323456797 323456797 323456797 INSTALLATION VERIFICATION PROCEDURE DATE 19980130 19
145. 262 Action Enter a valid numeric identifier in the range 1 255 and press enter ASM for S 390 v2 5 User Manual 8 122 OTS26210 EIBRESP xxx RECEIVED FOR FUNCTION X yyy Explanation Action An unexpected CICS command failure occurred during operator interface processing The response xxx and function codes yyy are as specified in the Exec Interface Block EIB Refer to CICS documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS26211 ABEND xxxx RECEIVED DURING NEARARCHIVE OPERATOR INTERFACE PROCESSING Explanation Action An abend with code xxxx has occurred during CICS operator interface processing Refer to CICS documentation for details of the abend and corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS26301 NEARARCHIVE NOT INITIALIZED Explanation Action The CICS operator interface facility has been invoked but the NearArchive control region has not yet been initialized Operator interface processing cannot be performed Initialize the NearArchive CICS control region using NearArchive CICS transaction OT23 before invoking the operator interface facility OTS26302 STATUS DISPLAY MAY ONLY BE INVOKED FROM CONTROL REGION Explanation Action The operator interface faci
146. 3 22 Primary index name Volume serial number Unit of allocation Primary allocation value ASM for S 390 v2 5 User Manual This field gives the name of the database s primary index dataset as entered on panel OTSN4000 This dataset will be created during database initialization processing The contents of this field may not be amended Optional entry Enter the serial number 1 6 alphanumeric national or special characters of the disk volume on which the dataset is to be created This parameter may be omitted if the volume is to be automatically selected by the operating system Optional entry Enter one of the following values which is to be used to identify the unit of allocation specified in the primary and secondary allocation value fields CYL allocation is to be performed in cylinders TRK allocation is to be performed in tracks REC allocation is to be performed in records If this entry is omitted a default value of CYL is used i e primary and secondary allocation units are specified in cylinders Mandatory entry Enter the number of allocation units as entered or defaulted in the preceding field to be used for allocation of the primary data extent of the dataset Refer to section 3 1 4 for information on choosing a primary allocation value 3 23 Secondary Mandatory entry Enter the number of allocation allocation value units as entered or defaulted in the unit of allocation field to b
147. 3007 ERROR X xxyy READING PROCESSING CONTROL RECORD Explanation Am error has occurred reading the processing control record from the NearArchive database s primary index dataset xx and yy are the hexadecimal return and reason codes respectively Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Ensure that the NearArchive database has been defined correctly If no cause for the error can be identified contact your NearArchive product support representative OTS13008 OTASV100 IS A PRE VERSION 2 5 DATABASE RECOVERY UTILITY CANNOT EXECUTE Explanation The NearArchive database being processed has not been converted for use by this release of the product Execution of the utility is terminated Action Database recovery processing is only permitted for databases which have been converted for use with v2 5 Execute the database conversion process using the NearArchive database administration procedure in TSO ISPF before rerunning the job Refer to chapter 3 of this manual for information about the database conversion process OTS13009 ERROR X xxyy READING CONTROL RECORD FOR STORAGE LEVEL a Explanation An error has occurred when reading the control record for storage level a from the NearArchive database s primary index dataset xx and yy are the hexadecimal return and reason codes respectively Processing is terminated Action Refer
148. 3204 UNABLE TO OPEN DATASET WITH DDNAME dddddddd DCB OPEN FLAG xx Explanation An open error has occurred when opening the non VSAM file dddddddd xx is the DCB flag returned from the OPEN macro Processing is terminated ASM for S 390 v2 5 User Manual 8 45 Action Refer to IBM documentation for details of the OPEN error Take the appropriate corrective action and restart the job OTS03205 ERROR X xxyy aaaaaaaa bbbb bbbb IN FILE dddddddd eeee eeee Explanation An error has occurred processing a VSAM file xx and yy are the hexadecimal error and reason codes returned from the processing request dddddddd is the DD name associated with the file and eeee eeee is the name of the VSAM dataset aaaaaaaa identifies the type of processing being performed when the error occurred This may take the values READING WRITING UPDATING or LOCATING bbbb bbbb identifies the type of record being processed This may take the values PROCESSING CONTROL RECORD STORAGE LEVEL CONTROL RECORD START OF FILE or SEQUENTIALLY Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and rerun the job OTS03206 INTERNAL ERROR RECEIVED AT LOCATION aaaaaaaa Explanation A NearArchive internal error has occurred Processing is terminated
149. 5 User Manual 7 59 e When performing disk copy backup processing the utility will automatically delete all existing disk copy datasets associated with each primary tape dataset being processed e The utility verifies that the capacity of the full volume backup volume s is not less than that of the primary volume If it is an error message is issued to the print file and processing of the utility terminates e Creates and catalogs the required full volume backup dataset s as identified in the COPY execution parameter If COPY K has been specified create or re create a disk copy dataset the utility will only copy objects to the disk copy datasets if they are currently eligible for disk residency as defined via the disk retention period parameters for the storage level being processed e If COPY K has been specified multiple disk copy datasets may be created for each primary tape dataset processed by the utility The disk processing parameters defined for the storage level containing the dataset being processed will be used to control the size of each individual disk copy dataset e After successfully creating a full volume tape backup of the primary tape dataset existing incremental backup datasets for that primary dataset will be automatically uncataloged e A processing report will be written to the SYSPRINT dataset giving details of all full volume backup tape or disk datasets which have been uncataloged or
150. 5 User Manual 7 62 Note that the presence of the COPY execution parameter will over ride the current duplex during backup setting for the database storage level being processed by the utility LEVEL Specify the LEVEL parameter to identify the database storage level to be processed by the utility The parameter value n may take one of the following values yt n process storage level n only ALL process all storage levels in the database If this parameter is omitted a default value of ALL is used Where a database has only one storage level specifying a value of ALL for this parameter or allowing it to default will cause the utility to process storage level 0 only This parameter should not be coded when creating disk copy datasets COPY K For this type of processing the primary datasets to be backed up are identified via the OTASBKUP DD entry A warning message will be issued by the utility in these circumstances but execution will continue normally UNITPRI This parameter is used to identify the unit name to be used when allocating a new primary I copy incremental backup dataset The operand should be a valid 1 8 character device type or esoteric name as defined to OS 390 This parameter is only permitted when TYPE INCREMENTAL has also been specified If omitted the B copy unit name as defined during storage level definition and update processing in TSO ISPF will be used
151. 6 Action Initialize the NearArchive CICS control region using NearArchive CICS transaction OT23 before invoking the operator interface facility OTS26102 STATUS DISPLAY MAY ONLY BE INVOKED FROM CONTROL REGION Explanation The operator interface facility has been invoked from a secondary NearArchive region This facility is only available from within a NearArchive control region Action Sign on to the NearArchive control region and invoke the operator interface facility from there OTS26103 STATUS ERROR CORRUPT ANCHOR BLOCK Explanation A control block used for NearArchive online database access is corrupt Processing of the operator interface facility cannot continue Action Disable the NearArchive control region by using NearArchive transaction OT24 Re enable the control region using transaction OT23 If this does not resolve the problem contact your NearArchive product support representative OTS26104 STATUS ERROR CORRUPT REQUEST HEADER Explanation A control block used for NearArchive online database access is corrupt Processing of the operator interface facility cannot continue Action Disable the NearArchive control region by using NearArchive transaction OT24 Re enable the control region using transaction OT23 If this does not resolve the problem contact your NearArchive product support representative OTS26105 INVALID KEY HIT TRY AGAIN Explanation An invalid p
152. 6 00 x0000 44 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 46 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 a A A X p D B EST ESI EST EST EST EST EST EST ESI EST EST EST EST EST EST ESI EST EST ESI ESI EST ESI ESI EST EST p p p p p p p p KEY 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 133456789 223456789 NEARARCHIVE VERSION 2 5 INSTALLATION VERIFICATION PROCEDURE DATE 20010821 20010821 20010821 20010821 20010821 20010821 19980930 19980930 19980930 19980930 19980930 19980930 19981020 19981020 19981120 19981120 19980526 19980605 REC LEN RECORD AREA DATA SEG DATA SEG DATA SEG DATA SEGME DATA SEG DATA SEG DATA SEGME SEC50 01 DATA SEG DATA SEG DATA SEG DATA SEGME SEC50 05 DATA SEG DATA SEG SEC50 01 DATA SEGME DATA SEGME SEC50 01 DATA SEGME DATA SEGME SEC50 01 DATA SEGME SEC50 01 ENT ENT ENT ENT
153. 7 5 3 Condition Codes 7 45 7 5 4 Running the Utility 7 45 7 5 5 Utility Processing Reports 7 46 7 5 6 Utility Failure and Restart Considerations 7 48 7 5 7 Journal Dataset Specification 7 48 7 6 OTASP080 the NearArchive Secondary Index Update Utility 7 52 7 6 1 Functions 7 53 7 6 2 JCL Requirements 7 54 7 6 3 Condition Codes 7 56 7 6 4 Running the Utility 7 56 7 6 5 Utility Processing Reports 7 57 7 6 6 Utility Failure and Restart Considerations 7 57 7 7 OTASP110 the NearArchive Database Backup Utility 7 58 7 7 1 Functions 7 59 7 7 2 JCL Requirements 7 61 7 7 3 Condition Codes 7 66 7 7 4 Running the Utility 7 66 7 7 5 Utility Processing Reports 7 68 7 7 6 Utility Failure and Restart Considerations 7 68 7 8 OTASP130 the NearArchive Database Recovery Utility 7 70 7 8 1 Functions 7 71 ASM for S 390 v2 5 User Manual 7 8 2 JCL Requirements 7 8 3 Condition Codes 7 8 4 Running the Utility 7 8 5 Utility Processing Reports 7 8 6 Utility Failure and Restart Considerations MESSAGES AND CODES 8 1 NearArchive Request Codes 8 2 NearArchive Return and Supplementary Codes 8 2 1 System File Identification 8 3 Index Print Utility Messages 8 4 Tape Scan Utility Messages 8 5 Database Maintenance Utility Messages 8 6 Database Regression Utility Messages 8 7 Object Management Utility Messages 8 8 Journal Maintenance Utility Messages 8 9 Secondary Index Update Utility Messages 8 10 Database Bac
154. 8 128 128 128 128 128 RECORD AREA DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA TA ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT p p p p p p p p p p p p p p p p p p p p p p p 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 CALL AUDIT REPORT KEY KEY 323456790 323456791 323456791 323456791 323456792 323456792 323456792 323456793 323456793 323456793 323456794 323456794 323456794 323456795 323456795 323456795 323456796 323456796 323456796 323456797 323456797 323456797 123456789 Fig A5 job OTASD215 DATE DATE DATE DAT DAT DATE DATE DAT DAT DAT DAT DAT DATE DATE DAT DATE DAT DAT DAT DATE DATE DATE DATE YYYY MM DD HH MM 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998
155. 90 v2 5 User Manual 2 16 Optional entries a OTnnxxxx a secondary index entry One secondary index entry will be required for each secondary index that has been defined in a NearArchive database Each entry should have the following format DEFINE File OTnnxxxx DSNAme hlq SECIXnn Lsrpoolid m STRings nnn Opentime FIRSTREF DIsposition SHARE RECORDFormat V Add NO BRowse YES D R ELete NO EAd YES Update NO where hlq is the high level qualifier defined for this database during the database definition and initialization procedure and nn is the secondary index identifier in the range 01 99 Update access to this dataset is not required b OSMnxxxx the storage level n space management dataset These entries will only be required if additional storage levels have been defined in the NearArchive database DEFINE File OSMnxxxx DSNAme hlq SPACEMLn Lsrpoolid m STRings nnn Opentime FIRSTREF DIsposition SHARE RECORDFormat V Add NO BRowse YES D R wa ELete NO EFAd YES Update NO where hlq is the high level qualifier defined for this database during the database definition and initialization procedure and n is the storage level identifier in the range 1 7 Update access to this dataset is not required ASM for S 390 v2 5 User Manual 2 17 c OJR
156. 90 v2 5 User Manual 6 24 Last use For waiting tape reader tasks which did not dismount the tape which was last used by that task due to controls provided in the database definition this field displays the time that the last request for retrieval from this dataset was completed This field is not used for disk reader tasks DSN in use For a busy task this field identifies the name of the dataset which is currently being processed For a waiting tape reader task with tape retained on drive status WTRT this field gives the name of the dataset which was last accessed by this task and which was not dismounted after use For all other tasks this field will be blank Req This column contains a numeric value in the range 1 999 which identifies a request which has been queued for processing by this task The request currently being processed will always appear first and have the value 1 Subsequent requests will appear with ascending numeric identifiers in the order in which they will be processed Block id This field gives the 8 hexadecimal digit identifier of the tape or disk block which contains the start of archived data to be retrieved for this request For tape reader tasks it may be used to estimate the location on the tape of the data block to which ASM for S 390 will position when processing this request Block count This identifies the number of blocks on the tape or disk dataset containing data for this re
157. 980130 19980130 19980130 19980130 19980130 19980130 19980130 19980130 19980130 19980130 19980130 NEARARCHIVE VERSION 2 5 REC LEN RECORD AREA DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT DAT TA TA TA TA TA TA TA TA TA TA TA TA ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT ENT p p p p p p p p p p p p 1 2 3 1 2 3 1 2 3 1 2 3 CALL AUDIT REPORT KEY 323456794 323456794 323456794 323456795 323456795 323456795 323456796 323456796 323456796 323456797 323456797 323456797 Fig A3 job OTASD213 DATE DATE DATE DAT DAT DATE DATE DATE DATE DATE DAT DAT YYYY MM DD HH MM 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 30 01 1998 PAGE 2 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 40 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 49 00 x0000 SUPP CODE2
158. ANCHOR BLOCK Explanation A control block used for NearArchive online database access is corrupt Processing of the operator command entry facility cannot continue Action Disable the NearArchive control region by using NearArchive transaction OT24 Re enable the control region using transaction OT23 If this does not resolve the problem contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 127 OTS26404 INVALID MAXQLEN VALUE ENTERED REQUEST REJECTED Explanation An invalid value has been supplied in the MAXQLEN parameter of the NearArchive CICS operator interface SET command The update request is rejected Action Enter a numeric value in the range 1 255 for the MAXQLEN parameter and re enter the SET command Refer to section 6 5 1 of the manual for a description of valid SET command parameters OTS26405 INVALID MAXDRIVE VALUE ENTERED REQUEST REJECTED Explanation An invalid value has been supplied in the MAXDRIVE parameter of the NearArchive CICS operator interface SET command The update request is rejected Action Enter a numeric value in the range 1 255 for the MAXDRIVE parameter and re enter the SET command Refer to section 6 5 1 of the manual for a description of valid SET command parameters OTS26406 INVALID OPERAND REQUEST REJECTED Explanation An invalid keyword parameter value has been supplied on the NearArchive CICS operator interface SET comma
159. ATASET FOR FURTHER INFORMATION Explanation An error condition has occurred during internal sort processing xx gives the condition code returned from the sort program Action Refer to the sort report in the SYSOUT dataset for information on the cause of the error Make the appropriate corrections and rerun the job ASM for S 390 v2 5 User Manual 8 69 OTS08003 ERROR X xxxx INFO yyyy ACCESSING 2zzzzzzz DDNAME MISSING OR IN ERROR Explanation An error has occurred querying the allocation of file ZZZZZZZZ XXxx and yyyy give the hexadecimal error and information codes returned from an SVC99 query request Execution of the utility is terminated with condition code 12 Action Verify that file zzzzzzzz has been allocated correctly in the JCL used to execute the utility If it has refer to IBM documentation on SVC99 processing for an explanation of the error and information codes displayed in the message and take the appropriate action OTS08004 ERROR X xxxx BUILDING VSAM LSR POOL Explanation An error has occurred building a VSAM local shared resources LSR buffer pool at start of execution xxxx gives the hexadecimal error returned from the LSR build request Execution of the utility is terminated with condition code 12 Action Refer to IBM documentation on VSAM macro processing for a description of the error Take the appropriate corrective action and rerun the jo
160. ATION ANY EXECKEY CICS DEFINE PROGRAM OTASP215 LANGUAGE ASSEMBLER DATALOCATION ANY EXECKEY CICS DEFINE PROGRAM OTASP270 LANGUAGE ASSEMBLER DATALOCATION ANY EXECKEY CICS DEFINE PROGRAM OTASUX02 LANGUAGE ASSEMBLER DATALOCATION ANY EXECKEY CICS If the supplied CICS user exit module OTASUX02 is being replaced with a customer generated user exit module then the LANGUAGE parameter in the definition for program OTASUX02 should be modified to correspond to the language used for creation of the customer generated module Transactions RDO DEFINE TRANSACTION OT70 PROGRAM OTASP270 TASKDATALOC ANY TASKDATAKEY USER No other CICS entries are required for a secondary NearArchive region 2 8 6 CICS JCL changes 2 8 6 1 NearArchive control region The following CICS JCL changes are required for the CICS job which will be configured as the NearArchive control region a Add the distributed ASM for S 390 load library to the CICS DFHRPL concatenation b Add the distributed ASM for S 390 load library to either the STEPLIB concatenation for the DFHSIP step to the CICS JOBLIB concatenation or to the system linklist concatenation ASM for S 390 v2 5 User Manual 2 23 Note that if the ASM for S 390 load library is add
161. Archive control region it is essential that NearArchive is disabled in its control region before or during normal CICS shutdown processing either by explicitly running transaction OT24 prior to shutdown or by executing program OTASP240 in the shutdown PLT Failure to perform either of these actions will result in the NearArchive CICS control region abnormally terminating with an A03 system abend during normal shutdown If a PLT entry is used to disable NearArchive it is important that an immediate shutdown is not performed as this will bypass PLT processing i e use CEMT P SHUT whenever possible to shutdown CICS processing e The TIMEOUT control region initialization parameter may be used to terminate a stalled retrieval request A retrieval request becomes stalled when it is waiting for completion of an external event e g outstanding tape mount I O request to device etc Requests which are in this condition for longer than the time interval specified in the TIMEOUT parameter will be terminated by ASM for S 390 and control returned to the calling application with a return code of 29 6 3 2 Concurrent Retrievals Different Tape Cartridge Volumes ASM for S 390 can handle multiple simultaneous requests for data retrieval from different tape volumes All such requests are processed by a NearArchive control region whether issued by applications running within the control region itself or from an
162. Archive data sets are allocated normally PROC DATACLAS FILTLIST NEARARCHIVE INCLUDE EXAMPLE HLO K IF amp DATACLAS NE THEN EXIT SELECT amp DSN WHEN amp NEARARCHIVE SET amp DATACLAS SEQEXT ASM for S 390 v2 5 User Manual E 3 OTHERWISE SET amp DATACLAS END END E 3 3 Storage Class Definition for EFDS Striping If the multiple volume capacities of Striping are desired a new storage class for striping must be established if a suitable one does not already exist When defining this storage class with ISMF SustainedDataRate on panel 1 must be set greater than 1 The value specified must be set to a multiple of the desired number of stripes the maximum number of stripes is 16 For 3380 the multiple is 3 for 3390 the multiple is 4 For example a SustainedDataRate of 36 would yield 9 stripes on 3390 or 12 stripes on 3380 Please consult DFSMSdfp Storage Administration Reference for detailed information To utilize EFDS only without Striping SustainedDataRate must be allowed to default to blank 0 Please be aware that the disk K copy primary space allocation as specified on the NearArchive database definition panels will be equally spread across the striped volumes Additionally secondary allocations will occur only on the original striped volumes E 3 4 Sample ACS Routine for Storage Class Selection In the following example STRIPED represents a previously defined storage class and EXAMPL
163. Archive for its own use MAXDRIVE control region parameter Increasing this number will allow ASM for S 390 to improve throughput for online tape retrieval operations and reduce the likelihood of an archiving busy condition being raised in response to a retrieval request The value of MAXDRIVE which is in effect may be varied as required via the NearArchive CICS operator interface ASM for S 390 v2 5 User Manual 1 16 c The maximum number of requests which may be queued for any active tape volume MAXQLEN control region parameter All ASM for S 390 requests will be satisfied by retrieving data from a specific tape cartridge volume However due to the nature of tape processing multiple concurrent requests for retrieval from a tape cartridge volume will be processed serially by ASM for S 390 A second request which arrives while a volume is being processed by another user will be queued within ASM for S 390 In this case the second request will be delayed while the first request is being processed and will then be subject to another delay while the tape block which contains data for the second request is located Note that the overall response time for the second request may in fact be less than that for the first request depending on its time of arrival Specifying a high value for MAXQLEN will allow many requests for retrieval of data from a single tape volume to be processed serially This will reduce the likelihood of an
164. BASE ADMINISTRATION PROCESSING ALREADY INVOKED IN THIS TSO SESSION Explanation An attempt has been made for nested invocation of the NearArchive database administration process in TSO Multiple invocation of this procedure from within a single TSO session is only permitted in ISPF split screen mode Action None If the NearArchive database administration process is currently invoked in TSO enter ISPF split screen mode for invocation of a second concurrent database administration process 8 23 General purpose Component Messages OTS94000 IOB xxxxxxxx XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX Explanation An error has occurred executing a tape I O channel command Message OTS94000 issues a hexadecimal display of the first 20 bytes in the IOB used for the request This message is always accompanied by message OTS94001 which gives details of the channel command in error Action Refer to IBM documentation for an explanation of the codes displayed in the message Take the appropriate corrective action and repeat the failed process or rerun the failing job OTS94001 CCW xxxxxxxx XXXXXxxx Explanation An error has occurred executing a tape I O channel command Message OTS94002 issues a hexadecimal display of the channel command word producing the error This message is always accompanied by message OTS94000 which gives the contents of the first 20 bytes of the IOB after completion of the channel program Action Refer to
165. CHIVE DATE MOVI TSQ NAME WO2 TSQ NAME EXEC CICS LINK P P200 EAR PARMS EXE l EIBRESP DFHRESP NORMAL ae Gl LO WO 6 SERIOUS ERROR IND W99 MSG03 TO W99 MSGOO GO TO BO99 EXIT ry H F X NO ARCHIVED DATA EXIST IF W02 RETURN CODE 31 MOVE W99 MSG04 W99 MSG00 GO TO B099 EXIT ARCHIVING BUSY IF W02 RETURN CODE 21 MOVE W99 MSG05 W99 MSG00 GO TO B099 EXIT ETRIEVAL ERROR IF NOT W02 RETURN CODE MOVI ny WO 6 SERIOUS ERROR IND MOV W0O2 RETURN CODI W99 MSG0O6 RETURN CODE MOV WO2 SUPP CODE1 W99 MSGO6 SUPP CODE1 MOVI W02 SUPP CODE2 T W99 MSG06 SUPP CODE2 MOVI W99 MSG06 T W99 MSG00 GO TO B099 EXIT ASM for S 390 v2 5 User Manual B 19 Te ET al Bl Notes 1 W02 REQUEST CODE 2 W02 DATABASE NAME 43 retrieve archived object In this example supplementary codes 1 and 2 are preset to 0 This indicates that retrieval will be into an auxiliary temporary storage queue and that a priority of 0 is to be assigned to the request Name of NearArchive database to be processed This should match the last 4 characters of the CICS FCT entry for the database s primary index dataset W02 KEY POINTER Contains a pointer to a f
166. CHIVE NOT INITIALIZED REQUEST IGNORED Explanation NearArchive is not currently initialized in this CICS region The request is ignored Action No action necessary OTS24003 NEARARCHIVE QUIESCE FAILED Explanation NearArchive has failed to quiesce in this region An accompanying message will give details of the failure Action Refer to the description of the accompanying message s for details of actions to be performed OTS24004 xxxxxx RECEIVED FOR xxxxxx FUNCTION Explanation A CICS command failure occurred during task execution The response and function codes are as specified in fields EIBRESP and EIBFN in the EXEC Interface Block EIB Action Refer to CICS documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive product support representative if there is no apparent reason for the failure ASM for S 390 v2 5 User Manual 8 111 OTS24005 SHUTDOWN REQUESTED FROM OUTSIDE CONTROL REGION REQUEST REJECTED Explanation OT24 has been issued from a secondary NearArchive region This is not permissible Action NearArchive shutdown must be performed from within the NearArchive control region 8 18 CICS Reader Task Messages OTS25001 GETMAIN ERROR SMF PROCESSING WILL BE DISABLED FOR TAPE READER TASK nnn Explanation Insufficient virtual storage is available in the CICS region to satisfy a GETMAIN request by tape reader task nnn SMF
167. E HLO represents the HLQ as setup in the NearArchive database definition panels NEARARCHIVE represents a variable within the ACS routine and may be chosen according to customer requirements Please note that ONLY the K copy should be striped The ACS routine must be written so that other NearArchive data sets are allocated normally PROC STORCLAS FILTLIST NEARARCHIVE INCLUDE EXAMPLE HLO K IF amp STORCLAS NE THEN EXIT SELECT amp DSN WHEN amp NEARARCHIVE SET amp STORCLAS STRIPED ASM for S 390 v2 5 User Manual E 4 OTHERWISE END END ASM for S 390 v2 5 User Manual SET amp STORCLAS BS INDEX 3 3480 3490 3590 9 9840 7 A access authority 5 Access Method Services 21 age range of tapes retained on drive 8 31 allocation recovery 11 23 allocation recovery retry limit 11 23 alter NearArchive configuration 26 AMS 21 33 39 48 APF authorized 24 API 3 application program 3 application program interface 3 4 10 application program interface pre V2R4 1 3 archival 6 archival application 7 archive date 3 7 21 33 archive date over ride 10 11 13 archiving busy 9 13 Assembler 6 audit trail 11 18 29 38 45 authorization code 7 automatic indexing 38 autouncat 16 19 25 auxiliary temporary storage 28 B l backup 50 full volume ANN T 13 58 59 61 71 incremental 14 58 60 61 72 backup copy 13 18 55 56 59 70 backup util
168. ED RETURN CODE aa SUPP CODE1 bbbb SUPP CODE2 ccce REQ dd DATE yy mm dd Explanation An internal NearArchive write data record request has failed aa is the return code bbbb and cccc are the supplementary codes returned from NearArchive dd is the request code yy mm dd is the object s archive date Action Refer to section 8 2 of this manual for details of the return and supplementary codes Take the appropriate corrective action and restart the job OTS07011 DATABASE CLOSE CALL TO OTASP100 FAILED RETURN CODE aa SUPP CODE1 bbbb SUPP CODE2 cccc REQ dd Explanation An NearArchive database close call has failed aa is the return code bbbb and cccc are the supplementary codes returned from NearArchive dd is the request code Action Refer to section 8 2 of this manual for details of the return and supplementary codes Take the appropriate corrective action and restart the job OTS07012 OPEN FAILED WITH ERROR CODE xxxxyyyy FOR DATASET aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Explanation An open error has occurred for the identified VSAM dataset xxxx and yyyy are the hexadecimal codes ASM for S 390 v2 5 User Manual 8 63 returned from the VSAM open macro Processing is terminated Action Refer to IBM documentation for details of the return and reason codes Take the appropriate corrective action and restart the job OTS07013 INVALID EXEC PARM SPECIFIED RUN ABANDONED Explanation An unidentifiab
169. EMENT CHAIN PROCESSING TAPE DISK SUB TASK nnn Explanation An invalid request chain has been encountered when attempting to pass a new request to tape or disk sub task nnn where nnn is in the range 1 256 ASM for S 390 v2 5 User Manual 8 105 Action Processing of the request is rejected with a return code of 23 Contact your NearArchive support representative if there are repeated instances of this condition 8 15 Control Region Initialization Messages OTS23001 NEARARCHIVE V2 5 NOW INITIALIZED Explanation The NearArchive control region has now been initialized for retrieval processing Action No action necessary OTS23002 NEARARCHIVE ALREADY INITIALIZED IN THIS MRO CONFIGURATION Explanation A NearArchive control region has already been initialized in this CICS MRO configuration This may be the region in which initialization has been attempted or in another connected CICS region The initialization request is terminated Action No action necessary OTS23004 NEARARCHIVE V2 5 INITIALIZATION FAILED Explanation NearArchive initialization has failed in this region The cause of failure will be detailed in an accompanying message Action Determine why NearArchive initialization has failed from accompanying messages and take corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS23005 EIBRESP xxx RECEIVED FOR FUNCTION X y
170. ENT ENT ENT ENT ENT p p p p p p p p p p p p p p p p p p p 1 2 3 4 5 6 7 8 9 10 11 12 13 1 2 3 4 5 6 KE KE CALL AUDIT REPORT 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 Fig Al job OTASD211 DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE p p p p p p p p p p p p p p p p p p p YYYY MM DD HH MM 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 21 08 2001 21 08 2001 2170872001 21 08 2001 21 08 2001 21 08 2001 PAGE 1 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 48 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 44 00 x0000 4
171. Execution of the utility is terminated with condition code 12 Action Ensure that the correct dataset name has been specified in the DD entry for file OTASS080 in the JCL Correct the DD entry and rerun the job If the DD entry is correct ensure that the corresponding phase 1 batch archival procedure has been successfully run prior to running the secondary index update utility ASM for S 390 v2 5 User Manual 8 72 OTS08012 SECONDARY INDEX NUMBER nn NOT DEFINED IN NEARARCHIVE DATABASE Explanation An asynchronous update to secondary index number nn has been identified from the header information in file OTASS080 but this secondary index is not defined to the database whose primary index is specified in DD entry OTASV100 Execution of the utility is terminated with condition code 12 Action Ensure that the correct dataset names have been specified in the OTASV100 and OTASS080 DD entries in the JCL and rerun the utility OTS08013 NO UPDATE OUTSTANDING FOR SECONDARY INDEX NUMBER nn Explanation An asynchronous update to secondary index number nn has been identified from the header information in file OTASS080 but there is no outstanding update scheduled for that secondary index Execution of the utility is terminated with condition code 12 Action Ensure that the correct dataset names have been specified in the OTASV100 and OTASS080 DD entries in the JCL and rerun the utility OTS08019 UNABLE TO OPEN x
172. FILE RECORD FOR TAPE SEQUENCE nnnnn IS MISSING Explanation During database maintenance processing a missing record has been detected in the space management file for storage level s nnnnn gives the identity of the missing record Processing of the utility is terminated with condition code 12 Action This message indicates that there is an integrity error in the space management file This error must be corrected before processing of the utility can be restarted Contact your Lifecycle Director product support representative to obtain information on the required corrective procedure ASM for S 390 v2 5 User Manual 8 39 OTS03037 CONFLICT ON OTASS030 FILE REMOVE OTASS030 DD STATEMENT FROM THE JCL AND RERUN THE JOB Explanation An OTASS030 DD card is present in the JCL identifying a restart control dataset but a system generated restart control dataset also exists This indicates that an incomplete recycle operation is still in progress for this database Action Remove the OTASS030 DD card from the JCL and restart the incomplete recycle operation using the system generated restart control dataset This dataset will be deleted at successful conclusion of recycle processing The OTASS030 DD card may then be used in subsequent executions of the utility OTS03040 RECYCLE NO AND COMPRESS NO SPECIFIED OR DEFAULTED Explanation Both RECYCLE NO and COMPRESS NO have been specified in the utility EXEC parame
173. GMENT 4 KEY 123456789 DAT DATA SEGMENT 5 KEY 123456789 DATE DATA SEGMENT 6 KEY 123456789 DATE DATA SEGMENT 7 KEY 123456789 DATE DATA SEGMENT 8 KEY 123456789 DATE DATA SEGMENT 9 KEY 123456789 DATE DATA SEGMENT 10KEY 123456789 DAT DATA SEGMENT 11KEY 123456789 DAT DATA SEGMENT 12KEY 123456789 DATE DATA SEGMENT 13KEY 123456789 DATE DATA SEGMENT 1 KEY 123456789 DATE DATA SEGMENT 2 KEY 123456789 DATE DATA SEGMENT 3 KEY 123456789 DAT DATA SEGMENT 4 KEY 123456789 DAT DATA SEGMENT 5 KEY 123456789 DAT DATA SEGMENT 6 KEY 123456789 DAT DATA SEGMENT 7 KEY 123456789 DAT DATA SEGMENT 8 KEY 123456789 DATE DATA SEGMENT 9 KEY 123456789 DATE DATA SEGMENT 10KEY 123456789 DATE DATA SEGMENT 11KEY 123456789 DAT Fig A5 job OTASD215 YYYY MM DD HH MM PAGE 1 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 01 04 1998 21 08 2001 21 08 2001 N 08 2001 N 08 2001 21 08 2001 N 08 2001 N 08 2001 21 08 2001 21 08 2001 21 08 2001 21 08 2001 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 0
174. HANDLI EXE EIBRESP DFHRESP NORMAL Sy TO WO 6 SERIOUS ERROR IND W99 MSG03 TO W99 MSGOO GO TO BO99 EXIT ry H ry H NO ARCHIVED DATA EXIST IF W02 RETURN CODE 31 MOVE W99 MSG07 W99 MSG00 GO TO B099 EXIT OTHER ERROR IF NOT W02 RETURN CO ODI MOV my T W06 SERIOUS ERROR IND MOV W02 RETURN CODI W99 MSGO8 RETURN CODE MOV WO2 SUPP CODE1 T W99 MSG08 SUPP CODE1 MOV W02 SUPP CODE2 W99 MSGO8 SUPP CODE2 MOV W99 MSG08 W99 MSGOO GO TO BO99 EXIT AeA fw ASM for S 390 v2 5 User Manual B 21 Notes 1 W02 REQUEST CODE 41 database query request 2 W02 SUPP CODE1 Identifier of index to be queried In this example a non zero value is set in this field This indicates that the query is to be performed on a secondary index 3 W02 SUPP CODE2 Specifies the sort sequence for the returned items 4 W02 DATABASE NAME Name of NearArchive database to be queried This should match the last 4 characters of the CICS FCT entry for the database s primary index dataset 5 W02 SEC INDEX KEY Secondary key to be queried In this example the length of the secondary key is 12 bytes giving an overall parameter interface area of 64 bytes 6 Link to NearArchive passing the parameter block in the COMMAREA On return to the calling program NearArchive sets a 2 dig
175. ICS File Control Table FCT for the primary or secondary index being queried ASM for S 390 v2 5 User Manual D 18 D 2 2 Request Code 22 Retrieve Object A single retrieve object request is issued by a CICS application in order to retrieve from a NearArchive database all logical records for a specified NearArchive object Logical records are returned by NearArchive to the application as separate items in the temporary storage queue whose identifier is supplied by the application in the NearArchive parameter interface area One item will exist in the temporary storage queue for each logical record which belongs to the specified NearArchive object Logical records will be held in the temporary storage queue in the same sequence in which they are stored physically in the database this is the sequence in which they were passed to NearArchive when written to the database Interface parameters should be set as follows Request code 22 Return code not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call Supplementary code 1 on entry used to identify the type of temporary storage queue to be used to hold the retrieved NearArchive object 0 auxiliary temporary storage queue 1 main temporary storage queue On exit this field may contain a value giving additional information after an exception condition Supplementary code 2 not used on e
176. ISPF database administration dialog To convert a pre v2 5 database the following sequence of actions should be performed 1 Enter the primary index name of the database to be converted on the database administration entry panel OTSN4000 and select option 5 pre v2 5 database conversion If the database has not already been converted the database conversion confirmation panel OTSN4500 will then be displayed An error message will be displayed in the top right corner of panel OTSN4000 if a conversion request is entered for a database which has already been converted Processing may then continue normally 2 To abort the conversion process press the PF3 key The entry panel OTSN4000 will then be re displayed and processing may continue normally 3 As the database space management dataset s will need to be re created during the conversion process enter on panel OTSN4500 the serial number of the disk volume on which the converted space management datasets are to be created Leave this field blank if the datasets are to be DFSMS managed 4 To confirm the conversion process press the ENTER key The conversion procedure will then be executed This will involve the following steps A new space management file will be automatically allocated for each defined storage level in the database This will be a VSAM KSDS unlike the space management files for previous releases which are VSAM ESDS files The new space management file wil
177. If this parameter is omitted a default value of SUMMARY is used ASM for S 390 v2 5 User Manual 7 31 RESTART Specify the RESTART parameter to control utility restart processing The following parameter values may be specified NO normal utility processing is to be invoked This is the default value YES restart utility processing is to be invoked If the previous execution of the utility did not terminate successfully the utility should be rerun with a RESTART parameter value of YES The utility will not execute after a failed run unless RESTART YES is specified here For normal running the default value of NO should be used SIMULATE If the SIMULATE parameter is specified the object management utility will run in simulate mode Normal object management processing will be performed and all standard utility reports issued but no database update processing will take place This parameter may be used to predict the actions which will be performed by the utility prior to actual execution If this parameter is not specified standard utility processing will be performed i e database updates will be performed as normal NEWTAPE Specify the NEWTAPE parameter to control whether objects which are been migrated to a new storage level will be written to a new tape volume at the start of migration processing The following parameter values may be specified NO objects will be appended to the last e
178. K command to program OTASP200 The parameter interface block is passed in the CICS communication area On return from ASM for S 390 a return code in the parameter interface block will indicate the result of the request e For successful requests the specified temporary storage queue may be processed as desired by the application program e g retrieved data may be formatted and displayed on an enquiry screen Each logical record within the retrieved NearArchive object will be held as a separate item in the temporary storage queue Items will be held in the physical sequence in which they are stored in the NearArchive database Deletion of this temporary storage queue after completion of processing may be performed by the calling application or alternatively may be deleted automatically by ASM for S 390 as controlled by the TSQDELETE facility see section 2 8 6 Repeated retrieval requests to objects which have already been retrieved to a temporary storage queue will be satisfied from the retrieved temporary storage copy until all temporary storage queues containing copies of that object have been automatically deleted by ASM for S 390 using TSQDELETE processing The application processing sequence for recall of data from tape via ASM for S 390 is shown in Figure 6 1 ASM for S 390 v2 5 User Manual 6 4 Identify key and date of object Generate TSQ name and prime parameter block LINK to
179. L process all storage levels in the database If this parameter is omitted a default value of ALL is used ASM for S 390 v2 5 User Manual 7 73 Where a database has only one storage level specifying a value of ALL for this parameter or allowing it to default will cause the utility to process storage level 0 only NODEVCHECK This optional parameter is used to control processing when a volume capacity mismatch has been detected between a full volume backup tape volume and a primary tape volume during full volume recovery processing If this parameter is present the utility will issue a warning message and generate a condition code of 4 but will continue with recovery processing If this parameter is omitted standard capacity checking will be performed during full volume recovery processing Any mismatch will cause the utility to terminate with condition code 12 Dataset names should be set as follows for each DD entry STEPLIB The name of the NearArchive version 2 product library as unloaded during the product installation procedure see chapter 2 OTASV100 The name of the primary index of the NearArchive database to be processed by the utility The utility will only process one NearArchive database per execution SYSPRINT The destination of the utility report file If required the report may be written to a sequential dataset with record format FBA and a logical record length of 133 bytes 7 8 3 Con
180. LUMES IN RECOVERY STATUS FOR REQUESTED STORAGE LEVEL S Explanation Informational message indicating that no tape volumes are eligible for recovery ASM for S 390 v2 5 User Manual 8 94 Action No action necessary OTS13024 DYNALLOC ERROR REQ aa RC bb DD ccceccccc DSN dddddddddddddddddddddddddddddddddddddddddddd VOL vvvvwvwv UNIT uuuuuuuu OTS13025 INF eeee ERR ffff SYSC g SYSD hhhhhhhh DEFER ii DISP jjkkll SPACE pppppp sssss DCB mmmmmm nnnnnn 00 Explanation An error has occurred dynamically allocating a dataset and processing of the utility has been terminated Messages OTS03024 and OTS03025 are issued for problem determination purposes Some or all of the following operands may appear ceeccccc DDname of the dataset being processed dddd dddd name of the dataset being processed eeee the dynamic allocation information code ffff the dynamic allocation error code Action Refer to IBM documentation on dynamic allocation processing for a description of the error and information codes Take the appropriate corrective action and restart the job OTS13028 UNIT TYPE MISMATCH INPUT DEVICE TYPE IS xxxx AND OUTPUT DEVICE TYPE IS xxxx Explanation There is a device type mismatch between the input volume and the output volume xxxx and yyyy identify the input and output tape device types respectively If the input device type is a 3490 and the output device type is a 3590 a conditi
181. M for S 390 v2 5 User Manual Type date bin bin bin bin char char bin bin Bin Description all entries and will contain the primary key value passed to NearArchive via the call parameter area If the query was based on secondary key this field will contain the primary key of an archived item which is indexed by the supplied secondary key Date of archived object in format YYYYMMDD Number of tape blocks used to hold archived object Identifier of first block on volume containing archived object Sequence number of tape dataset in database which contains the first block of archived object Sequence number of tape dataset in database which contains the last block of archived object Hierarchical level in which data is stored 0 to 7 Disk copy indicator D disk copy of object exists c 6 no disk copy exists Block Id on K Copy Dataset in format OTTR Number of blocks in K Copy dataset which are used for storage of the archived object K copy dataset segment number Reserved 4 21 If a volume serial number query has been requested supp code 1 200 the response area will contain a series of one or more 6 character fields These fields will specify the serial number s of the tape volume s containing the identified object starting with the volume containing the first block of the object and for multi volume objects will continue with the serial
182. MAXIMUM QLEN This field gives the currently active value of the MAXQLEN initialization parameter This determines the maximum number of concurrent requests which ASM for S 390 will queue for any one active tape volume MAXDISK This gives the currently active value of the MAXDISK initialization parameter This sets the limit on the maximum number of disk reader tasks which ASM for S 390 will initiate to satisfy multiple simultaneous retrievals TASK COUNT The value in this field identifies the total number of reader task control blocks tape for option 1 or disk for option 3 which have been allocated by ASM for S 390 for object retrieval processing This value will be equal to the number of summary lines displayed for this option Sel This column is used by the operator to select a single task for processing see below for details of available selection entries Task This column gives the identifier of each initialized NearArchive tape disk reader task control block This is a numeric value in the range 1 256 Stat This column identifies the status of each NearArchive retrieval task It consists of two indicators each consisting of two characters The first two characters can take the values WT the task is currently waiting for work BY the task is currently busy processing a retrieval request The name of the dataset being processed by the task will appear in the Dataset in use field ASM for S 390 v
183. Manual 7 69 7 8 OTASP130 the NearArchive Database Recovery Utility The NearArchive database recovery utility is used to recover one or more primary tape datasets from within a single NearArchive database Recovery is performed using full volume and or incremental backup tape datasets created by the NearArchive database backup utility OTASP110 see section 7 5 The tape datasets to be recovered are specified by their sequence numbers within the appropriate storage level of the NearArchive database Specification of these datasets is made via the volume recovery facility in the supplied NearArchive database administration ISPF dialogs Refer to chapter 3 of this manual for a description of database definition and maintenance procedures using these dialogs This volume recovery procedure is also used by default to identify which full volume backup copy B primary backup C duplex or D duplex backup is to be used for recovery purposes for each volume or range of volumes Default selection of full volume backup copy may be over ridden by execution parameter The database recovery utility will process all recovery control entries in one or both storage levels of a NearArchive database and re create the primary tape dataset s associated with each entry The existing primary dataset s will be uncataloged prior to re creation Each volume will be removed from recovery status after being successfully restored This means that a
184. NGUAGE ASS EMBL ER EXECKEY CICS DEFINE PROGRAM OTAS P220 DATALOCATION ANY EMBL LANGUAGE ASS DATALOCATION ANY DEFINE EXECKEY CICS PROGRAM OTAS P230 ER LANGUAGE ASS EMBL ER EXECKEY CICS DEFINE PROGRAM OTAS P235 DATALOCATION ANY LANGUAGE ASS EMBL ER EXECKEY CICS DEFINE PROGRAM OTAS P240 DATALOCATION ANY LANGUAGE ASS EMBL ER EXECKEY CICS DEFINE PROGRAM OTAS P260 DATALOCATION ANY LANGUAGE ASS EMBL ER EXECKEY CICS DEFINE PROGRAM OTAS P261 DATALOCATION ANY EMBL LANGUAGE ASS DATALOCATION ANY EXECKEY CICS DEFINE PROGRAM OTAS P262 ER LANGUAGE ASS EMBL ER EXECKEY CICS DEFINE PROGRAM OTAS P263 DATALOCATION ANY LANGUAGE ASS EMBL ER EXECKEY CICS DEFINE PROGRAM OTAS P264 DATALOCATION ANY LANGUAGE ASS EMBL ER EXECKEY CICS DEFINE PROGRAM OTAS P270 DATALOCATION AN
185. NL EO 9 Bina ie a oes aisle lt 6 ones ise EZOUAM ALO OM Sad ok She otle Mee ha re fe Mle a fa ses ois Ag Ahoy ao hoo ue ae Ree Re ne Bee ee er OSOE 7T I Or n ge Rae ere ere ae Ree ar a eRe oe PONS 0G OOOO a techs Rite tee Ate te tee Sete des de EOS YAOI NAE ENS ARAE ote te ate ode aes dt ots de A OBOT 19 OO 2 00h bi o te E E E E Bale Bohl 1087077 199 BN ne alee fo E va alte te salve wa OTE ait ne ets O87 Oe P99 OM fe Sse che Sod fe Sele 3d ve fe aioe a 8d is WE 2 LL O VO IGD e NEREA es ete ied Sate ee 8 aly at MOY lnc bo reat ia Rr Rae Pa PRR E Re Re eae ce ee NEZNAN MIR Eeo ae deere Riot toe As te eRe tte Se Noe ete de ad MAL 710 8 JOO OM oe tse eea te Bee alee a e aban 297097 JI E severity E E E T E E E nd TZ PAOD LDS 8s eee sale E A A TOAL OG LOSS She Sid iSis Gas ake Sele dade le angel enengns STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 42 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 3 a a
186. NPUT OUTPUT TAPE SEE ACCOMPANYING ERROR MESSAGE IN SYSLOG PROCESSING TERMINATED Explanation An input output error has been received during processing of an input or output tape dataset Execution of the utility will be terminated Action Review the system or job log for additional system messages regarding the I O error Take the appropriate corrective action and rerun the job If no apparent cause for the error can be determined contact your NearArchive product support representative OTS11038 INVALID PARM SPECIFIED ON EXEC STATEMENT PROCESSING TERMINATED Explanation A validation error was detected during execution parameter checking Execution of the utility has been terminated Action Refer to the parameter validation error report issued by the utility for information regarding the error s encountered during parameter validation processing Take the appropriate corrective action and rerun the utility OTS11041 LOCATE BLOCK ERROR COMMAND CODE X aa RETURN CODE X bb STATUS FLAGS X cece SENSE CODES X dddd Explanation An error has been received attempting to locate a block on a tape volume The following diagnostic information is supplied aa the channel command code issued to the tape device bb the completion code returned from the sub channel ccce unit and channel status flags on completion of the request ASM for S 390 v2 5 User Manual 8 82 dddd
187. NearArchive Process TSQ items for retrieved data optionally DELETE temporary storage queue Fig 6 1 Online retrieval procedure ASM for S 390 v2 5 User Manual 6 1 2 Partial Object Retrieval ASM for S 390 supplies a facility to allow applications to retrieve a segment of an archived object This facility is termed partial object retrieval The segment to be retrieved is identified using two co ordinates e Start record number This is the number of the first record to be retrieved from within the object Numbering of records starts at 0 and is incremented by for each subsequent record in the object e The number of records to be retrieved This is a count of the number of records in the segment A count of 0 indicates that the segment continues from its starting location to the end of the object The partial object retrieval facility is intended for use by applications when retrieving data from a NearArchive database containing objects which hold more than one individual element of information For example a database may have been defined for archival of financial transaction information where each object contains details of 1 000 transactions with one record per transaction each record being of size 20 000 bytes Each object size in this case will be approximately 20 megabytes If it is required that a CICS transaction should access information for a single transaction then with full ob
188. NearArchive product support representative 8 13 Batch Archival Tape I O Driver Messages OTS15201 TAPE ALLOCATION DENIED NEARARCHIVE WILL RETRY ALLOCATION AFTER 1 MINUTE Explanation NearArchive has attempted to allocate a tape drive but no device is currently available NearArchive will wait for one minute before making another attempt The number of allocation retries to be performed by NearArchive may be specified in the application s database open call A default value of 30 is used if no value is specified by the application Action If possible make a tape drive available for NearArchive allocation by varying online any devices which are currently offline NearArchive will acquire any such device during allocation retry processing If no other devices are available cancel another job in the system or wait for another job to finish Any tape drives allocated to the other job will become available when that job terminates and may be acquired by NearArchive during allocation retry processing If no drive becomes available before the number of allocation retries has been exhausted NearArchive will fail the application request with a dynamic allocation error code ASM for S 390 v2 5 User Manual 8 101 OTS15202 EOV OCCURRED AT LOCATION xxxx COMPLETION CODE yy STATUS CODE zz Explanation Logical end of volume has been detected on an output tape during batch archival processing xxxx gives an internal
189. Nxxxx the journal dataset The journal dataset entry will only be required if the audit trail facility has been enabled for a NearArchive database DEFINE File OJURNxXxxx DSNAme hlq JOURNAL Lsrpoolid m STRings nnn Opentime FIRSTREF DIsposition SHARE ECORDFormat F dd NO YES Rowse YES ELete NO EFAd YES pdate NO Ournal NO ECOVery NONE ALL Fwdrecovlog NO 1 99 ww DAUG where hlq is the high level qualifier defined for this database during the database definition and initialization procedure Update access to this dataset is only required if database objects are to be deleted from online processing applications In this case the Add parameter should be set to Yes and the RECOVery and Fwdrecovlog parameters set as required Programs RDO DEFINE PROGRAM OTASP050 LANGUAGE ASSEMBLER DATALOCATION ANY EXECKEY CICS DEFINE PROGRAM OTASP200 LANGUAGE ASSEMBLER DATALOCATION ANY EXECKEY CICS DEFINE PROGRAM OTASP205 LANGUAGE ASSEMBLER DATALOCATION ANY EXECKEY CICS DEFINE PROGRAM OTASP210 LANGUAGE ASSEMBLER DATALOCATION ANY EXECKEY CICS ASM for S 390 v2 5 User Manual 2 18 DEFINE PROGRAM OTAS P215 LA
190. O configuration i e more than one group of CICS regions which are connected to each other via MRO multiple NearArchive control regions may exist within that host system each capable of performing object retrieval operations However as stated above each single CICS MRO configuration may only contain one NearArchive control region Figure 2 1 illustrates a typical CICS MRO configuration consisting of a single terminal owning region TOR and four application owning regions AORs One of the AORs is initialized as a NearArchive control region and will perform all tape access for ASM for S 390 applications running in the control region itself and in any of the attached secondary regions Automatic cartridge sub system Sun Oracle 4400 ACS cluster Tape Tape Tape drive drive drive 1 2 n non NearArchive NearArchive control region region CICS AOR 1 CICS AOR 2 MRO link E secondary NearArchive region CICS AOR 3 CICS TOR Disk sub system K copy objects secondary NearArchive region CICS AOR 4 a een CICS terminal users Fig 2 1 Sample CICS configuration for ASM for S 390 ASM for S 390 v2 5 User Manual 2 14 2 8 3 Multiple NearArchive Database Access For online retrieval it is possible to perform retrievals from multiple NearArchive databases from within the same task i e to retr
191. ORM REQUESTED FUNCTION DENIED BY USER EXIT Explanation A request to change the status of the NearArchive control region has been rejected by the user exit program OTASUX02 Action None The requested action cannot be performed by the current user OTS26120 EIBRESP xxx RECEIVED FOR FUNCTION X yyy Explanation An unexpected CICS command failure occurred during operator interface processing The response xxx and function codes yyy are as specified in the Exec Interface Block EIB Action Refer to CICS documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS26121 ABEND xxxx RECEIVED DURING NEARARCHIVE OPERATOR INTERFACE PROCESSING Explanation An abend with code xxxx has occurred during CICS operator interface processing Action Refer to CICS documentation for details of the abend and corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS26200 REQUESTED TASK NOT IN EXISTENCE Explanation The task number entered in on the reader task detail display screen OTSN262 does not exist Action None The request is ignored OTS26201 NEARARCHIVE NOT INITIALIZED Explanation The CICS operator interface facility has been invoked but the NearArchive control region has not yet been ASM for S 390 v2 5 User Manual 8 1
192. OTS26003 INVALID OPTION SELECTED TRY AGAIN Explanation An invalid option has been entered in the option field on the CICS operator interface menu selection screen OTSN260 Action Enter a valid option numeric character in the range 1 5 corresponding to the processing required and press enter OTS26004 NEARARCHIVE CONTROL REGION NOT INITIALIZED Explanation The CICS operator interface facility has been invoked but the NearArchive control region has not yet been initialized Operator interface processing cannot be performed Action Initialize the NearArchive CICS control region using NearArchive CICS transaction OT23 before invoking the operator interface facility OTS26005 STATUS DISPLAY MAY ONLY BE INVOKED FROM CONTROL REGION Explanation The operator interface facility has been invoked from a secondary NearArchive region This facility is only available from within a NearArchive control region Action Sign on to the NearArchive control region and invoke the operator interface facility from there OTS26006 CORRUPT NEARARCHIVE ANCHOR BLOCK Explanation A control block used for NearArchive online database access is corrupt Processing of the operator interface facility cannot continue Action Disable the NearArchive control region by using NearArchive transaction OT24 Re enable the control region using transaction OT23 If this does not resolve the problem contact your NearArchive product s
193. PP CODE1 bbbb SUPP CODE2 ccce REQ dd DBN eeee Explanation An internal NearArchive call has failed aa is the return code bbbb and cccc are the supplementary codes returned from NearArchive dd is the request code and eeee is the database name Action Refer to section 8 2 of this manual for details of the return and supplementary codes Take the appropriate corrective action and restart the job OTS07008 ERROR READING JOURNAL FILE RETURN CODE X xx REASON CODE X yy Explanation An error has occurred when reading the NearArchive database s journal dataset xx and yy are the hexadecimal return and reason codes from the VSAM GET macro Processing is terminated Action Refer to IBM documentation for details of the return and reason codes Take the appropriate corrective action and restart the job ASM for S 390 v2 5 User Manual 8 62 OTS07009 OBJECT RETRIEVE REQUEST FAILED RETURN CODE aa SUPP CODE1 bbbb SUPP CODE2 cccc REQ dd DATE yy mm dd Explanation An internal NearArchive object retrieval request has failed aa is the return code bbbb and cccc are the hexadecimal supplementary codes returned from NearArchive dd is the request code yy mm dd is the archive date of the NearArchive object Action Refer to section 8 2 of this manual for details of the return and supplementary codes Take the appropriate corrective action and restart the job OTS07010 WRITE DATA RECORD CALL TO OTASP100 FAIL
194. Processing is terminated Action Ensure that the correct primary index dataset is specified under DD entry OTASV100 in the execution JCL Correct and resubmit the job ASM for S 390 v2 5 User Manual 8 51 OTS04009 ERROR X xxxx INFO X yyyy DYNAMICALLY ALLOCATING DATASET aaaaaaaaaaaaaaaaaaaaaaaaaaa Explanation A dynamic allocation error has occurred during allocation of the identified dataset Processing is terminated Action Refer to IBM documentation on SVC99 processing for a description of the error and information codes Take the appropriate corrective action and restart the job OTS04010 NORMAL RUN REQUESTED BUT PREVIOUS RUN TERMINATED ABNORMALLY Explanation A previous attempt to run this utility has failed abnormally but RESTART YES has not been specified for this run Action Examine the output from the previous run to determine the cause of failure Take the appropriate corrective action and restart the job with RESTART YES specified on the EXEC statement OTS04012 ERROR LOADING PROGRAM OTASP045 Explanation An error has occurred when loading program OTASP045 the migration component of the object management utility Processing is terminated Action Check that module OTASP045 is present on the NearArchive load library Contact your NearArchive product support representative for assistance if necessary OTS04013 ERROR xx RECEIVED ACCESSING JOB USER NAME Explanation An error has occurred when retrie
195. REQ aa RC bb DD ccceccccc DSN dddddddddddddddddddddddddddddddddddddddddd VOL vvvvvwv UNIT uuuuuuuu OTS07025 INF eeee ERR ffff SYSC g SYSD hhhhhh DEFER ii DISP jjkkll SPACE pppppp ssssss DCB mmmmmm nnnnnn 00 Explanation An error has occurred during dynamic allocation of a dataset Messages OTS07024 and OTS07025 are both displayed to assist with problem determination Some or all of the following operands may appear eececcccc is the DDname of the dataset to be allocated dddd dddd is the name of the dataset to be allocated eeee is the SVC99 information code fff is the SVC99 error code Processing is terminated ASM for S 390 v2 5 User Manual 8 67 Action Refer to IBM documentation on SVC99 processing for a description of the error and information codes Take the appropriate corrective action and restart the job OTS07026 CONDITION CODE nn RETURNED FROM INTERNAL SORT EXAMINE SYSOUT DATASET FOR FURTHER INFORMATION Explanation An internal sort request issued by the utility has failed with return code nn Execution of the utility is terminated Action Refer to the sort processing report in the SYSOUT dataset for a description of the error condition Take the appropriate corrective action and restart the utility OTS07027 ERROR OPENING SORT DATASET xxxxxxxx REFER TO JOBLOG FOR FURTHER INFORMATION Explanation An error has occurred opening the sequential sort work file xxxxxxxx Proc
196. Refer to NearArchive documentation for details of the request and return codes Take the appropriate corrective action and restart the job If the cause of the error is not obvious contact your NearArchive product support representative OTS04519 DATABASE IN UNCOMMITTED STATE OBJECT ARCHIVAL DATABASE MAINTENANCE PROCESS INCOMPLETE Explanation An object archival or database maintenance process as identified in the message has been executed on the NearArchive database being processed by the utility but ASM for S 390 v2 5 User Manual 8 59 Action this process has not completed successfully Execution of the utility cannot be performed in these circumstances Ensure that the outstanding archival or maintenance process is completed successfully before rerunning the object maintenance utility OTS04597 NEARARCHIVE OBJECT MANAGEMENT UTILITY TERMINATING IN RESPONSE TO OPERATOR REQUEST Explanation Action The utility is acknowledging receipt of an operator STOP command for early termination of utility execution The utility will checkpoint all current update activity and terminate processing normally The object management process may be continued at any subsequent time via normal execution of the object management utility 8 8 Journal Maintenance Utility Messages OTS07000 UNABLE TO OPEN SYSPRINT DATASET Explanation Action An error has occurred opening the SYSPRINT dataset Consult other
197. Secondary key W06 SEC IX KEY 49 is a working storage area containing the secondary key to be used to index the object being archived The length of this field will be equal to the secondary key length defined for index 49 in this NearArchive database 6 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have additional error information in the supplementary code fields 1 and 2 ASM for S 390 v2 5 User Manual B 6 B 1 4 Commit Updates EARARCHIVE PARAMETER BLOC RM B200 INIT NEARARCHIVE PARMS 48 lO W02 REQUEST CODE V100 lO W02 DATABASE NAME OTASP100 W02 NEAR PARMS URN CODE ETURN CODI TO UPP CODE1 TO UPP CODE2 TO ERR MSG3 TO ERFORM Z900 ERROR PROCESSING RR MSG3 R RR MSG3 S RR MSG3 S RR MSG Boe eo oe el Notes 1 Initialize NearArchive parameter block see B 1 1 2 A request code of 48 is required in the parameter block for a database commit call On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have additional error information in the supplementary code fields 1 and 2 ASM for S 390 v2 5
198. Supplementary A main index entry may be accompanied by one or index entries more supplementary index entries These entries are used to retain information about secondary keys which index one or more objects with the associated primary key value For each main index entry one or more ASM for S 390 v2 5 User Manual 3 25 supplementary entries up to a maximum of 255 may exist for each secondary index that has been defined in the database Each supplementary entry is a single VSAM record consisting of a fixed prefix of length k 4 bytes where k is the primary keylength and a variable number of suffixes each of length s bytes where s is the length of the secondary key for that supplementary record One suffix will be present for each secondary key value which indexes an object with the associated main index entry s primary key value As many supplementary records as are required to hold all secondary key values will be present in the index up to a maximum of 255 This information may be used to derive an estimate of the primary and secondary allocation values to be used when defining the primary index If necessary an approximate estimate may be used during initial dataset allocation By monitoring primary index usage the primary and or secondary allocation values may be amended during the life of the database The following formula may be used to estimate the total amount of space in bytes required for a pri
199. TERED RETRY LIMIT NOW nnnnn Explanation The utility was unable to allocate a device for an output tape volume Allocation will be retried after 1 minute nnnnn gives the number of retries remaining The ASM for S 390 v2 5 User Manual 8 43 utility will terminate if allocation is not successful after this number of retries Action Make a tape device available for allocation by the utility prior to the retry limit being reached The utility will then continue with normal execution Otherwise restart the utility when there are sufficient devices available for execution OTS03097 NEARARCHIVE DATABASE MAINTENANCE UTILITY WILL TERMINATE AFTER PROCESSING CURRENT INPUT VOLUME Explanation The database maintenance utility has acknowledged receipt of an operator STOP command for early termination of processing Action Execution of the utility will terminate when all objects on the tape volume being recycled when the command was entered have been processed OTS03098 UNABLE TO OPEN SYSPRINT DATASET Explanation An error has occurred opening the SYSPRINT dataset Action Refer to other available system messages to discover the cause of the open failure Correct the error and resubmit the job OTS03099 INVALID ERROR MESSAGE ID xx ISSUED AT LOCATION yYyyyyyYyY Explanation An unknown numeric message identifier xx has been issued by the utility yyyyyyy identifies the internal program location at which the
200. The supplied utilities and the functions which they perform are summarized below 1 OTASP010 the NearArchive index print utility The NearArchive index print utility scans a NearArchive index and creates a print report containing formatted index entries for each object in the NearArchive database The utility is primarily intended to assist with diagnostic procedures after a problem has been detected accessing the database 2 OTASP020 the NearArchive tape scan utility The NearArchive tape scan utility will scan a NearArchive tape dataset and create a print report containing formatted entries for each object in the dataset The utility is intended to assist with diagnostic procedures after a problems has been detected accessing the database 3 OTASP030 the NearArchive database maintenance utility The NearArchive database maintenance utility processes a NearArchive database to reclaim tape dataset storage space made redundant due to NearArchive object deletion Tape cartridge volumes which contain less than a user specified threshold of active objects will be recycled active objects being moved from that volume to another location in the database A recycled volume may then be returned to the appropriate scratch pool for re use All disk K copy datasets associated with a recycled tape dataset will be deleted The utility will also optionally compress disk copy datasets which contain less than a user specifie
201. VE DATE Archival date in format YYYYMMDD W02 DATA LENGTH Length of data record to be archived W02 DATA Data record to be archived 3 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have additional error information in the supplementary code fields 1 and 2 ASM for S 390 v2 5 User Manual B 5 B 1 3 Identify Secondary Key BFARARCHIVE ARCHIVE PARAMETERS PERFORM B200 INIT NEARARCHIVE PARMS MOV MOV MOV MOV MOV 46 TO WO2 REQUEST CODE 49 TO WO2 SUPP CODE1 1 TO WO2 SUPP CODE2 V100 TO W02 DATABASE NAME WO 6 SEC IX KEY 49 TO WO2 DATA CE E P S CALL NEARARCHIVE TO ARCHIVE DATA CALL OTASP100 USING IF NOT WO2 RETURN CODE 00 MOV MOV W02 RETURN CODE T ERR MSG3 R WO2 SUPP CODE1 T ERR MSG3 S MOV W02 SUPP CODE2 T ERR MSG3 S MOV W99 ERR MSG3 T ERR MSG PERFORM Z900 ERROR PROCESSING AA Notes 1 Initialize NearArchive parameter block see B 1 1 2 W02 REQUEST CODE 46 identify secondary key for archived data W02 SUPP CODE1 Identify secondary index 01 99 In this example secondary index number 49 is being used 4 W02 SUPP CODE2 l indicates that the secondary key is in the data area W02 DATA
202. W99 MSGO09 SUPP CODE2 MOV W99 MSG09 W99 MSGOO GO TO BO99 EXIT MOV MOV MOV w E d A d ASM for S 390 v2 5 User Manual B 23 Notes 1 W02 REQUEST CODE 47 delete NearArchive object 2 W02 DATABASE NAME Name of NearArchive database to be processed This should match the last 4 characters of the CICS FCT entry for the database s primary index dataset 3 Pointer to a field containing the primary key of object to be deleted Note that the primary key field itself must be defined in the program linkage section Refer to program OTASC300 in the distributed NearArchive sample code library for an example of this usage 4 Archive date in format YYYYMMDD of object to be deleted 5 Link to NearArchive passing the parameter block in the COMMAREA 6 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have one or two supplementary codes set in reason code fields 1 and 2 ASM for S 390 v2 5 User Manual B 24 APPENDIX C Database Regression Utility Version 2 5 of ASM for S 390 requires that databases created using a pre version 2 5 release of the product be converted prior to use with this release Sections 2 9 and 3 5 in the main body of the manual discuss this requirement in detail Should it be required for any reason to reve
203. XXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKXXXXXXXXXXXKX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKXXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKXXXXXXXXXX 395 359 ZSO 259 SOS TSS ots 295 Riots Riots RESTS SS 155 Bests 2 ee EEEE EEE lt S SS KES KEE KEES ESS XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX PF3 end PF7 backward PF8 forward For option 1 a summary of all currently initialized tape reader tasks will be formatted and displayed on this screen For option 3 an identical display will be formatted for all currently initialized disk reader tasks The displayed fields will have the following contents MAXDRIVE This gives the currently active value of the MAXDRIVE initialization parameter This sets the limit on the maximum number of tape drives ASM for S 390 v2 5 User Manual 6 19 which ASM for S 390 will allocate to satisfy multiple simultaneous retrievals
204. Y LANGUAGE ASS EMBL ER EXECKEY CICS ASM for S 390 v2 5 User Manual DATALOCATION ANY 219 DEFINE PROGRAM LANGUAG OTAS UX02 E ASS EMBL ER DATALOCATION ANY EXECKEY CICS If the supplied CICS user exit module OTASUX02 is being replaced with a customer generated user exit module then the LANGUAGE parameter in the definition for program OTASUX02 should be modified to correspond to the language used for creation of the customer generated module Mapsets RDO DEFINE MAPS P3 Transactions RDO DTIMOUT ASM for S 390 v2 5 User Manual NO T OT26M00 TASKDATALOC ANY TASKDATAK DEFINE TRANSACTION OT22 PROGRAM OTASP220 EY CICS DEFINE TRANSACTION OT23 PROGRAM OTASP230 TASKDATALOC ANY TASKDATAKEY CICS DEFINE TRANSACTION OT24 PROGRAM OTASP240 TASKDATALOC ANY TASKDATAKEY CICS DEFINE TRANSACTION OT26 PROGRAM OTASP260 TASKDATALOC ANY TASKDATAKEY CICS DEFINE TRANSACTION OT70 PROGRAM OTASP270 TASKDATALOC ANY TASKDATAKEY CICS DEFINE TRANSACTION 0261 PROGRAM OTASP261 TASKDATALOC ANY TASKDATAKEY CICS 2 20 DEFINE TRANSACTION 0262 PROGRAM OTASP262 TASKDATALOC ANY TASKDATAKEY CICS
205. Y R Sun ORACLE APPLICATION STORAGE MANAGER for S 390 VERSION 2 RELEASE 5 USER MANUAL This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws Except as expressly permitted in your license agreement or allowed by law you may not use copy reproduce translate broadcast modify license transmit distribute exhibit perform publish or display any part in any form or by any means Reverse engineering disassembly or decompilation of this software unless required by law for interoperability is prohibited The information contained herein is subject to change without notice and is not warranted to be error free If you find any errors please report them to us in writing If this is software or related software documentation that is delivered to the U S Government or anyone licensing it on behalf of the U S Government the following notice is applicable U S GOVERNMENT RIGHTS Programs software databases and related documentation and technical data delivered to U S Government customers are commercial computer software or commercial technical data pursuant to the applicable Federal Acquisition Regulation and agency specific supplemental regulations As such the use duplication disclosure modification and adaptation shall be subject to the restrictions and license terms set forth in the applica
206. YNAMIC BACKOUT DISABLED Explanation An error has occurred opening the OTASLOGI sequential dataset during database open processing Dynamic backout processing has been disabled for the database update operation Database open processing will continue normally Action Consult any other available system messages for additional information about the error NearArchive processing continues but no dynamic backout processing will be performed if a close without commit request is issued by the calling application Take the appropriate corrective action to ensure that the error does not re occur during further database update operations If no apparent cause for the error can be identified contact your NearArchive product support representative OTS12004 DISK COPY PROCESSING DISABLED Explanation Disk copy processing has been disabled during NearArchive database update processing An accompanying message will give additional information concerning this condition ASM for S 390 v2 5 User Manual 8 87 Action Refer to the accompanying OTS12005 or OTS12006 message for additional information Take whatever action is recommended in the message description in the user manual OTS12005 MAXIMUM BLOCK COUNT EXCEEDED Explanation This message accompanies message OTS12004 when disk copy processing has been disabled during NearArchive database update processing Disk copy processing has been disabled because the maximum blockcount p
207. a return code of 15 Conversely a rerun output connect access ASM for S 390 v2 5 User Manual 4 12 code 6 request for a database which was updated successfully during the previous archival procedure will be rejected by NearArchive with a return code of 18 see chapter 8 for a full description of NearArchive return codes 3 Use the archive over ride date field in the rerun output connect request access code 6 if the archive date specified by the calling application in the parameter interface area for write object record calls request code 44 during rerun processing differs from that specified for the same calls during initial failed processing This can occur for example if an application uses the system run date to identify NearArchive objects Objects archived during a failed archival run will be identified by the run date of the failed run re archiving these objects during rerun processing will cause them to be identified with a new archive date NearArchive will treat these objects as new archived items and generate new index entries for them leaving the old index entries created during the failed archival run in place These old index entries will no longer be valid and any attempt to access data via them will fail The archive over ride date is provided to allow the date supplied by such applications in write object record calls during rerun processing to be automatically over ridden so that th
208. a NearArchive database s tape and disk datasets items a and b above is controlled by ASM for S 390 itself as described below ASM for S 390 v2 5 User Manual 5 12 5 2 3 1 Tape Dataset Backup ASM for S 390 allows the creation of up to four full volume copies of each tape dataset within a NearArchive database These copies are identified as follows a Primary A copy This copy is always present and is the primary copy created and updated during standard data archival processing b Primary backup B copy The B copy is the primary backup copy created by the NearArchive database backup utility OTASP110 c Duplex C copy The duplex C copy is created during batch archival processing concurrently with the primary A copy if duplexing has been enabled for the NearArchive database see chapter 3 Creation of a C copy requires the availability of a second tape cartridge drive unit during the archival procedure d Duplex backup D copy The duplex backup D copy is created by the NearArchive database backup utility OTASP110 concurrently with the B copy if duplexing during backup has been enabled for the NearArchive database see chapter 3 Creation of a D copy requires the availability of a third tape cartridge drive unit during the database backup procedure The dataset copy identifier is held as part of the standard NearArchive tape dataset name which has the following format HLO
209. a further retrieval request is issued which will cause the first record in the database to be re read OTASD216 This job deletes a data object from the NearArchive database OTASD217 This job issues NearArchive primary database query requests Three query response entries are returned on each request and the four possible sort retrieval request sequences are demonstrated OTASD218 This job issues NearArchive secondary index 01 query requests Three query response entries are returned on each request and the four possible sort retrieval request sequences are demonstrated ASM for S 390 v2 5 User Manual A 10 A 5 Running the online retrieval IVP The online IVP routines are now ready for execution Use the call audit reports produced from the batch archival or retrieval IVP to identify the primary and secondary keys of archived data in the NearArchive IVP database Sign on to the NearArchive CICS control region and initialize the region by running transaction OT23 Message OTS23001 should be displayed on the terminal indicating that the CICS control region has been successfully initialized Ensure that the OTASTEST primary index dataset is open and enabled prior to running transaction OT23 To run the NearArchive online IVP routines enter transaction identifier OIVP on the terminal A NearArchive IVP data entry screen will be displayed Data may then be retrieved by primary or secondary key To select data by primar
210. a primary tape dataset since the preceding execution of the backup utility Full volume and incremental backup copies of a database which have been created by this utility will be available for use in recovery processing after loss of individual tape volumes or loss of an entire data center The utility may also be used to create or re create one or more disk K copy datasets from a primary tape volume 8 OTASP130 the NearArchive database recovery utility The NearArchive database recovery utility is executed to recover one or more of a NearArchive database s primary tape cartridge volumes which are unavailable through media failure or loss It uses the database s recovery control entries as entered by the NearArchive database administrator via the supplied ISPF dialogs to identify all volumes in a database which are currently in recovery status The primary copy of each of these volumes will be re created from a full volume backup copy from one or more incremental backup copies or from a combination of both full volume and incremental backup copies and the volume automatically removed from recovery status Each of the above utilities is described in detail in the remainder of this chapter ASM for S 390 v2 5 User Manual 75 7 1 OTASP010 the NearArchive Index Print Utility The NearArchive index print utility will sequentially scan the primary index file for a NearArchive database and produce a print report
211. a primary tape dataset using a combination of full volume and incremental backup copies in the following sequence a Recovery will first be performed from a full volume backup copy using the copy identifier of the recovery control entry for the primary dataset as set during recovery control processing using the NearArchive data administration process in TSO ISPF or from the copy identifier in the COPYFULL execution parameter if specified If the designated backup copy does not exist 1 e is not cataloged the utility will take the following actions depending on the copy identifier selected or specified via execution parameter B copy if the B copy does not exist proceed with incremental recovery processing C copy if the C copy does not exist issue error message OTS13041 D copy if the D copy does not exist check whether a B copy exists for primary dataset being recovered If it does issue error message OTS13041 if it does not exist proceed with incremental backup processing ASM for S 390 v2 5 User Manual 7 71 a After all objects have been restored from the appropriate full volume backup dataset where one exists or after skipping full volume recovery processing where a full volume backup dataset does not exist the utility will continue with recovery from incremental backup datasets If one or more incremental backup datasets exist for the primary tape d
212. abase backup utility performs the following functions e Automatically identifies all tape datasets which need backing up for the database being processed These will be tape datasets which have been updated or newly created since the last backup processing for the selected database When executing in full volume mode processing will continue as follows e The utility will construct the name s of the full volume backup dataset s to be created for each tape dataset to be backed up This is done by adding the qualifier BO for primary backup copies CO for re creating duplex copies DO for duplex backup copies or KO when re creating disk copy datasets after the high level qualifier of the primary dataset name e Uncatalogs any existing full volume backup copies of a tape dataset This condition will occur when the last tape cartridge volume in a NearArchive database was partially filled at the end of the previous archival or utility procedure The next execution of the procedure will continue writing to the partially used volume until the maximum block count as specified by the user during database initialization or amendment has been exceeded or until the volume is full This tape cartridge volume will be backed up in both executions of the archival or utility procedure The first of the backups will be superseded by the second and will be uncataloged and may be returned to scratch status ASM for S 390 v2
213. accessing objects from a NearArchive database The utility will sequentially scan all or part of a NearArchive index and produce a print report containing formatted details of all objects held in the scanned index ASM for S 390 v2 5 User Manual 1 19 e OTASP020 the tape scan utility Like OTASPO10 the tape scan utility OTASP020 is also a diagnostic aid which is intended for use when investigating problems associated with accessing objects from a NearArchive database The utility will sequentially scan a single tape dataset from within a NearArchive database and produce a print report containing formatted details of all objects in the tape dataset e OTASP030 the database maintenance utility Objects may be deleted from a NearArchive database via explicit delete calls from an application or via automatic expiration processing Tape space within the database which is occupied by deleted objects will then become redundant Disk copies of objects may also be expired separately space within a disk K copy dataset occupied by these objects will also then become redundant The database maintenance utility is used to reclaim redundant tape and disk space from within the database The utility is responsible for identifying all tape cartridge volumes within a NearArchive database which contain less than a user supplied threshold of active objects All such volumes are recycled by moving active objects from those volumes to a differ
214. ace management file s ASM for S 390 v2 5 User Manual C 1 C 2 JCL Requirements The following JCL should be used to execute the NearArchive database regression utility EXEC PGM OTASP032 REGION 4M PARM VERSION 22 23 24 TEPLIB DSN NearArchive load library DISP SHR TASV100 DSN Database primary index name DISP SHR TASSO32 DSN Restart dataset name DISP SHR TASIDC1 DSN AMS parameter filel DISP SHR TASIDC2 DSN AMS parameter file2 DISP SHR SYSPRINT SYSOUT OTASIDCO SYSOUT The following mandatory EXEC parameter must be specified VERSION This parameter is used to determine which version of the NearArchive database is to be created during regression processing The following values may be set 22 regress to a version 2 2 database 23 regress to a version 2 3 database 24 regress to a version 2 4 database The value of this parameter should be set to correspond to the version of NearArchive in use prior to installation of version 2 5 of the product Dataset names should be set as follows for each DD entry STEPLIB The name of the ASM for S 390 product library as unloaded during the product installation procedure see chapter 2 OTASV100 The name of the primary index of the NearArchive database to be processed by the utility The utility will only process one NearArchive database for each execution OTASS032 The name of the restart control dataset Th
215. ackup gt _ Disk compress threshol Disk copy options Unit name gt Primary alloc gt Retention gt days Secondary all Release unused space gt _ Dataset blocksize gt Maximum blockcount per segment gt Fig 3 2 Storage level definition panel OTSN4301 3 1 2 Storage Level 0 Definition The storage level definition panel OTSN4301 is displayed to allow definition of storage level 0 for the NearArchive database being defined All new NearArchive databases are defined with a single storage level level 0 Creation of additional storage levels is performed through the database maintenance dialog option 2 from the main NearArchive menu Panel OTSN4301 is illustrated in figure 3 2 and contains the fields identified below The PF7 UP and PF8 DOWN keys may be used to scroll backwards and forwards through the panel display Primary index This field gives the name of the database s primary name index dataset as entered on panel OTSN4000 This dataset will be created during database initialization processing The contents of this field may not be ASM for S 390 v2 5 User Manual 3 12 Storage level Database blocksize Maximum blockcount per volume Unit name for scratch allocation ASM for S 390 v2 5 User Manual amended This indicator identifies the storage level being defined During initial database definition processing this value will always be 0 T
216. al CICS retrieval requests only 36 4 bin Object length partial CICS retrieval requests only 40 10 Reserved for future use 50 2 bin Length L of the following object data buffer 52 L char Object data buffer Any variations in field usage for specific request codes will be identified in the description of those request codes in the following sections The API may also be used for management of double byte character set DBCS data objects NearArchive DBCS support falls into three areas 1 All data records written to the archive database may contain any combination of SBCS or DBCS characters with or without shift control bytes ASM for S 390 does not process the contents of any record 2 The program interface parameter area must always be specified in SBCS 3 The primary and or secondary keys may contain SBCS and or DBCS values To avoid problems printing our reports your primary and or secondary keys must include the necessary shift out SO and shift in SI control bytes Figures 4 1 to 4 3 illustrate the CALL statement coding required for Assembler COBOL and PL 1 batch programs Sample COBOL code for each type of NearArchive request is supplied in Appendix B Note that sufficient storage must be allocated in the data buffer field in the parameter area either via GETMAIN processing or via pre allocation in working storage to hold the largest record contained in any NearArchive object that will be processed by the
217. al information after an exception condition Name of database to be updated This should be identical to the database name specified or defaulted in the corresponding connect database request A default value of V100 DD name of OTASV100 is used for the database name if this field is set to spaces or binary zeroes Pointer to the field containing the primary key of the NearArchive object of which the record being archived is a component The length of the primary key field addressed by this entry must be equal to the primary key length specified during database initialization processing For DBCS customers you must include the necessary shift control bytes to avoid problems printing reports The archive date of the NearArchive object of which the record being archived is a component in the format YYYYMMDD This date is used in conjunction with the primary key to uniquely identify a NearArchive object for retrieval from the database NearArchive will use any change in the value of this filed during successive write requests to identify the start of a new object This field must contain a valid date in the range Jan 1 1950 to Dec 31 2049 Not used for this request type Not used for this request type 4 32 position Object length Not used for this request type Data buffer length On entry this field must contain the length of the data record to be archived Data buffer On entry this field should
218. al interface D 3 1 Request Code 30 Open Database D 3 2 Request Code 31 Query Index D 3 3 Request Code 32 Read data record D 3 4 Request Code 33 Delete Object D 3 5 Request Code 34 Close database APPENDIX E Managing Disk K Copy Capacity E 1 Disk K Copy Capacity E 1 1 Conventional Physical Sequential non SMS E 1 2 Extended Format Data Sets SMS E 1 3 Striped EFDS SMS E 2 Disk K Copy Blocksize Considerations E 3 SMS Requirements for EFDS Striping E 3 1 Data Class Definition for EFDS Striping E 3 2 Sample ACS Routine for Data Class Selection E 3 3 Storage Class Definition for EFDS Striping E 3 4 Sample ACS Routine for Storage Class Selection D 23 D 24 D 26 D 30 D 34 D 35 E 1 E 1 E 1 E 1 E 2 E 2 E 3 E 3 E 3 E 4 E 4 ASM for S 390 v2 5 User Manual This page is deliberately blank ASM for S 390 v2 5 User Manual CHAPTER Introduction ASM for S 390 v2 5 User Manual This page is intentionally left blank ASM for S 390 v2 5 User Manual 1 2 I 0 Introduction This ASM for S 390 User Manual describes the implementation and usage of version 2 5 of Oracle s Application Storage Manager ASM for S 390 database management product It is an updated version of the NearArchive version 2 4 User Manual ASM for S 390 was known in earlier releases as NearArchive In order to provide continuity with previous releases the user manual for this
219. all NearArchive batch procedures normally using DDname OTASV100 e All secondary index datasets if secondary indexing has been implemented for the database Each secondary index consists of a single VSAM KSDS with dataset name hlq SECIXnn where hlq is the system dataset high level qualifier as specified during definition of the NearArchive database and nn is a value in the range 00 to 99 identifying the secondary index e The space management dataset s for the storage level s updated by the job Each space management dataset is a VSAM KSDS with dataset name hlq SPACEMLn where hlq is defined as above and n is the storage level number in the range 0 7 e The database s journal dataset if the audit trail facility has been enabled for that database This isa VSAM ESDS with dataset name hlq JOURNAL where hlq is defined as above Standard VSAM dataset backup procedures may be used to backup all the above datasets Backup of tape datasets in the NearArchive database may be made using the standard NearArchive tape duplexing backup facilities see section 5 2 3 1 for further details Tape dataset backups are not normally required for recovery after failure of an archival procedure unless that failure was caused by problems with the tape cartridge media In addition any non NearArchive datasets which were updated during the archival procedure
220. all information concerning the error condition and report the error to your NearArchive product support representative OTS13037 WRITE TO OUTPUT TAPE FAILED PROCESSING TERMINATED Explanation An input output error has been received during processing of an output tape dataset Execution of the utility will be terminated Action Review the system or job log for additional system messages regarding the I O error Take the appropriate corrective action and rerun the job If no apparent cause for the error can be determined contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 98 OTS13038 INVALID PARM SPECIFIED ON EXEC STATEMENT PROCESSING TERMINATED Explanation A validation error was detected during execution parameter checking Execution of the utility has been terminated Action Refer to the parameter validation error report issued by the utility for information regarding the error s encountered during parameter validation processing Take the appropriate corrective action and rerun the utility OTS13039 OUTPUT TAPE WAS NOT OPENED PROCESSING TERMINATED Explanation An error has been received opening an output tape dataset Execution of the utility will be terminated Action Review the system or job log for additional system messages regarding the error Take the appropriate corrective action and rerun the job If no apparent cause for the error can be determined contac
221. als A value of Y will only be accepted if the SMF record identifier is non zero CICS retrieval Enter Y to enable SMF logging during object logging on retrieval processing from CICS application programs Enter N to disable SMF logging for CICS retrievals A value of Y will only be accepted if the SMF record identifier is non zero After all required updates have been made press ENTER Any invalid entry will be rejected and a corresponding message displayed in the top right hand corner of the panel For additional information regarding the error press PF1 To obtain help information regarding panel definition entries press PF1 once more When all updates have been accepted base database maintenance processing will continue as follows e If neither the audit trail or journal archiving facilities have been enabled the database definition will be updated and panel OTSN4200 re displayed e If the audit trail facility has been enabled for the first time during database maintenance processing the Access Method Services AMS control panel OTSN4303 will be displayed This will allow customization of the AMS parameters used to define the database s journal dataset Refer to section 3 1 3 for a description of fields on this panel Enter the appropriate details and press ENTER ASM for S 390 v2 5 User Manual 3 33 e If the journal archive facility has been enabled for the first time during database maintenance processing
222. als this will be the identifier of the user issuing the object retrieval request For batch ASM for S 390 v2 5 User Manual 8 143 Offset Lengt Format Description h retrievals this will be the user identifier assigned to the batch job 62 8 char Archive date of retrieved object in format YYYYMMDD 70 k char Primary key of retrieved object where k is the primary keylength as specified in the database section ASM for S 390 v2 5 User Manual 8 144 APPENDICES This page is intentionally left blank APPENDIX A Installation Verification Procedure After installation of the product has been successfully completed as detailed in Chapter 2 installation verification procedure IVP processing may be executed This will execute a number of supplied routines which will verify that each of the ASM for S 390 component functions batch archival batch and online retrieval has been installed and is executing correctly The instructions given in this appendix should be followed step by step and the results of each stage of the IVP compared with the supplied sample listings as described in the IVP instructions ASM for S 390 v2 5 User Manual A l A 1 IVP Datasets The files and libraries necessary for running the ASM for S 390 IVP are supplied on the standard ASM for S 390 distribution tape and are unloaded during ASM for S 390 installation see Chapter 2 A brief description of the files and libraries is giv
223. ameter the start sequence number specified in this parameter will be honored for all storage levels The utility will scan for eligible volumes datasets up to the sequence number specified or defaulted in the ENDSEQ parameter nnnnn should be a 1 5 character numeric value in the range 0 65535 specifying the dataset sequence number within each storage level at which scanning is to start If omitted a default value of 0 is used This indicates that scanning is to start from the beginning of each storage level being processed ENDSEQ _ This parameter is used to specify the tape dataset sequence number at which scanning for eligible volumes datasets for recycling and or compressing is to finish If more than one storage level is being processed by the utility as controlled via the LEVEL parameter the end sequence number specified in this parameter will be honored for all storage levels The utility will scan for eligible volumes datasets from the sequence number specified or defaulted in the STARTSEQ parameter nnnnn should be a 1 5 character numeric value in the range 0 65535 specifying the dataset sequence number within each storage level at which scanning is to end If omitted a default value of 65535 is used This indicates that scanning is to continue to the end of each storage level being processed Dataset names should be set as follows for each DD entry STEPLIB The name of the NearArchive product library a
224. analysis from the database s journal archive database If the DATE parameter is specified the live journal dataset will not be processed If no journal archive database exists execution of the utility will be terminated Use the DATE parameter to specify the range of dates to be processed from the journal archive database One or two date values may be specified in the format YYYYMMDD to indicate the start and end date inclusive of the range to be processed The end date must not be less than the start date The end date may be omitted along with the separator if only one day s archived entries are to be processed The dates specified in this parameter refer to the dates on which journal entries were first created i e the date that the corresponding update to the NearArchive database was made If the DATE parameter is omitted the utility will perform a live journal dataset analysis ASM for S 390 v2 5 User Manual 7 42 NODUPS Specify the NODUPS parameter if the utility is to remove duplicate entries from the journal file during current journal analysis processing i e no DATE execution parameter specified Duplicate entries may be present if a database update procedure was cancelled or terminated abnormally and was subsequently restarted to complete the update process Specification of this execution parameter will cause the utility to perform the following three additional processes prior to continuing with sta
225. and the co ordinates of each segment 6 1 3 TSO stringing The NearArchive object retrieval process will copy a retrieved object to a CICS temporary storage queue TSQ in main or auxiliary storage as indicated by the calling application Each record in the object will be stored as a single entry in the queue Records are stored in the TSQ in the order in which they appear in the object However a single CICS TSQ may only hold up to 32 767 entries Objects with more than this number of records may consequently not be held in a single queue To cater for objects with more than 32 767 records ASM for S 390 uses a facility called TSQ stringing The TSQ stringing facility enables NearArchive objects containing more than 32 767 records to be processed by a CICS application In these circumstances the TSQ identified by the calling application in its call parameters will contain the first 32 766 records from the object The final 32 767 entry in the TSQ will contain a pointer to the next TSQ in the string Object storage will then continue from the start of the second TSQ This pattern is repeated until all records from the retrieved object have been stored in CICS temporary storage A maximum of 256 TSQs may be used to hold the retrieved object ASM for S 390 indicates to a calling application that stringing of TSQs has occurred in response to an object retrieval request by setting a return code of 04 and setting a value of 4 for nor
226. anel and press ENTER to proceed When all panel entries have been accepted Access Method Services AMS control panel OTSN4222 will be displayed to allow customization of the AMS parameters used to define the secondary index dataset Press PF3 to terminate the secondary index definition procedure at any point Definition of the secondary index will be abandoned and secondary index maintenance menu panel OTSN4220 re displayed The secondary index will not have been defined Online help information for each panel may be obtained by pressing PF1 Panel OTSN4221 contains the following fields All field entries are mandatory for this panel Primary index name Secondary index no Length Start position in record ASM for S 390 v2 5 User Manual This field gives the name of the database s primary index dataset as entered on panel OTSN4000 The contents of this field may not be amended The identifier of the secondary index to be updated as entered on the secondary index maintenance menu panel OTSN4220 The contents of this field may not be amended Mandatory field Gives the secondary key length for this secondary index This must be a numeric value in the range 1 252 However the combined length of the primary and this secondary key cannot exceed 254 characters The maximum number of DBCS characters permitted is 126 plus the Shift Out SO and Shift In SI bytes If using DBCS enter the true count of bytes us
227. ange 0 7 ALL process all storage levels in the database If this parameter is omitted a default value of ALL is used Where a database has only one storage level specifying a value of ALL for this parameter or allowing it to default will cause the utility to process storage level 0 only RESTART Specify the RESTART parameter to control utility restart processing The following parameter values may be specified NO normal utility processing is to be invoked This is the default value ASM for S 390 v2 5 User Manual 7 20 YES restart utility processing is to be invoked If the previous execution of the utility did not terminate successfully the utility should be rerun with a RESTART parameter value of YES The utility will not execute after a failed run unless RESTART YES is specified in the EXEC parameter For normal running the default value of NO should be used FORCE Specification of the FORCE parameter will cause the utility to recycle all current tape datasets in the storage level s being processed if the RECYCLE YES EXEC parameter has been specified or defaulted and or compress all disk copy datasets in the storage level s being processed if the COMPRESS YES EXEC parameter has been specified or defaulted The percentage of active objects on each tape or disk dataset and the recycle or compress threshold specified for the storage level will not be significant when this option
228. anual 1 12 Use of ASM for S 390 for online recall from tape requires the installation of an automated tape processing system for satisfying specific mounts Using tape automation it will be possible for online users to access any tape resident NearArchive object The response time will be dependent on the tape hardware in use and the location of data on the tape No impact is made on the response times of other CICS users in the system while tape retrieval is in progress In addition the average time taken to retrieve any NearArchive object from tape is not dependent on the size of the NearArchive database in which the object is stored i e the number of tape cartridge volumes in the database This means that huge quantities of data may be accessible online with consistent and predictable retrieval response times CICS programs may assign a priority to an object retrieval request This priority will be honored by ASM for S 390 when adding a request to a tape reader task queue CICS programs may also use the API to delete objects from a NearArchive database and to query the primary or secondary indexes of a database Refer to chapter 6 of this manual for more information on processing of a NearArchive database by CICS programs 1 5 Online Access to NearArchive Databases ASM for S 390 enables users to access very large quantities of data via online transaction processing facilities controlled by CICS Special processing techniques
229. application The illustrated examples are coded to handle a maximum record length of 256 bytes Any unused field in the parameter interface area should be set to spaces for character fields or binary zeroes for all other field types ASM for S 390 v2 5 User Manual 45 EARARCHIV EQUEST CO ETURN COD UPPLEMENTA UPPLEMENTA UPPER BYT UPPCD2 LOWER BYT UPPCD2 DATABASE NA gt PRIMARY ARCHIVE DAT DD TSQ NA OBJEC OBJECT RECORD ED DATA BUFF DATA BUFF ERPROG R5 PARMBLK OTASP100 R5 PARMBLK AL4 WORKING STORAGE SECTION 01 OTAS PARAMETER OTAS REQ CODE PIC 99 OTAS RET CODE PIC 99 OTAS SUPP CODI PIC S9 4 COMP OTAS SUPP CODI PIC S9 4 COMP OTAS QUERY R ES OTAS SUPP CODE 2 05 OTAS UPPER PIC Xs 05 OTAS LOWER PIC X 03 OTAS DATABAS PIC X 03 OTAS KEY POINT POINTE 03 OTAS ARCHIVE DATE 05 OTAS ARCHIVE DA PIC 05 OTAS A E DAT PIC 05 OTAS A E DAT PIC OTAS TSQ PIC 7 OTAS OBJI TART PIC COMP OTAS OBJ EC CO PIC COMP OTAS RES PIC 7 OTAS BUFF ENGTH PIC COMP OTAS DATA BUFFER PIC WW FI EF Fl zj l EDURE DIVISION
230. appropriate option on panel OTSN4220 For each option the identifier of the secondary index to be updated created must be entered in the secondary index number field The identifier of a NearArchive secondary index is a numeric value in the range 1 99 This is the identifier used throughout ASM for S 390 to refer to that secondary index For options 1 and 3 the identified secondary index must already exist For option 2 the identified secondary index must not already exist ASM for S 390 v2 5 User Manual 3 34 OTSN4220 NearArchive V2 5 Secondary Index Maintenance COMMAND gt Primary index name gt Option Update secondary index definition Add new secondary index Delete secondary index Secondary index number gt _ Fig 3 6 Secondary index maintenance menu panel OTSN4220 3 2 2 1 Update Secondary Index Definition OTSN4223 NearArchive V2 5 Update Secondary Index Definition COMMAND gt Primary index name gt Secondary index no gt Secondary key specification Start position in record gt index disabled Automatic indexing controls Record no within object gt no automatic indexing index all records within archived object Fig 3 7 Secondary index update panel OTSN4223 ASM for S 390 v2 5 User Manual 3 35 The secondary index update panel OTSN4223 will be displayed when option 1 is selected from the secondary index maintenance menu panel OTSN4220
231. arArchive via the batch application program interface will be rejected with a return code of 91 a supplementary code 1 value of 0 and supplementary code 2 value of 1 ASM for S 390 v2 5 User Manual 2 30 e application calls to NearArchive via the CICS application program interface will be rejected with a return code of 91 a supplementary code value of 0 and supplementary code 2 value of 1 e NearArchive CICS control region initialization via transaction OT23 will fail if no v2 5 database primary index file is present in the file control table FCT e NearArchive utilities will terminate with condition code 12 and issue an error message to the error report print file e database administration processing in TSO ISPF will be terminated with message OTS49008 when a pre v2 5 database is selected for processing Each database defined using a pre v2 5 release of NearArchive should be converted using the following procedure Enter the name of the primary index of the database to be converted on the NearArchive database administration entry panel OTSN4000 in TSO ISPF and select option 5 ASM for S 390 will then automatically convert the database for use by v2 5 The database conversion process consists of reformatting control records in the primary index and of converting the space management file s from a VSAM ESDS file to a VSAM KSDS with variable length records There is no requirement to access or convert tape dat
232. are used by ASM for S 390 to bypass limitations imposed by CICS File Control processing to enable tape datasets to be accessed from within CICS applications without impacting general user response times This means that only those users who have made archival retrieval requests which may involve tape dataset access will wait for tape I O to be completed There is no impact on response times for other CICS users who may be active at the same time In addition retrieval requests which are stalled due to some external wait condition such as an outstanding tape mount request may optionally be terminated by ASM for S 390 if the time interval specified in the TIMEOUT initialization parameter has expired ASM for S 390 v2 5 User Manual 1 13 Coding techniques used to implement tape support from within CICS use standard OS macros and CICS commands This means that there is no exposure due to the use of unpublished or release dependent interfaces Access to one or more NearArchive databases in a CICS environment is performed by a NearArchive control region This region will service requests from NearArchive applications running within that region or from within other CICS regions in the same OS 390 host which have been connected to the control region using standard CICS Multiple Region Operation MRO facilities The NearArchive control region will allow shared access to multiple NearArchive databases from all CICS regions within a singl
233. ary code 2 ASM for S 390 v2 5 User Manual 115 not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call on entry specifies an option to be used for database close processing 0 unload the last tape cartridge volume used after closing the database 1 leave the last tape cartridge volume used mounted at load point 2 leave the last tape cartridge volume used mounted at end of dataset On return may contain additional information after an exception condition on entry specifies whether updates are to be committed prior to closing the database 0 commit all database updates before closing the database 1 do not commit updates made since the last commit process before closing database If a database is closed without committing updates the database must be next opened for rerun request code 11 Uncommitted objects will be backed out at this time D 10 On return supplementary code 2 may contain additional information after an exception condition Primary key no entry required for this call type Archival date no entry required for this call type Data length no entry required for this call type Data area no entry required for this call type Usage Notes 1 Use supplementary code 1 to control handling of the tape cartridge volume in use when the close request was issued If the database is to be re opene
234. as normal If a disk dataset needs to be re created subsequent to its normal deletion by the NearArchive object management utility or after loss of the dataset for any other reason it may be re created from a primary tape dataset using the backup utility OTASP110 This utility will delete and re create all existing disk copy datasets associated with a primary tape dataset or create a new set of disk datasets if none currently exists and copy all objects which are eligible for disk residency based on the disk retention period set for the storage level being processed from a designated primary tape volume to the new set of disk datasets Up to 256 disk datasets may be created for each primary tape dataset Disk residency rules should be set as required prior to executing the backup utility 5 2 3 4 Database recovery after failure Backing up a NearArchive database after update To be able to recover a NearArchive database following failure of an archival process a backup copy of system datasets belonging to that database will be required This backup should be taken after successful completion of a database update procedure ASM for S 390 v2 5 User Manual 5 18 The system datasets to be backed up after update of a NearArchive database consist of the following e The primary index dataset This isa VSAM KSDS whose name is assigned during initial definition of the NearArchive database A DD entry for the dataset must be specified in
235. ase having been exceeded for all objects in the dataset Appropriate selection of the maximum size for each disk copy dataset will thus inhibit over utilization of disk space when using high capacity tape volumes for storage of primary copy tape datasets Disk copy datasets may be re created after deletion or after loss of the dataset through use of the NearArchive database backup utility OTASP110 1 4 Application Program Interface ASM for S 390 supplies an application program interface API to allow applications to perform the following functions e storage of objects in a NearArchive database e retrieval of objects from a NearArchive database e deletion of objects from a NearArchive database e querying the contents of a database e creation of secondary keys for an archived object e commit updates to a NearArchive database A full description of the new application program interface may be found in chapter 4 of this manual ASM for S 390 v2 5 User Manual 1 10 1 4 1 Batch processing An API is supplied to enable batch programs to write objects to any storage level in a NearArchive database The batch program will identify the archive object by primary key and archive date One or more secondary keys for each object may additionally be identified automatically or explicitly This information is used by ASM for S 390 to maintain primary and secondary indexes for the database These indexes are used to enable rapid retrieval
236. aset will be cleared after successful completion of the NearArchive journal maintenance utility OTASPO70 The journal dataset should be large enough to contain the maximum number of journal entries created between successive executions of the journal maintenance utility Journal archive database allocation For journal archive allocation one main index entry record will be created in the primary index for each day s data held in the journal archive database Each record will be 40 bytes in length The maximum index space required to hold a year s worth of information in the journal archive database primary index will therefore be 365 40 14600 bytes Supplementary index records are not used in the journal archive database Choose primary and secondary allocation values for the journal archive database primary index which will allow a gradual growth in the size of the dataset over the life of the database ASM for S 390 v2 5 User Manual 3 27 3 2 Maintenance of a NearArchive Database Maintenance of a NearArchive database is invoked from the main NearArchive database maintenance facility menu OTSN4000 Enter on this panel the name of the primary index dataset of the database on which maintenance is to be performed and select option 2 Update database definition The database maintenance menu panel OTSN4200 will then be displayed see figure 3 4 This allows selection of the following options 1 Base database maintena
237. asets during the database conversion process Note that the length of time taken to convert a database will depend on the size of each space management file in the database This in turn depends on the number of tape volumes in each storage level in the database Refer to section 3 5 of this manual for more information on the database conversion process 2 10 1 Database regression Conversion of version 2 2 2 3 or 2 4 databases may be backed out if required by using the database regression utility OTASP032 This utility will process a version 2 5 database and reformat the index and space management files back into a version 2 2 2 3 or 2 4 format as required Refer to appendix C of this manual for a description of the database regression utility ASM for S 390 v2 5 User Manual 2 31 2 11 Run installation verification procedures After ASM for S 390 installation has been completed successfully the installation verification procedures should be executed to verify that all components required for ASM for S 390 operation have been installed and are functioning correctly Refer to appendix A of this manual for details on running the installation verification procedures ASM for S 390 v2 5 User Manual 2 32 CHAPTER 3 NearArchive Database Definition and Maintenance ASM for S 390 v2 5 User Manual This page is intentionally left blank ASM for S 390 v2 5 User Manual 3 2 Specification and maintenance of a N
238. asing expensive disk storage for more active use ASM for S 390 will continue to allow users customers to access all archived data immediately without the long delays typical of batch retrieval facilities This may be useful for enabling improved customer service facilities e g immediate response to branch office or telephone queries ASM for S 390 v2 5 User Manual 1 3 e Periodic monitoring information e g meter readings Information which is produced periodically and logged on disk by application processing may be archived via ASM for S 390 to tape and retained for an unlimited period without impacting disk storage requirements This information will still be available for immediate online access when required by CICS application users e Transaction details e g financial debit and credit transactions may be archived on a periodic basis e g monthly all transactions during that period being archived to a NearArchive database All transactions for one particular account in any particular period may then be recalled from the database via a single request 1 2 Software Environment Batch archival and retrieval with ASM for S 390 operates using OS 390 as the system control program and requires host support for 3480 3490 and or 3590 devices ASM for S 390 v2 5 will execute with versions of OS 390 from 1 1 upwards Online retrieval is performed using CICS as the transaction processing software ASM for S 390 uses the stan
239. at the end of the first dataset not at the position at which it was opened at the start of the failed procedure This will mean that some physical tape storage will not be re used during the rerun causing the amount of active storage on that tape to be reduced The unused storage will ultimately be released on execution of the NearArchive database maintenance utility If it is wished to avoid this condition then the first tape dataset updated during the failed archival procedure should be recovered using the NearArchive database recovery utility OTASP130 To perform the recovery place the tape dataset in recovery status via option 4 of the TSO ISPF NearArchive database maintenance dialog and execute the recovery utility On successful completion of this process the archival job ASM for S 390 v2 5 User Manual 5 20 may be rerun as described above Refer to chapter 7 for details on use of the database recovery utility Note that only the first tape updated during a failed archival procedure will need to be recovered as described above All subsequent tapes created during the failed procedure will be automatically uncataloged and re created by ASM for S 390 and do not need to be recovered individually 5 3 Batch Retrieval Processing 5 3 1 Processing Overview Retrieval of data from a NearArchive database by a batch processing program involves the following steps e Connect to the NearArchive database for input or input output
240. atabase DISCONNECT NEARARCHIVE DATABASE PERFORM C100 INIT NEARARC E PARMS MOVE 49 lO W02 REQUEST CODE MOVE V100 l O W02 DATABASE NAME CALL OTASP100 USING W02 NEAR PARMS IF NOT W02 RETURN CODE r00 MOVE W02 RETURN CODE TO RR MSG6 R RR MSG6 S RR MSG6 S RR MSG MOVE WO2 SUPP CODE1 TO MOVE W02 SUPP CODE2 TO MOVE W99 ERR MSG6 TO PERFORM Z900 ERROR PROCESSING CYA A A Notes 1 Initialize NearArchive parameter block see B 2 1 2 A request code of 49 is the only mandatory entry in the parameter block for a database disconnect call Supplementary code 1 may optionally be set to control tape cartridge volume handling during dataset close processing 3 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have one or two supplementary codes set in fields 1 and 2 ASM for S 390 v2 5 User Manual B 18 B 3 CICS Processing B 3 1 Retrieve Archived Object E ARCHIVED OBJECT PACES TO WO2 NEAR PARMS EROS TO W02 SUPP CODE1 WO02 SUPP CODE2 W02 OBJECT START W02 OBJECT REC COUNT WO2 DATA LENGTH MOV WAS lO WO2 REQUEST CODE MOV TEST l O W02 DATABASE NAME SET W02 KEY POINTI I l O ADDRESS OF CA ST K MOVI CA ST DAT WO2 AR
241. atabase backup utility OTASP110 OTS03045 RETURN CODE X yy FROM SORT ON DSN xxxx xxxx COMPRESS FAILED FOR THIS DATASET Explanation Return code X yy was received from an internal invocation of the system sort utility Database maintenance processing is terminated with condition code 12 Action Refer to the report issued by the sort utility in spool file SYSOUT in the job output for more information on the cause of the error Take the appropriate corrective action and restart the database maintenance utility OTS03046 RETURN CODE X yy FROM IDCAMS RENAMING DSN xxxx xxxx COMPRESS FAILED FOR THIS DATASET Explanation Return code X yy was received from an internal invocation of the Access Method Services utility IDCAMS Database maintenance processing is terminated with condition code 12 Action Refer to the report issued by IDCAMS in spool file OTASS038 in the job output for more information on the cause of the error Take the appropriate corrective action and restart the database maintenance utility OTS03048 BLDVRP FAILED RETURN CODE X xx PROGRAM EXECUTION TERMINATED Explanation Return code X xx was received from a request to build a VSAM Local Shared Resources buffer pool Processing of the utility is terminated with condition code 12 Action Refer to the IBM documentation on the BLDVRP macro for an explanation of the return code Take the appropriate corrective action an
242. atabase backup utility All the above copies are created automatically by ASM for S 390 These copies may be used to implement database recovery processing in the following circumstances e loss of individual tape cartridge volume s from within a database An individual volume may become unavailable for object retrieval due to media failure physical loss or for some other reason e loss of an entire database All tape cartridges within a NearArchive database may become unavailable for object retrieval due to loss of a data center or serious hardware malfunction In each of the above circumstances ASM for S 390 provides facilities to enable access to a NearArchive database to continue without interruption and without the need to physically restore any tape cartridge volumes NearArchive data recovery functions are implemented via its database administration facility A NearArchive database recovery utility is also available to physically recover primary copies of a database if required Additionally up to 256 disk datasets may exist for each primary tape dataset in a database storage level These are known as the K copy datasets These datasets will contain copies of one or more objects from the corresponding tape dataset Disk copies of objects are created at the same time as tape copies of objects during batch archival or storage level migration processing if K copy processing has been enabled for the storage level in wh
243. ataset being recovered the utility will process each of these datasets in ascending numeric sequence as specified in the low level qualifier of the incremental backup dataset see section 7 4 1 for a description of the incremental backup dataset naming convention All objects from each incremental backup dataset will be restored in sequence to the primary tape dataset When all incremental backup datasets associated with the primary dataset have been processed then recovery of that primary dataset is complete If no incremental backup dataset exists for the primary tape dataset being recovered then no incremental backup processing will be performed and recovery of that primary dataset is complete e After successful recovery of a primary tape dataset it will be removed from recovery status e A processing report will be produced giving details of all primary datasets recovered and uncataloged during execution of the utility e Unavailable volumes i e volumes in recovery status which have been marked with an X copy will not be processed by the utility 7 8 2 JCL Requirements The following JCL may be used to execute the NearArchive database recovery utility EP1 EXEC PGM OTASP130 REGION 4M PARM COPYFULL B C D COPYINC I J LEVEL n ALL NODEVCHECK TEPLIB DD DSN NearArchive load library DISP SHR TASV100 DD DSN Database primary index name DISP SHR
244. ate the success or otherwise of the NearArchive call Non zero return codes may have additional error information in the supplementary code fields 1 and 2 ASM for S 390 v2 5 User Manual B 4 B 1 2 Write Record to NearArchive Database EARARCHIVE ARCHIVE PARAMETERS RM B200 INIT NEARARCHIVE PARMS 44 TO WO2 REQUEST CODE V100 TO W02 DATABASE NAME W02 KEY POINTER TO ADDRESS OF PD STAFF NO PD EMP TO DATE TO W02 ARCHIVE DATE W04 EX REC LENGTH TO W02 DATA LENGTH EXPENSES RECORD TO W02 ARCHIVE DATA eaea iea CALL NEARARCHIVE TO ARCHIVE DATA CALL OTASP100 USING EAR PARMS IF NOT MOV W0O2 RETURN CODE 00 3 E W02 RETURN CODE TO ERR MSG3 RETURN MOVE WO2 SUPP CODE1 TO ERR MSG3 SUPP1 MOV WO02 SUPP CODE2 TO ERR MSG3 SUPP2 MOVE W99 ERR MSG3 TO ERR MSG PERFORM Z900 ERROR PROCESSING Notes 1 Initialize NearArchive parameter block see B 1 1 2 W02 REQUEST CODE 44 write a data segment to the database W02 DATABASE NAME_ Name of database to be updated W02 KEY POINTER Pointer to primary key of data object being archived Note that the primary key field itself must be defined in the program linkage section Refer to program OTASC100 in the distributed NearArchive sample code library for an example of this usage W02 ARCHI
245. ation Informational message indicating the storage level s being processed bbbbbbbbbbbbb may contain the following ASM for S 390 v2 5 User Manual 8 93 EXEC PARAMETER the storage level being processed is taken from the job EXEC parameter DEFAULT all storage levels are being processed the default value Action No action necessary OTS13019 END OF VOLUME ENCOUNTERED ON OUTPUT TAPE VOLUME Explanation An end of volume condition has occurred on the output tape volume during dataset recovery processing This is not permitted Action Ensure that the tape volume to be used for the recovered primary dataset is of a similar specification to that of the backup dataset being used for data recovery Rerun the recovery utility OTS13020 ERROR X xxyy UPDATING INDEX ENTRY RECORD OTS13021 PRIMARY KEY aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Explanation An error has occurred when updating a main index entry record in the NearArchive database s primary index dataset xx and yy are the hexadecimal return and reason codes respectively aaaaaaaaaaa is the primary key of the NearArchive object being processed Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate action and restart the job If no cause of the error can be identified contact your NearArchive product support representative OTS13023 NO TAPE VO
246. ation processing For DBCS customers this is the true number of bytes including all shift control bytes present when the object was archived Object archive The archive date of the NearArchive object to be date deleted in format YYYYMMDD TSQ name Not used for this request type Object start Not used for this request type position Object length Not used for this request type Data buffer length Not used for this request type Data buffer Not used for this request type Usage Notes 1 For batch and TSO applications the NearArchive database must be connected for input output or output processing prior to issuing an object deletion request A return code of 89 will be set by NearArchive in response to a deletion request for a database which has been connected for input access only 2 For CICS applications the primary index of the NearArchive database being accessed must be available for update processing by the CICS application This file will have a CICS File Control Table entry name of OTASxxxx where xxxx is the database name specified in the NearArchive call parameters see section 2 8 4 for a description of CICS table entry requirements A return code of 89 and supplementary code 1 value of X 0100 will be set by NearArchive in response to a deletion request for a database whose primary index is available for input processing only Additionally if the NearArchive audit trail facility has been enabled for t
247. ation on SMF for an explanation of the SMFWTM error code Take the appropriate corrective action and stop and restart the reader task For other return codes or if no reason can be found for the SMF write error contact your NearArchive product support representative OTS25403 TASK nnn MULTI BLOCK REQUEST TIMEOUT Explanation Disk reader sub task nnn has waited for a response from the NearArchive object retrieval driver program for longer than the time interval specified in the TIMEOUT initialization parameter The request will be terminated Action Consult any other available NearArchive system error messages for additional information regarding this condition If no apparent cause for the timeout can be identified contact your NearArchive customer support representative 8 19 CICS Operator Interface Messages OTS26000 SELECT OPTION AND PRESS ENTER Explanation This message is displayed on the operator interface menu selection screen OTSN260 Action Enter a valid option numeric character in the range 1 5 corresponding to the processing required and press enter OTS26002 PLEASE ENTER VALID OPTION Explanation No option has been entered in the option field on the CICS operator interface menu selection screen OTSN260 before pressing enter Action Enter a valid option numeric character in the range 1 5 corresponding to the processing required and press enter ASM for S 390 v2 5 User Manual 8 114
248. available system messages for additional information on the error Make the appropriate corrections and resubmit the utility OTS07001 DD CARD MISSING IN JCL FOR OTASV100 Explanation Action No OTASV100 DD card was supplied in the JCL used to execute the utility This DD card is required in order to identify the primary index of the database to be processed by the journal maintenance utility Add a DD card for file OTASV100 to the JCL and rerun the job Refer to chapter 7 for a description of JCL requirements for the journal maintenance utility ASM for S 390 v2 5 User Manual 8 60 OTS07002 OPEN FAILED FOR aaaaaaaa RETURN CODE X xx REASON CODE X yy Explanation A error has occurred when opening the VSAM dataset aaaaaaaa xx and yy are the hexadecimal return and reason codes from the VSAM open macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job OTS07003 UNABLE TO GETMAIN STORAGE FOR aaaaaaaa BUFFER INCREASE JOB REGION SIZE AND RESTART THE UTILITY PROGRAM LOCATION bbbb Explanation A request for data buffer storage in the job s private area has been denied by the operating system aaaaaaaa identifies the data buffer Action Increase the REGION size allocated for the job or jobstep and resubmit the job OTS07004 I O ERROR READING PCR FDBK X xxxxyyyy E
249. ay take the following values 0 the utility has been executed successfully 4 a warning condition has been encountered during processing of the utility A warning message will have been written to the SYSPRINT dataset The utility has been executed successfully 8 an error condition has been encountered during processing of the utility An error message will have been written to the SYSPRINT dataset Execution of the utility has been terminated 12 a serious error has occurred establishing the runtime environment for the utility An error message will have been written to the SYSPRINT dataset Execution of the utility has been terminated 7 5 4 Running the Utility Prior to executing the journal maintenance utility the following database definitions should be set as required e Audit trail on in the audit options section of the base database definition panel OTSN4300 and amendment panel OTSN4210 The audit trail facility must already have been enabled for the NearArchive database being processed by the utility in order that a journal dataset should exist However the audit trail facility does not have to be currently enabled when processing a NearArchive database with this utility e Journal archiving enabled in the audit options section of the base database definition panel OTSN4300 and amendment panel OTSN4210 This facility should be enabled if it is required that the utility should archive all journal entrie
250. b OTS08005 ERROR X xxyy aaaaaaaa bbbbbbbbbbbbbbbbbbbbbb IN FILE ceeececece dddddddddddddddddddddddddddddddd Explanation An error has occurred when processing a VSAM dataset Some or all of the following operands may appear xx is the return code from the VSAM I O macro yy is the reason code from the VSAM I O macro aaaaaaaa is the process being performed This may take the following values READING WRITING UPDATING DELETING ASM for S 390 v2 5 User Manual 8 70 bbbb bbbb is a description of the record being accessed cecccccc is the file name dddd dddd is the dataset name Processing is terminated Action Refer to IBM documentation for details of the VSAM return and reason codes Take the appropriate corrective action and rerun the job OTS08006 INTERNAL ERROR RECEIVED AT LOCATION yyyyyyyy Explanation An internal error has occurred during processing of the utility Action Retain all information relating to utility execution and contact your NearArchive product support representative OTS08007 INSUFFICIENT STORAGE FOR WORKAREAS Explanation A request for virtual storage in the job s private area has been denied by the operating system Action Increase the REGION size allocated for the job or jobstep and resubmit the job OTS08008 FILE OTASV100 IS NOT AT THE CORRECT RELEASE LEVEL Explanation A pre version 2 5 database is being processed by the uti
251. b d will all be of finite predictable duration In a manual tape processing environment item a is dependent on the length of time it takes an operator to respond to a mount request This means that in addition to requiring constant operator attendance during CICS operation the time taken to respond to a mount request and hence the CICS response time for archive retrieval cannot be guaranteed This is clearly unacceptable in an online environment For this reason online retrieval by ASM for S 390 should only be considered where an automated tape processing subsystem such as Sun Oracle s 4400 Automatic Cartridge System ACS is in operation If this is the case and if ASM for S 390 mount requests are given the highest priority within the ACS subsystem then guaranteed levels of service for tape mounts can be provided This in turn will generate a guaranteed level of response for CICS transactions which use ASM for S 390 to retrieve archived data and consequently be acceptable for implementation in an online production environment An additional facility is supplied for online retrievals to prevent tape files being automatically closed and de allocated when all retrievals have been completed for that dataset This is set from the NearArchive ISPF database administration facility For each NearArchive database a range of ages of data may be identified so that tape cartridge volumes which contain NearArchive objects whose age falls with
252. base The utility can also produce an historical daily analysis summary or detailed of journal entries from the journal archive database for a specified date interval 6 OTASP080 the NearArchive secondary index update utility The NearArchive secondary index utility is used to perform the second phase of the two phase asynchronous secondary index update facility The first phase of this process is performed during batch archival processing when a sequential dataset is created containing all updates which are to be performed asynchronously to a specified database secondary index This dataset is processed by the secondary index update utility and all appropriate updates executed The asynchronous secondary index update procedure is complete after successful execution of the utility 7 OTASP110 the NearArchive database backup utility ASM for S 390 v2 5 User Manual 7 4 The NearArchive database backup utility is executed after a NearArchive database has been updated via an application s batch archival procedure or after execution of the NearArchive database maintenance or object management utilities The utility will create one or two full volume copies of one or more primary NearArchive tape datasets and maintain a record of the backups in the database s primary index The utility may also be used to create one or two incremental backup datasets These datasets will contain a backup of all objects which have been added to
253. base all object retrievals for that database will be satisfied from the primary database copy Refer to section 4 7 of this manual for a full description of ASM for S 390 backup and disaster recovery processing 3 5 Pre v2 5 Database Conversion Processing All databases created with versions of NearArchive prior to v2 5 must be converted for use with this version of the product Any attempt to access an unconverted database will be rejected by ASM for S 390 in the following manner e database open calls issued to NearArchive via the batch application program interface will be rejected with a return code of 91 a supplementary code value of 0 and supplementary code 2 value of 1 e application calls to NearArchive via the CICS application program interface will be rejected with a return code of 91 a supplementary code value of 0 and supplementary code 2 value of 1 e NearArchive CICS control region initialization via transaction OT23 will fail if no primary index file created or converted for use with NearArchive v2 5 is present in the file control table FCT e NearArchive utilities will terminate with condition code 12 and issue an error message to the error report print file e database administration processing in TSO ISPF will fail with message OTS49008 when a pre v2 5 database is selected for processing ASM for S 390 v2 5 User Manual 3 57 Conversion of a pre v2 5 database is performed using the TSO
254. base administration facility prior to execution of the database management utility e The utility will perform checkpoint processing after each selected tape or disk dataset has been successfully processed Restart of the utility after failure or cancellation will cause processing to be resumed from the last successful checkpoint e After each execution of the utility the NearArchive database backup utility should be executed to create backup copies of all tape datasets created or updated during utility processing ASM for S 390 v2 5 User Manual 7 19 7 3 2 JCL Requirements The following JCL may be used to execute the NearArchive database maintenance utility ST EXEC PGM OTASP030 REGION 4M EVEL n ALL ESTART YES NO E TAPE YES NO ECYCLE YES NO PRESS YES NO RTSEQ nnnnn ENDSEQ nnnnn IIR STEPLIB DSN NearArchive load library DISP SHR OTASV100 DSN Database primary index name DISP SHR SYSPRINT SYSOUT SYSOUT SYSOUT OTASS030 DSN Restart dataset name DISP SHR The following optional EXEC parameters may be specified LEVEL Specify the LEVEL parameter to identify the database storage level to be processed by the utility The parameter may take one of the following values n process storage level n only where n is a single numeric digit in the r
255. base administrator panels see chapter 3 and re open the primary database index in CICS However this procedure should be undertaken with caution as any transaction attempting to retrieve data from the database being amended will receive an error return code while the primary index is closed Note that enabling or disabling the control region for ASM for S 390 operation will enable or disable access to all NearArchive databases normally accessed from that region It should also be noted that secondary NearArchive regions i e CICS regions which contain only the NearArchive user interface processing do not require initialization in the manner discussed here 6 4 1 OT23 Initializing a NearArchive Control Region In order to initialize a NearArchive control region an operator should enter the transaction identifier OT23 on a CICS terminal in that region Note that this will only be necessary if NearArchive has not been initialized via a PLTPI entry or if NearArchive has been shutdown during CICS operation The NearArchive control region will now initialize and will be available to service NearArchive retrieval requests from the control region itself or from any other CICS region which is linked to the control region via a MRO cross memory or IRC connection Refer to chapter 8 for a description of messages returned from this request 6 4 2 OT24 Quiescing a NearArchive Control Region In order to quiesce NearArchive
256. base definition If this entry is omitted a default value of 0 is used i e permanent disk retention Optional if disk unit name is not blank must be blank otherwise 3 18 Primary alloc Secondary alloc ASM for S 390 v2 5 User Manual Enter Y if unused disk space assigned when creating a new disk K copy dataset in this storage level is to be released at the completion of database update processing Enter N if the space allocated to the new disk copy dataset is to be retained at completion of database update processing If no entry is made in this field a default value of N is used Mandatory if disk unit name is not blank must be blank otherwise Enter a 1 8 character numeric identifier in the range 1 16777215 giving the number of blocks to be allocated as the primary space allocation when ASM for S 390 creates a disk copy dataset in this storage level If this amount of contiguous disk storage is not available when creating a disk copy dataset during object archival processing disk copy processing will be automatically disabled by ASM for S 390 until the next new tape dataset is being created Mandatory if disk unit name is not blank must be blank otherwise Enter a 1 8 character numeric identifier in the range 1 16777215 giving the number of blocks to be allocated for each secondary space allocation when ASM for S 390 creates a disk copy dataset in this storage level If
257. base processing The utility may also be run when a summary of the contents of an individual NearArchive tape volume is required 7 2 1 Functions The tape scan utility performs the following functions e Sequentially processes the NearArchive tape dataset specified in the JCL used to execute the utility A formatted print entry is created for each object on the tape A formatted entry will also be created for each commit block encountered on the tape e The STARTBLK ENDBLK and COUNT execution parameters are used to control the start and end points of the sequential scan process e At the end of sequential processing of the tape the utility will produce a summary report giving the total number of blocks records and bytes on the tape 7 2 2 JCL Requirements The following JCL may be used to execute the NearArchive tape scan utility STEPL EXEC PGM OTASP020 REGION 4M PARM T n TBLK x l K y SUMMARY STEPLIB DD DSN NearArchive load library DISP SHR LLT OTASV100 DD DSN Database primary index name DISP SHR OTAST100 DD DSN Tape dataset name DISP SHR UNIT DEFE SYSPRINT DD SYSOUT ASM for S 390 v2 5 User Manual 7 12 The following optional EXEC parameters may be specified COUNT The COUNT parameter is used to restrict the number of tape blocks processed during execution of the utility The value n
258. batch process might be requested from an online application by users wishing to recall multiple NearArchive objects for a specific primary key and who did not wish to wait for synchronous online retrieval to display all the required details on the user s terminal The asynchronous batch retrieval could run as a background batch task printing the requested details on a local printer while the online user continues to use the online system ASM for S 390 v2 5 User Manual 1 11 Batch programs may also use the API to delete objects from a NearArchive database and to query the primary or secondary indexes of a database Refer to chapter 5 of this manual for more information on batch processing of a NearArchive database 1 4 2 CICS processing ASM for S 390 enables CICS users to retrieve archived data from a NearArchive database This is invoked from user application processing using the high level interface provided by the EXEC CICS LINK PROGRAM command In this way recall of NearArchive objects can be integrated into existing online database retrieval systems extending virtually without limit the amount of data that can be accessed online An object requested for retrieval by the user application program from a NearArchive database will be written to a CICS temporary storage queue TSQ identified by the calling program There will be one entry in the TSQ for each record in the retrieved object Multiple TSQs will be used to hold ob
259. be added to the JCL used to execute the archival job OTOITEST DD DSN sequential dataset name DISP SHR where sequential datasetname is the name of a sequential disk dataset This may be allocated during execution of the job DISP NEW CATLG in which case the DCB attributes will be automatically set by NearArchive or may be pre allocated DISP SHR in which case the dataset must be in variable blocked format with a logical record length of 276 bytes RECFM VB LRECL 276 Any appropriate blocksize may be chosen The dataset will contain one record of length k s 10 bytes where k is the primary keylength and s is the secondary keylength for each secondary index entry created during archival processing There should be one OTnnxxxx DD card for each defined secondary index which is to be updated asynchronously during archival processing Following successful completion of the batch archival process the secondary index update utility OTASP080 should be executed once for each secondary index which is being updated asynchronously i e once for each OTnnxxxx DD card in the JCL used to executed the batch archival job Refer to chapter 7 of this manual for a description of this utility Asynchronous update processing for a secondary index is not complete until this utility has been executed successfully for that secondary index Further archival to a database will not be allowed until all outstanding async
260. be equal to the primary key length specified during database initialization processing A full or generic primary key value may be specified in this field Generic key specifications consist of a string of characters of length 0 to k 1 bytes where k is the database primary keylength followed by an asterisk and trailing spaces if required The total field length must always be equal to the database s primary keylength NearArchive will return each object whose primary key value begins with the character string preceding the asterisk e g if a database has a primary keylength of 8 characters a generic primary key specification of SMITH VV could return the following primary key values SMITHVVV SMITHERS ASM for S 390 v2 5 User Manual D 27 SMITHSON etc A generic key specification consisting of a single asterisk followed by k 1 spaces will cause NearArchive to return all objects in the database Archival date not required for this call type Data length on entry gives the maximum number of formatted items each k 16 bytes in length which the application can accept in the following field On exit gives the actual number of formatted items in the following field Data area On entry specifies the secondary key value to be queried if supplementary code 1 is not 0 Unused on entry for primary key queries A full or generic secondary key value may be specified in th
261. ble Government contract and to the extent applicable by the terms of the Government contract the additional rights set forth in FAR 52 227 19 Commercial Computer Software License December 2007 Oracle USA Inc 500 Oracle Parkway Redwood City CA 94065 This software or hardware and documentation may provide access to or information on content products and services from third parties Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third party content products and services Oracle Corporation and its affiliates will not be responsible for any loss costs or damages incurred due to your access to or use of third party content products or services ASM for S 390 v2 5 User Manual Second Edition February 2011 Oracle is a registered trademark of Oracle Corporation and or its affiliates Oracle and Java are registered trademarks of Oracle and or its affiliates Other names may be trademarks of their respective owners Copyright 2001 2011 Oracle and or its affiliates All rights reserved This edition applies to Version 2 Release 5 of the ASM for S 390 product Second edition February 2011 ASM for S 390 v2 5 User Manual This page is intentionally left blank ASM for S 390 v2 5 User Manual TABLE OF CONTENTS INTRODUCTION I 0 Introduction I 1 New in version 2 5 I 2 New in version 2 4 I 3 New in version 2 3 I 4 Ho
262. bove storage level in which the processed object resided e jobname the name of the job for batch operations or VTAM application identifier for CICS operations which issued the logged request user identification the identification of the user issuing the logged request archive date the archive date of the processed object primary key the primary key of the processed object Only the first 51 characters of the primary key will be printed for databases whose primary keylength exceeds this value Error or warning messages generated during execution of the utility will be written to the journal entry analysis report All messages will have the message identifier OTS070xx where xx is a numeric value in the range 00 99 Refer to chapter 8 of this manual for a description of all messages issued by the journal maintenance utility ASM for S 390 v2 5 User Manual 7 47 7 5 6 Utility Failure and Restart Considerations If the journal maintenance utility fails to complete successfully either due to an error condition being encountered or execution being cancelled by the system operator it should be rerun specifying an EXEC parameter of RESTART YES The utility will detect conditions where the previous execution did not complete successfully If RESTART YES has not been specified the utility will terminate processing in these conditions There is no requirement to restore any dataset prior to rerunn
263. cation and report the error to your NearArchive product support representative Invalid request code received Invalid supp code 1 received ASM for S 390 v2 5 User Manual 8 20 Return Supp Supp Description code code 1 code 2 ASM for S 390 v2 5 User Manual Invalid supp code 2 received Database update request received but database was opened for secondary index update only Invalid identify secondary index request received Supp code 2 2 update specified object with secondary index entry but database was not opened for secondary index update only Supp code 2 0 or 1 update secondary index for current object but there is no associated object currently being archived This can occur due to receipt of a commit or delete call immediately prior to the request Invalid database connect call request code 40 received Invalid data area length Invalid access request type Invalid database name list address Zero entry count for batch query call Action Terminate processing Examine application logic to identify the cause of the error Re submit the job after correcting the error 8 21 8 2 1 System File Identification Any error accessing opening system files will be accompanied by a supplementary code 1 value of X abcc where the hexadecimal codes are defined as follows Tape dataset error Error occurred on primary tape dataset Error occurred on duplex tape
264. ceived from the SMF write request In these circumstances supplementary code 1 contains the error code from the SMFWTM macro Action For return code 14 refer to IBM documentation on SMF for an explanation of the SMFWTM error code Take the appropriate corrective action and stop and restart the reader task For other return codes or if no reason can be found for the SMF write error contact your NearArchive product support representative OTS35201 ALLOC RETRY aaaa DSN bbbbbbbbbbbbbbbbbbbbbbbbbb Explanation NearArchive has attempted to allocate a tape drive but no device is currently available NearArchive will wait for one minute before making another attempt pbbbb bbbbb identifies the tape dataset that NearArchive is attempting to allocate aaaa gives the number of times that NearArchive will retry the allocation request The number of allocation retries to be performed by NearArchive may be specified in the application s database open call A default value of 30 is used if no value is specified by the application Action If possible make a tape drive available for NearArchive allocation by varying online any devices which are ASM for S 390 v2 5 User Manual 8 133 currently offline NearArchive will acquire any such device during allocation retry processing If no other devices are available cancel another job in the system or wait for another job to finish Any tape drives allocated to the other j
265. cessing will continue normally Otherwise execution of the utility will be terminated Action The NearArchive database backup utility requires that a tape volume used for the primary or duplex backup datasets is not of lower capacity than the volume containing the tape dataset being backed up Ensure that volumes of the same capacity are used for tape input and output and rerun the job OTS11031 TAPE ALLOCATION RETRY ENTERED RETRY LIMIT NOW nnnnn Explanation A request for allocation of a tape unit has been denied by the operator The backup utility will retry the request up to 30 times before terminating abnormally Action None This is an informational message If necessary the database backup job may be terminated via and operator CANCEL command and subsequently restarted when sufficient tape units are available OTS11032 TAPE USAGE MISMATCH FOR B C D COPY VOLSAFE IS NOT REQUIRED BUT ISINOT MOUNTED Explanation The status of the Sun Oracle Volsafe feature on the scratch tape mounted for the B C or D backup copy does not match the required status defined for that copy in the database storage level containing the tape being backed up Action Modify tape management system controls to ensure that the scratch tape mounted in response to the allocation ASM for S 390 v2 5 User Manual 8 81 request from the backup utility has the required Volsafe status and rerun the job OTS11033 O ERROR ON I
266. chive database administration facility Refer to chapter 3 for detailed information on this process To enable SMF logging of CICS object retrieval requests from a database set the following panel fields e SMF record identifier set this to the value of the SMF record identifier to be used by ASM for S 390 when logging retrievals to the SMF datasets This should be a value in the range 128 255 which is reserved for use by ASM for S 390 A value of 0 in this field indicates that no SMF logging is to be performed e CICS retrieval logging on set this to the value Y to enable logging of CICS retrieval requests Once enabled ASM for S 390 will write one SMF record for each object retrieved from that database Refer to chapter 8 for a description of the SMF record format Customers may process this information as required in order to produce statistics relating to object retrieval activity and performance ASM for S 390 v2 5 User Manual 6 30 The SMF record is written after all records in the archived object have been written to CICS temporary storage in response to a retrieve object request request code 43 immediately before control is returned to the calling application Timestamps in the request section of this record will be set as follows e Timestamp 1 the time that the request to retrieve the object was received by ASM for S 390 e Timestamp 2 the time that the request was added to a ta
267. code Supplementary code 1 Supplementary code 2 Database name ASM for S 390 v2 5 User Manual This must be set to the value 48 for all commit requests Not used on entry to NearArchive This field will contain a 2 character numeric value on return from NearArchive indicating the result of the call Refer to chapter 8 of the manual for a description of all possible return codes Not used on entry On return this field may contain a value giving additional information after an exception condition Not used on entry On return this field may contain a value giving additional information after an exception condition Name of database for which updates are to be committed This should be identical to the database name specified or defaulted in the corresponding connect database request A default value of V100 DD name of OTASV100 is used for the database name if this field is set to spaces or binary zeroes 4 39 Primary key pointer Object archive date TSQ name Object start position ASM for S 390 v2 5 User Manual Not used for this request type Not used for this request type Not used for this request type Not used for this request type 4 40 Object length Not used for this request type Data buffer length Not used for this request type Data buffer Not used for this request type Usage Notes 1 After a commit call has been successfully issued if Volsa
268. condition code 12 Dataset names should be set as follows for each DD entry STEPLIB The name of the NearArchive version 2 5 product library as unloaded during the product installation procedure see chapter 2 OTASV100 The name of the primary index of the NearArchive database to be processed by the utility The utility will only process one NearArchive database per execution SYSPRINT The destination of the utility report file If required the report may be written to a sequential dataset with record format FBA and a logical record length of 133 bytes OTASBKUP This entry is mandatory when creating disk copy datasets COPY K specified in the EXEC ASM for S 390 v2 5 User Manual 7 64 parameters and is used to identify one or more primary tape datasets for which disk copy datasets are to be created The file should contain one entry as specified below for each primary tape copy dataset to be processed by the utility Each entry should identify the name of the primary tape dataset for which the disk copy dataset is to be created Objects which are eligible for disk residency will be copied from this tape dataset and written to one or more disk copy datasets The size of each dataset and hence the number of disk datasets created per primary tape dataset will be controlled by the disk copy parameters defined for the storage level containing the primary tape dataset being processed by the utility The entry is o
269. contain the data record to be archived Usage Notes 1 A NearArchive object can consist of one or more logical records One write data record request must be issued for each record in a NearArchive object NearArchive uses the primary key and archive date referenced in the interface parameter area for this call to identify the NearArchive object for which the record being written is a component 2 All records to be archived as part of a single NearArchive object must be presented to NearArchive contiguously i e in successive calls NearArchive will create a new primary index entry for a data object when it detects that all records in that object have been presented i e on change of primary key or archive date in the call interface parameter area As primary index entries for a NearArchive object must be unique any subsequent call which specifies the same primary key and archive date will be rejected by NearArchive with a return code of 17 duplicate key 3 The length of the data record to be archived must not exceed a value which is 8 bytes less than the maximum blocksize of the database as specified during database initialization processing 4 Specification of an archival date in the interface parameter area is mandatory its omission will cause NearArchive to reject the call with a return code 14 invalid archival date If the presence of an archival date is not required for an application i e only one NearA
270. cord type 1 code B for record type 2 etc in order to enable retrieval programs to handle recalled data correctly The second section should identify record level this will allow for the modification of the format of the archived data record during the life of the application e g level code 1 could be used for the initial format at the time of system implementation This numeric code can then be incremented each time a modification is made to the primary data record By making similar changes in the NearArchive archival and recall applications it will be possible to cater for multiple data formats per record in order to handle data correctly over the life of the ASM for S 390 application Prefix Data record Byte 0 1 2 where A record code and 1 record level Fig 5 1 Example of record prefix for archived data 5 2 Batch Archival Processing 5 2 1 Processing Overview The process of archiving data to a NearArchive database from a batch application consists of the following steps e Connect to the NearArchive database to be updated An ASM for S 390 application may only have one database connected for update at any one time The database name is identified in the NearArchive open request Multiple NearArchive databases may be updated from within a single invocation of a batch program provided each is disconnected prior to opening the next database The storage level in which objects are to be stored is set in
271. correctly Error or warning messages generated during execution of the utility will be written to the expiration or migration processing summary report All messages will have the message identifiers OTS040xx or OTS045xx where xx is a numeric value in the range 00 99 Refer to chapter 8 of this manual for a description of all messages issued by the object management utility If NearArchive objects have been migrated during execution of the utility a sort report will be written to a SYSOUT dataset with DD name SYSOUT This dataset will be dynamically allocated by the utility ASM for S 390 v2 5 User Manual 7 38 7 4 7 Utility Failure and Restart Considerations If the object management utility fails to complete successfully either due to an error condition being encountered or execution being cancelled by the system operator it should be rerun specifying an EXEC parameter of RESTART YES Note that if execution was terminated early via entry of an operator STOP command the utility will terminate normally For subsequent execution the RESTART parameter should be set to NO or allowed to default If execution of the utility failed during its expiration processing cycle the restarted job will re process the NearArchive database primary index expiring all objects not successfully expired during the failed run and rebuilding the migration control dataset for databases where migration has been enabled The
272. cratch pool e For disk copy dataset compress processing the Disk compress threshold field in the database maintenance options section of the storage level definition amendment panels should be set as required This field should be set to a percentage value in the range 1 99 which establishes the compress threshold for a database storage level If the percentage of active disk copy objects on a disk dataset in that storage level falls below this threshold the dataset will be eligible for compression by the database maintenance utility A threshold value of 0 the default value indicates that no disk compression is to be performed for the database Note that this entry will not be of significance when the FORCE execution parameter is specified Refer to chapter 3 for a description of the procedure required to control values of the above database maintenance parameters Execution of this utility for tape recycle processing will update tape datasets in the NearArchive database The NearArchive database backup utility OTASP110 should therefore be executed after completion of the utility This will create one or two backup copies of each tape cartridge volume created or updated during execution of the utility The database maintenance utility requires update access to the NearArchive database being processed and consequently will not execute if the database is already open for update processing by another job If the audit trail
273. ct have been retrieved The application may then continue to issue direct or sequential reads as required The standard interface format is used for this request Interface parameters should be set as follows Request code 32 ASM for S 390 v2 5 User Manual D 30 Return code not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call Supplementary code 1 on entry identifies the type of read request 0 direct read For direct reads the primary key and archive date of the NearArchive object to be retrieved are supplied by the application in the appropriate parameter fields 1 sequential read For sequential reads the next record is retrieved from the database in ascending physical sequence The primary key and archive date of the NearArchive object to which the retrieved record belongs is returned by NearArchive in the appropriate parameter fields This field may contain a value on return giving additional information after an exception condition Primary key primary key of NearArchive object to be accessed For a direct read request supplementary code 1 0 this field must contain on entry the primary key of the NearArchive object to be retrieved Not used on entry for sequential reads For a sequential read request supplementary code 1 1 set on exit by NearArchive with the primary key of the NearArchive object to which the
274. cute the utility Execution terminates ASM for S 390 v2 5 User Manual 8 83 Action AN OTASBKUP DD card must be present in the JCL when creating or re creating one or more disk K copy datasets Modify the JCL to include this entry and resubmit the job OTS11047 RECOVERY IN PARM FOR K COPY REQUEST IGNORED Explanation Both COPY K and RECOVERY have been specified in the EXEC parameters This is an invalid combination The RECOVERY parameter is ignored and execution continues normally Action Remove the RECOVERY entry from the EXEC parameters to suppress this message for further executions of the utility OTS11048 LEVEL IN PARM FOR K COPY REQUEST IGNORED Explanation Both COPY K and LEVEL have been specified in the EXEC parameters This is an invalid combination The LEVEL parameter is ignored and execution continues normally Action Remove the LEVEL entry from the EXEC parameters to suppress this message for further executions of the utility OTS11050 DISK COPY PROCESSING NOT ENABLED IN STORAGE LEVEL FOR DSN xxxx xxxx Explanation Dataset xxxx xxxx has been specified in the OTASBKUP file for processing by the utility when the COPY K EXEC parameter is present Disk copy processing is not currently enabled for the storage level containing the specified tape dataset The OTASBKUP entry is ignored and processing continues with the next ent
275. d retrieved by the NearArchive call ASM for S 390 v2 5 User Manual B 16 B 2 5 Delete NearArchive Object EARARCHIVE CALL PARAMETERS RM C100 INIT NEARARCHIVE PARMS 47 TO WO2 REQUEST CODE V100 TO W02 DATABASE NAME W02 KEY POINTE TO ADDRESS OF W06 KEY W06 DATE l O W02 DATE OTASP100 W02 NEAR PARMS W02 RETURN CODE 00 W02 RETURN CODE TO ERR MSG5 R WO2 SUPP CODE1 TO ERR MSG5 S MOVE W02 SUPP CODE2 TO ERR MSG5 S MOVE W99 ERR MSG5 TO ERR MSG PERFORM Z900 ERROR PROCESSING Notes 1 Initialize NearArchive parameter block see B 2 1 2 W02 REQUEST CODE _ 47 delete NearArchive object W02 KEY POINTER Contains a pointer to a field containing the primary key of the NearArchive object to be processed Note that the primary key field itself must be defined in the program linkage section Refer to program OTASC200 in the distributed NearArchive sample code library for an example of this usage 4 W02 DATE Specifies the archive date of the object to be deleted On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have one or two supplementary codes in fields 1 and 2 ASM for S 390 v2 5 User Manual B 17 B 2 6 Disconnect D
276. d OUTLEVEL execution parameters have been specified c objects which have an active disk K copy but which have been in the database for a length of time exceeding the disk object retention period as defined for the database storage level being processed The disk copy of these objects will be deleted All subsequent accesses to such objects will be satisfied from a tape copy e For databases with only one defined storage level the utility will terminate after completing its scan of the database s primary index e Ifthe INLEVEL and OUTLEVEL execution parameters have been specified the utility will continue by processing the objects recorded in the migration control dataset The contents of this dataset will be sorted into the most efficient order for tape retrieval and then processed sequentially e All objects from a single tape cartridge volume will be moved from their current location in the source storage level to a new location in the target storage level If duplexing is enabled for the NearArchive database two copies of the target storage level tape dataset s will be created during this process e The utility will perform checkpoint processing after each input tape cartridge volume has been successfully processed during the migration procedure Restart of the utility after failure or cancellation ASM for S 390 v2 5 User Manual 7 30 will cause processing to be resumed from the last successful checkpoint e If
277. d above Archived journal entries may be processed by a customer application using standard NearArchive batch or online interface requests ASM for S 390 v2 5 User Manual 7 51 7 6 OTASP080 the NearArchive Secondary Index Update Utility The secondary index update utility is used to execute the second phase of the two phase asynchronous secondary index update process These phases consist of the following processing e Phase 1 this process is executed during standard batch archival update of a database Secondary indexes which are to be updated asynchronously are identified via the entry of the DD card OTnnxxxx in the JCL used to execute the archival process where nn is the 2 digit secondary index identifier and xxxx is the NearArchive database identifier as specified in the archival application s open database call Secondary indexes identified for asynchronous update in this way are not updated directly during archival processing NearArchive will instead save all secondary index updates in the sequential disk file identified in the OTnnxxxx DD card Note that if an OTnnxxxx DD card is not supplied for secondary index nn then all updates will be performed synchronously during batch archival processing This is the default process e Phase 2 this process is performed by executing the secondary index update utility once for each secondary index which has been scheduled for a
278. d by user exit processing or the user exit module OTASUX01 batch or OTASUX02 CICS cannot be found Supplementary code 1 identifies the type of request as follows Open database Retrieve object Write object Delete object Last logical record in NearArchive object already retrieved batch direct retrieval End of NearArchive database encountered batch sequential retrieval Action None Continue processing as required 8 13 Return ro Supp Description code Fe 1 e 2 EE primary key does not exist in NearArchive database NearArchive object with specified archive date does not exist for specified primary key 0 NearArchive object has been deleted dataset The dataset containing the object is not seqno cataloged volume serial number query requests Supp code 2 will contain the sequence number of the uncataloged dataset Action None Continue processing as required Invalid data segment read when retrieving a disk copy of an object _ File id Tape volume rejected during object storage processing l The Volsafe feature is not present on a new scratch tape but Volsafe support is enabled for this tape copy in the storage level being updated 2 The Volsafe feature is present on a scratch tape but Volsafe support is not enabled for the this tape copy in the storage level being updated Action Close the database with or without commit processing as appropriate and terminate process
279. d for further archival or retrieval processing it may be more efficient to suppress unloading of the tape cartridge volume by setting a non zero value in supplementary code 1 2 Set supplementary code 2 to 0 to commit all updates during close processing This request should only be issued when archival processing has been successfully completed Rerun of an archival process is not possible after updates have been successfully committed when closing the database Applications should set supplementary code 2 to a value of 1 if an error has occurred during the archival process which will necessitate a rerun The application may then be rerun after the cause of the error has been rectified Note that in this case the application should issue a rerun open request request code 11 to NearArchive when opening the database ASM for S 390 v2 5 User Manual D 11 D 1 5 Request Code 16 Commit Updates This request is issued to commit all updates to a NearArchive database The standard interface format is used for this request Interface parameters should be set as follows Request code Return code Supplementary code 1 Supplementary code 2 Primary key Archival date Data length Data area Usage Notes 16 not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of call not used on entry May contain values on return giving additional infor
280. d from a CICS application 6 If a disk copy exists for an object which is to be retrieved in addition to a tape copy then NearArchive online retrieval processing will always access the disk copy If this access fails for any reason NearArchive will automatically retrieve the tape copy of the object in the standard manner D 2 3 Request Code 23 Delete Object This call is issued by a CICS application to delete an object from a NearArchive database The standard interface format is used for this request Interface parameters should be set as follows Request code Return code Supplementary code 1 Supplementary code 2 Database name ASM for S 390 v2 5 User Manual 123 not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call not used on entry May contain a value on return giving additional information after an exception condition not used on entry May contain a value on return giving additional information after an exception condition name of database to be accessed This four character identifier should specify the last four characters of the CICS file control entry for the primary index of the D 21 Primary key Archival date TSQ name Secondary key Usage Notes database to be queried the first four characters are always set to OTAS primary key of NearArchive object to be deleted date of
281. d has been retrieved for the specified NearArchive object The program should process this record as required and continue to issue retrieval request for the same object in order to process all its logical records A return code of 30 will be set when all logical records for the specified NearArchive object have been retrieved A return code of 31 indicates that the object whose key is specified in the parameter block does not exist in the NearArchive database ASM for S 390 v2 5 User Manual B 14 B 2 4 Retrieve Data Record Sequential Retrieval EARARCHIVE PARAMETERS RM C100 INIT NEARARCHIVE PARMS 42 l O W02 REQUEST CODE 2 l O W02 SUPP CODE1 V100 l O W02 DATABASE NAME W02 KEY POINTER TO ADDRESS OF W06 KEY W04 DATA LENGTH l O W02 DATA LENGTH R100 RETRIEVE DATA UNTIL WO 4 END OF DATA IND MYT y A oe iea E DATA SECTION ETRIEVE NEARARCHIVE DATA CALL OTASP100 EAR PARMS IF WO02 RETURN COD 6 MOVE nyt END OF DATA IND GO TO R199 EXIT IF NOT ETURN CODE O0 MOV ETURN CODI TO MOV UPP CODE1 TO MOV UPP CODE2 TO MOV ERR MSG4 TO PERFORM ERROR PROCESSING w E fw AAs DATA lO Notes 1 Initialize NearArchive parameter block see B 2 1 2 W02 REQUEST CODE 42 retri
282. d if there are likely to be object retrieval or storage requests for the tape being processed while the utility is running Such requests will be rejected until the utility has completed processing 7 2 5 Utility Processing Reports The following reports will be written by the tape scan utility to the SYSPRINT dataset 1 Execution parameter report This will summarize the values of the execution parameters specified or defaulted for execution of the utility 3 Formatted object report This report will contain one entry for each object encountered during sequential scanning of the tape dataset The following information will be reported for each object Primary key of object Archive date in format YYYY MM DD Object creation timestamp time in format HH MM SS th and Julian date in format CY YDDD Block number of first block containing object Total number of blocks used to store object Total number of logical records in object Length of largest block used to store object Length of longest logical record in object The report will also contain an entry for each commit block encountered on the tape Commit blocks are written by ASM for ASM for S 390 v2 5 User Manual 7 15 OS 390 when a database is first opened for update processing or in response to a commit request from a NearArchive application and are used for re positioning on tape during restart open processing or dynamic backout processing 3 Summary
283. d in order to establish whether the application is allowed to access a protected resource Access can be permitted or denied by customer dependent processing within the user exit e Support has been introduced for a timeout facility during CICS object retrieval processing ASM for S 390 will now terminate a stalled retrieval request eg a request waiting for a tape mount to be satisfied or some other external condition when the time interval specified in a new CICS control region initialization parameter has expired e Two new batch utilities are supplied with the product OTASP010 is used to produce a formatted report on the contents of the primary index of a NearArchive database OTASP020 is used to produce a formatted report on the contents of a single tape volume in a NearArchive database Both utilities are intended primarily for use in assisting with diagnostic procedures during problem analysis ASM for S 390 v2 5 User Manual 14 I 2 New in version 2 4 The following enhancements were introduced in version 2 4 of NearArchive e Year 2000 compliance for all external interfaces Four digits are now used to identify year values in all external interfaces of the product i e the application program interface API CICS screens TSO ISPF panels print reports and system messages A new API is supplied to allow calling applications to identify archived objects using an 8 character archive date in the format YYYYMMDD The exist
284. d restart the utility ASM for S 390 v2 5 User Manual 8 42 OTS03049 DLVRP FAILED RETURN CODE X xx PROGRAM EXECUTION TERMINATED Explanation Return code X xx was received from a request to delete a VSAM Local Shared Resources buffer pool Processing of the utility is terminated with condition code 12 Action Refer to the IBM documentation on the DLVRP macro for an explanation of the return code Take the appropriate corrective action and restart the utility OTS03051 EXEC PARAMETERS RECYCLE YES AND COMPRESS YES ARE MUTUALLY EXCLUSIVE Explanation EXEC parameters RECYCLE YES and COMPRESS YES have been specified for utility execution This is an invalid combination Action Correct the EXEC parameters to enable either tape recycle or disk compress processing and resubmit the job OTS03052 PARAMETER RECYCLE COMPRESS YES IS REQUIRED FOR THIS RESTART RUN Explanation A restart of a failed database maintenance process is being executed but the value of the RECYCLE or COMPRESS EXEC parameter as identified in the message has been changed from its setting during the failed execution Action Change the value of the RECYCLE or COMPRESS EXEC parameter to YES to ensure that the EXEC parameter settings during rerun of the failed database maintenance procedure are the same as those specified during the failed procedure and restart the job OTS03096 TAPE ALLOCATION RETRY EN
285. d subsequent requests in a queue will not be processed until the first request is complete This means that these requests may receive longer response times However this is entirely dependent on when the request arrives in the queue If when a new request arrives the time taken ASM for S 390 v2 5 User Manual 6 11 to complete the preceding request is low then the new request will be processed with only a short delay The only additional delay in processing second and subsequent requests will be for repositioning the tape at the required data block There will be none of the delays for tape mounting and loading which may be associated with the first request Note that when a request has been processed it will be removed from the queue and the number of queue elements reduced by one Any other request arriving will now be added to the end of the queue and processed as above 6 3 4 Multiple NearArchive Database Support Multiple NearArchive databases may be accessed from any one CICS system The name of the database to be accessed is identified by the application program in the NearArchive call parameters A NearArchive database name is a maximum of four characters in length and will be identical to the last four characters of the associated database primary index entry as specified in the CICS File Control Table FCT The first four characters of the primary index entry are always set to OTAS For each NearArchive databa
286. d take one of the following actions ASM for S 390 v2 5 User Manual 5 23 1 Vary online another tape drive and reply to the message with the drive s device number note that this device number must have been listed in the preceding IEF247I message as an eligible device 2 Reply CANCEL For action 1 a mount request will be issued on the newly online tape drive For action 2 the program will perform allocation retry processing after a wait of 1 minute as discussed in b above If a tape drive is now available processing continues as normal If a unit is still not available allocation recovery re occurs and the above process is repeated This will continue until the maximum number of retries as set by the application during database open processing has been reached or the operator cancels the job In order to avoid increased batch turnaround times in these circumstances due to excessive waits for operator replies it is advisable to use automated operator reply processing if available to reply CANCEL to the above message 5 3 3 Logging of retrieval activity Retrieval of objects from an individual database by batch processing programs may optionally be logged by ASM for S 390 using the OS 390 System Management Facility SMF This facility is controlled using the Retrieval logging options on the base database definition and maintenance panels in the NearArchive database administration facility Refer to
287. d the actual number of formatted entries present in the data area field in the parameter block A return code of 00 and supplementary code 1 value of 4 is issued when there are more entries to be returned Further query requests may then be issued specifying the same query criteria to retrieve the next set of formatted index entries for that query The standard interface format is used for this request Interface parameters should be set as follows Request code 31 Return code not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call ASM for S 390 v2 5 User Manual D 26 Supplementary code 1 on entry identifies the index to be queried as follows 0 query primary index 1 99 query corresponding secondary index On exit this field may contain a value giving additional information after an exception condition Supplementary code 2 on entry identifies the sort sequence in which formatted index entries are to be returned as follows 0 ascending date within ascending primary key 1 descending date within ascending primary key 2 ascending date within descending primary key 3 descending date within descending primary key On exit this field may contain a value giving additional information after an exception condition Primary key primary search key only required if supplementary code 1 0 The length k of this field should
288. d threshold of active disk copy objects This process will remove redundant space within those datasets occupied by objects that have been expired from the database or whose disk retention period has expired ASM for S 390 v2 5 User Manual 7 3 4 OTASP040 the NearArchive object management utility The NearArchive object management utility processes a NearArchive database s primary index to identify objects to be expired objects which are to be migrated from one storage level to another storage level in the database and objects for which disk K copies are to be deleted Expired objects are deleted from the database Migrated objects are moved from their existing location in the source storage level to a new location in the target storage level in the database Disk copies of objects are deleted an entire disk copy dataset will also be deleted when it does not contain any active object copies 5 OTASP070 the NearArchive journal maintenance utility The NearArchive journal maintenance utility processes a NearArchive database s journal dataset used if the audit trail facility has been enabled for that database and produces a summary or detailed analysis of journal entries The journal dataset is reset by the utility on successful completion of processing The NearArchive journal maintenance utility will also archive journal entries to a database s journal archive database if journal archiving has been enabled for that data
289. d via dynamic backout 24 deleted via expiration utility 31 moved by database maintenance utility 32 moved by object management utility 41 audit trail enabled 42 journal archiving enabled 51 audit trail disabled 52 journal archiving disabled Primary key of NearArchive object length k bytes Archive date of NearArchive object in packed decimal format CYYMMDDF where F indicates an unsigned packed decimal field and C is the century indicator This can take the following values 0 date is in range 1950 2049 1 date is in range 2050 2149 Number of tape blocks required to hold archived object This is an unsigned half word binary field It will contain the value X FFFF if the number of blocks is 65535 or greater Identifier of first tape block containing archived object Dataset sequence number Storage level Jobname from which request was 7 49 Offset Length Type Description issued k 23 8 char Userid of requester k 31 8 bin Timestamp bytes 0 3 time in format X hhmmssth that request was processed bytes 4 7 Julian date that request was processed in packed decimal format OcyydddF where c 0 for 20 century dates and 1 for 21 century dates B Journal Archive Database If journal archiving is enabled for a NearArchive database the journal maintenance utility will archive each entry from a journal dataset to the journal archiv
290. d will contain the primary key of a NearArchive object which is indexed by the specified secondary search key Archive date of NearArchive object in format YYMMDD Number of tape blocks used to hold NearArchive object Identifier of first block on volume containing NearArchive object Sequence number of tape dataset in database which contains the NearArchive object Hierarchical level in which data is stored 0 or 1 Object residency indicator blank tape only D tape disk An application should always set the data length parameter field to the maximum number of formatted entries which it can receive in the data area field prior to issuing a query index call Failure to do this may result in storage corruption due to NearArchive exceeding storage bounds within the calling program 2 Where the number of formatted index entries satisfying a query exceeds the maximum n which a calling program has indicated that ASM for S 390 v2 5 User Manual D 29 it will accept NearArchive will place the first n entries in the data area in the parameter interface block and set a return code of 00 and supplementary code 1 value of 4 In these circumstances the calling program should issue a further query index request specifying the same query criteria as in the first request NearArchive will then return the next n formatted entries in the supplied data area When all index entries which satisfy a q
291. dard CICS command level interface and will execute with releases of CICS ESA from 4 1 upwards 1 3 NearArchive Databases ASM for S 390 stores data in one or more archival databases Multiple databases may exist on each host system Each NearArchive database must be defined and initialized prior to use using the supplied ASM for S 390 TSO ISPF database administration facility All database administration functions are performed interactively using this facility These functions include e Defining a new NearArchive database e Amending an existing NearArchive database e Browsing a NearArchive database definition e Controlling recovery options for a NearArchive database Data is held in a NearArchive database as a series of NearArchive objects Each object may consist of one or more variable length logical records each record containing up to 32760 bytes There is no limit to the number of logical records in each object ASM for S 390 v2 5 User Manual 1 4 During the data archival procedure each logical record within an object is passed sequentially to ASM for S 390 for insertion in the database During ASM for S 390 object retrieval each of its component logical records will be separately identifiable to the retrieving batch or online application 1 3 1 Identifying a NearArchive Object A NearArchive object is identified by a unique combination of primary key and archive date Multiple objects with the same primary
292. data request has yet been received by NearArchive after connecting to a database the identify secondary key call will be ignored 2 Multiple identify secondary key calls may be submitted contiguously to NearArchive Each call should specify a different secondary index identifier All contiguous calls will index the same NearArchive object identified by the primary key and archive date specified in the preceding write data request Each call will generate a secondary key entry in the appropriate secondary index 3 If a secondary key identified via this call has already been generated for the current NearArchive object either through automatic secondary index processing or through a previous type 14 request being received for that object then the call will be ignored and a return code of 00 generated No special action is required by the application program in these circumstances 4 Refer to section 1 3 1 of this manual for a description of the NearArchive secondary indexing facility ASM for S 390 v2 5 User Manual 4 36 4 3 7 Request Code 47 Delete an Object This call is used by a batch TSO or CICS application to delete an object from a NearArchive database For batch or TSO applications the database must be connected for input output or output access For CICS applications the entry for the database s primary index dataset in the CICS File Control Table FCT must specify update access Call para
293. data buffer In these circumstances calling applications should only process the first m entries the contents of the remaining n m entries will be unchanged from the contents on entry to NearArchive Submission of a repeat query index request for a key after all entries for the previous request have been returned and where there have been no intermediate query index calls will result in the first n items for that query being once again returned to the caller 2 For CICS applications the temporary storage queue which holds the returned index entries will be created by NearArchive Any queue with the same identifier which existed prior to the call will be deleted This means that applications do not need to be responsible for deletion ASM for S 390 v2 5 User Manual 4 22 of temporary storage queues prior to use In particular repeated index query requests may be issued by an application without requiring deletion of temporary storage queues between requests After a successful call the number of items in the temporary storage queue will be equal to the number of primary or secondary index entries which satisfy the query request criteria 3 Index entries will be returned by NearArchive in the sort sequence specified by the calling application in supplementary code 4 Note that no tape access is required to satisfy an index query request 5 For CICS applications an entry must exist in the CICS File Cont
294. data queue CSMT must be present in the DCT to receive ASM for S 390 information messages 2 8 5 CICS definitions for a secondary NearArchive region The following entries will be required in each CICS region that is to be initialized as a secondary NearArchive region i e which contain the ASM for S 390 online interface processing only Note that for v2 5 an entry is required for the primary index of each NearArchive database to be accessed from a secondary NearArchive region This was not the case for earlier releases of the product Files RDO One entry per database is required as follows OTASxxxx the primary index entry D EFINE File 07 DSNAme Lsrpool TASXXXxX primary index dataset name Lid m STRings nnn Opentime FIRSTREF DIsposition SHARE R gt ECORDFormat V Rowse ELete dd NO YES NO A B D R EAd Y ES Update NO Update access to this dataset from a secondary NearArchive region is not required Programs RDO DEFINE LANGUAG DATALOCATION ANY PROGRAM OTAS P200 E ASS EMBL EX ECK LANGUAG DATALOCATION ANY EY CICS PROGRAM OTAS P205 E ASS EMBL EX ECK ASM for S 390 v2 5 User Manual EY CICS ER ER 2 22 DEFINE PROGRAM OTASP210 LANGUAGE ASSEMBLER DATALOC
295. dataset is to be allocated eeee the dynamic allocation information code ffff the dynamic allocation error code g SYSOUT Class for SYSOUT dataset allocation hhhhhhhh name of OUTPUT DDname for SYSOUT dataset allocation ii is the deferred mount attribute jkkll status normal disposition and conditional disposition indicator values pppppp primary allocation value ssssss secondary allocation value mmmmmm block size nnnnnn logical record length oo record format indicator value Action Refer to IBM documentation on dynamic allocation processing for a description of the error and information codes Take the appropriate corrective action and restart the job OTS03025 RECYCLE THRESHOLD IS ZERO NO VOLUMES WILL BE RECYCLED FOR THIS STORAGE LEVEL Explanation The recycle threshold specified in the NearArchive database definition is zero indicating that tape recycle processing is disabled for this storage level Action Examine the NearArchive database definition for the storage level specified Specify a recycle threshold for the storage level if recycling is required and resubmit the job ASM for S 390 v2 5 User Manual 8 36 OTS03026 RESTART NO INDICATED BUT RECYCLE DATASET EXISTS RESTART YES REQUIRED OTS03026 RESTART NO INDICATED BUT RESTART DATASET OTASS030 CONTAINS RESTART INFORMATION RESTART YES REQUIRED Explanation A previous attempt to run this utility has failed
296. dataset name qualifier used for generating system dataset names for the NearArchive database as defined during database definition processing x is the incremental copy identifier T for primary copy J for duplex copy y is the storage level identifier 0 to 7 and mmmm is the incremental backup dataset sequence number in the range 0001 9999 Each execution of the utility will create a new incremental backup dataset which will be allocated a sequence number one greater than the previous incremental backup dataset for the corresponding primary dataset Incremental backup datasets may be used to reduce backup times for high capacity primary tape volumes by eliminating the need to perform full volume backups each time a tape dataset has been updated during database update processing When a primary volume has been filled to its required capacity a full volume backup may be taken by the database backup utility this process will automatically release and uncatalog all existing incremental backups for that primary dataset ASM for S 390 v2 5 User Manual 5 14 A combination of full volume and incremental backups may exist for a primary tape volume e g an initial full volume backup when a tape dataset was first created followed by one or more incremental backups after subsequent update operations The following sample backup configuration may be used to ensure accessibility and availability of da
297. dating the underscore characters press ENTER to process the selections Any invalid selection or entry will be rejected and a corresponding message displayed in the top right hand corner of the panel The cursor ASM for S 390 v2 5 User Manual 3 55 will be positioned on the line corresponding to the invalid entry All requests made on this panel prior to the invalid entry will have been processed For rejected entries make the appropriate corrections and press ENTER After successful processing of all requests the volume recovery control panel OTSN4401 will be redisplayed Entries will be updated with any changes which have been made Note from the above description that volume recovery entries may only be deleted or inserted Existing entries may not be updated e g by changing the range of sequence numbers or the copy identifier To amend an existing entry it must first of all be deleted with selection character D and a new entry containing the values required inserted with selection character T After all volume recovery control entry processing has been completed press PF3 to return to the recovery control menu panel OTSN4400 3 4 2 Set Disaster Recovery To enable disaster recovery processing for a NearArchive database select option 2 from the recovery control menu panel OTSN4400 The disaster recovery request panel OTSN4402 will then be displayed This panel allows confirmation or cancellation of the disaster
298. dddddd is the DD name associated with the file and eeee eeee is the name of the VSAM dataset Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and rerun the job OTS01006 INVALID CHARACTER SPECIFIED IN COUNT PARAMETER Explanation A non numeric character has been specified in the operand of the COUNT execution parameter Processing of the utility is terminated Action Correct the invalid parameter entry and rerun the job OTS01007 INSUFFICIENT STORAGE FOR WORKAREAS Explanation A request by the utility for main storage allocation has failed Action Increase the REGION size specified for the job and resubmit ASM for S 390 v2 5 User Manual 8 24 OTS01008 INVALID EXECUTION PARAMETER SPECIFIED Explanation Action A invalid parameter keyword has been detected when validating execution parameters Processing of the utility is terminated Correct the invalid parameter entry and rerun the job OTS01009 ENDKEY AND COUNT PARAMETERS CANNOT BOTH BE SPECIFIED Explanation Action The ENDKEY and COUNT parameters are both present in the execution parameter list This is an invalid combination Execution of the utility is terminated Correct the invalid parameter entry and rerun the job Refer to section 7 1 for a description of the execution parameters which may be specified
299. dddddddddd Explanation An error has occurred when processing a VSAM dataset Some or all of the following operands may appear xx is the return code from the VSAM I O macro yy is the reason code from the VSAM I O macro aaaaaaaa is the process being performed This may take the following values READING WRITING UPDATING DELETING ASM for S 390 v2 5 User Manual 8 50 bbbb bbbb is a description of the record being accessed ecccecccc is the file name dddd dddd is the dataset name Processing is terminated Action Refer to IBM documentation for details of the VSAM return and reason codes Take the appropriate corrective action and restart the job OTS04006 INTERNAL ERROR RECEIVED AT LOCATION yyyyyyyy Explanation An internal error has occurred during processing of the utility Action Retain all information relating to utility execution and contact your NearArchive product support representative OTS04007 INSUFFICIENT STORAGE FOR WORKAREAS Explanation A request for virtual storage in the job s private area has been denied by the operating system Action Increase the REGION size allocated for the job or jobstep and resubmit the job OTS04008 FILE OTASV100 IS NOT AT THE CORRECT RELEASE LEVEL Explanation A pre version 2 5 database is being processed by the utility The NearArchive database maintenance utility cannot be run on databases prior to version 2 5
300. dditional system messages regarding the I O error Take the appropriate corrective action and rerun the job If no apparent cause for the error can be determined contact your NearArchive product support representative OTS13034 UNABLE TO ALLOCATE INPUT INCREMENTAL BACKUP TAPE PROCESSING TERMINATED Explanation The utility was unable to allocate an incremental backup tape during recovery of a primary dataset Execution of the utility has been terminated Action Review the system or job log for additional system messages regarding the error Take the appropriate ASM for S 390 v2 5 User Manual 8 97 corrective action and rerun the job If no apparent cause for the error can be determined contact your NearArchive product support representative OTS13035 ERROR PROCESSING ITEM CONTROL RECORD PROCESSING TERMINATED Explanation An error has been encountered processing an object s control record from a full volume or incremental backup tape dataset Execution of the utility is terminated Action Retain all information concerning the error condition and report the error to your NearArchive product support representative OTS13036 UNABLE TO READ SPACE MANAGEMENT RECORD PROCESSING TERMINATED Explanation An error has been encountered accessing a record from the database s space management file for the storage level being processed by the recovery utility Execution of the utility is terminated Action Retain
301. dentified contact your NearArchive product support representative OTS03006 UNABLE TO GETMAIN STORAGE FOR xxxx BUFFER Explanation A request by the utility for main storage allocation has failed xxxx may contain the following values T000 The storage was required for a tape data buffer KEY1 The storage was required for a primary index control record buffer Action Increase the REGION size specified for the job and resubmit OTS03007 POINT ERROR OTASV120 RETURN CODE X xx REASON CODE X yyyyyyyy Explanation An error has occurred repositioning on the NearArchive space management dataset xx and yyyyyyyy are the hexadecimal return and reason codes returned from the VSAM POINT macro Processing is terminated ASM for S 390 v2 5 User Manual 8 30 Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job If no cause of the error can be identified contact your NearArchive product support representative OTS03008 PRE VERSION 2 5 DATABASE FOUND PROCESSING CANNOT CONTINUE Explanation The NearArchive database maintenance utility cannot be run on databases which are in a pre version 2 5 format Processing is terminated Action Ensure that the correct primary index dataset has been specified in the execution JCL If necessary correct the JCL and resubmit the job Database indexes which were created wit
302. der tasks initiated in the control region for retrieval of disk resident objects This parameter is used to control performance of disk retrieval processing Additional controls are also provided via the MAXQLEN system initialization parameter to enable users to impose a limit on the number of requests which may be queued for an active disk or tape dataset The maximum value for this limit is also 256 ASM for S 390 v2 5 User Manual 2 12 ASM for S 390 will return an archiving busy condition return code 21 to any request which causes any of the above limits to be exceeded ASM for S 390 also allows temporary storage queues created during object retrieval processing to be automatically deleted after a customer specified time interval has elapsed since object retrieval was completed This facility is controlled via the TSQDELETE system initialization parameter Prior to use the NearArchive control region must be initialized for online retrieval This may be performed via PLTPI processing or by running transaction OT23 at any time subsequent to CICS initialization see chapter 6 of this manual for details of this transaction Similarly the NearArchive control region may be quiesced for online retrieval via PLTSD processing or via transaction OT24 No NearArchive database retrieval operations will be allowed subsequent to quiescing the NearArchive control region 2 8 2 Secondary NearArchive regions The NearArchive control r
303. dition Codes OTASP130 will set a condition code on completion This code may take the following values 0 the utility has been executed successfully 4 a warning condition has been encountered during execution of the utility but processing has continued A warning message will have been written to the SYSPRINT dataset ASM for S 390 v2 5 User Manual 7 74 8 an error condition has been encountered during execution of the utility but processing has continue An error message will have been written to the SYSPRINT dataset 12 a serious error has occurred during execution of the utility An error message will have been written to the SYSPRINT dataset Execution of the utility has been terminated 7 8 4 Running the Utility Prior to executing the database recovery utility the tape cartridge volume s to be recovered must be placed into recovery status This is performed via the volume recovery function in the supplied NearArchive database administration ISPF dialogs Refer to section 3 4 of this manual for a full description of how to perform this function Once a volume has been placed in recovery status all accesses to that volume for retrieval of NearArchive objects will be satisfied from the backup copy identified in the corresponding volume recovery entry This copy should be made available for retrieval processing as required It must also be available for recovery processing by the database recovery utility After succ
304. documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS26321 ABEND xxxx RECEIVED DURING NEARARCHIVE OPERATOR INTERFACE PROCESSING Explanation An abend with code xxxx has occurred during CICS operator interface processing ASM for S 390 v2 5 User Manual 8 126 Action Refer to CICS documentation for details of the abend and corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS26401 NEARARCHIVE NOT INITIALIZED REQUEST REJECTED Explanation The CICS operator command entry facility has been invoked but the NearArchive control region has not yet been initialized Operator command entry processing cannot be performed Action Initialize the NearArchive CICS control region using NearArchive CICS transaction OT23 before invoking the operator command entry facility OTS26402 COMMAND MAY ONLY BE INVOKED FROM CONTROL REGION REQUEST REJECTED Explanation The CICS operator command entry facility has been invoked but the NearArchive control region has not yet been initialized Operator command entry processing cannot be performed Action Initialize the NearArchive CICS control region using NearArchive CICS transaction OT23 before invoking the operator command entry facility OTS26403 STATUS ERROR CORRUPT
305. does not re occur ASM for S 390 v2 5 User Manual 8 15 Return Supp Supp Description code code 1 code 2 file id System file not open for update processing An object deletion request has been issued by an application but the NearArchive database has not been connected for input output processing batch or the primary index or journal dataset has not been defined for update access in the File Control Table CICS Action Amend the database open call batch or File Control Table entries CICS and re submit the request file id An error has occurred attempting to dynamically allocate a NearArchive database system dataset Action Terminate processing Refer to IBM documentation on dynamic allocation for a description of the error code in supp code 2 Take the appropriate corrective action and re submit the request If no apparent cause for failure can be detected contact your NearArchive product support representative 91 file id NearArchive database not correctly initialized The file identifier indicates which system dataset has not been properly set up Action Terminate processing Check that the correct NearArchive database index has been specified in the JCL If no apparent cause for failure can be detected contact your NearArchive product support ASM for S 390 v2 5 User Manual 8 16 Return Supp Supp Description code code 1 code 2 representative 1 NearArchive database being opened during batc
306. e B C and D copies are optional If omitted the A copy unit name will be used for scratch 3 13 ICRC Dynamic load balancing ASM for S 390 v2 5 User Manual allocation of datasets in the appropriate database copy Entries should consist of an 8 character alphanumeric identifier which identifies a valid esoteric unit name on the host system control program These fields may be used to control the type or location of the device s used to process tape datasets in the appropriate copy of the NearArchive database Refer to section 4 7 for a description of database backup processing Optional entry Enter the option to be used for implementation of the Improved Cartridge Recording Capability ICRC tape data compaction feature for storage level 0 in this NearArchive database The available options are ON ICRC is always enabled when writing data to storage level 0 in this NearArchive database OFF ICRC is always disabled when writing data to storage level 0 in this NearArchive database DEFAULT The system default ICRC setting is used when writing data to storage level O in this NearArchive database If no entry is made in this field the default value used is DEFAULT If ICRC is not available specify a value of DEFAULT in this field or allow it to default Optional entry When dynamic load balancing is enabled ASM for S 390 will automatically retry a batch or online retrieval request
307. e No action is necessary OTS07018 DATE TO IS LESS THAN DATE FROM IN THE EXEC PARAMETER Explanation An error has been detected in the DATE EXEC parameter The first date in the range is lower than the last date in the range Processing is terminated Action Correct the invalid execution parameter and rerun the job OTS07019 INVALID EXEC PARM COMBINATION DATE NODUPS SPECIFIED RUN ABANDONED Explanation The DATE and NODUPS execution parameters have both been specified This is an invalid combination Processing of the utility is terminated with a parameter validation error Action Refer to chapter 7 for a description of execution parameter specification Correct the parameter and re submit the job OTS07020 ERROR X xxyy aaaaaaaa bbbb bbbb IN FILE ccccccee Explanation An error has occurred processing VSAM file cccccccc xx and yy give the hexadecimal error and reason ASM for S 390 v2 5 User Manual 8 65 codes returned from the VSAM request aaaaaaaa identifies the process which was in error and can take the following values READING bbbb bbbb identifies the record being processed when the error occurred and can take the following values STORAGE LEVEL CONTROL RECORD Processing of the utility is terminated Action Consult IBM documentation on VSAM macro processing for a description of the error and reason codes Take th
308. e appropriate corrective action and restart the job OTS07021 INTERNAL PROCESSING ERROR AT LOCATION xxxx PLEASE CONTACT PRODUCT SUPPORT FOR ASSISTANCE Explanation An internal error has occurred during execution of the utility xxxx gives the internal error location code Processing of the utility is terminated Action Retain all information concerning execution of the utility and contact your NearArchive product support representative OTS07022 DATABASE IN UNCOMMITTED STATE aaaa aaaa PROCESS INCOMPLETE Explanation The NearArchive database being processed by the utility is currently in an uncommitted state aaaa aaaa identifies the last update process which has not been completed successfully This may take the following values OBJECT ARCHIVAL a database archival process is incomplete DATABASE MAINTENANCE a database maintenance process utility ASM for S 390 v2 5 User Manual 8 66 OTASP030 is incomplete OBJECT MIGRATION an object migration process utility OTASP040 is incomplete OBJECT MANAGEMENT an object management process utility OTASP040 is incomplete Processing of the utility is terminated Action The journal utility cannot be used to process a database which is an uncommitted state Ensure that the incomplete update operation as identified in this message has been completed successfully before re running the journal maintenance utility OTS07024 DYNALLOC ERROR
309. e fields displayed on this panel Note that the database blocksize field is not present on this panel The value of this attribute cannot be altered after initial storage level definition The following additional field is displayed on the storage level amendment panel ASM for S 390 v2 5 User Manual 3 46 Migrate from Enter the age in years and days of objects which storage level are to be eligible for migration from this storage level to the next storage level in the NearArchive database The age of a NearArchive object is always calculated with reference to the archive date used to index that object Objects in this storage level which are older than the limit supplied in this field will be candidates for migration to the next storage level in the database by the NearArchive object management utility OTASP040 Note that when migration is being performed the sum of the values of the Migrate from storage level fields in all storage levels up to but not including the target storage level is used to determine whether an object is eligible for migration Enter a value of 0 years and 0 days if migration from this storage level to the next storage level in the hierarchy is to be disabled An entry in this field will only be accepted if the next storage level in the database is already in existence Amend the panel entries as required and press ENTER Any invalid update will be rejected and a corresponding message disp
310. e request Action None The request is ignored ASM for S 390 v2 5 User Manual 8 118 OTS26112 TASK FORCE TERMINATED Explanation A task has been successfully force terminated in response to an F selection Action The OTSN261 screen is re displayed The terminated task will be shown with a status code of TM OTS26113 TASK CANNOT BE FORCED PRIOR TO NORMAL TERMINATION REQUEST Explanation A request has been made to force purge a task but no purge request has yet been made for that task A purge request must be entered against a task prior to issuing a force purge request for that task Action None The request is ignored OTS26114 SELECTED TASK NOT ACTIVE REQUEST IGNORED Explanation A task has been selected for purge processing but that task is not currently active Action None The request is ignored OTS26115 TASK TERMINATED Explanation A waiting task has been successfully terminated in response to a purge request Action The OTSN261 screen is re displayed The terminated task will be shown with a status code of TM OTS26116 TASK TERMINATION IN PROGRESS Explanation A purge request has been accepted for a busy task Action The task will be terminated when all queued requests for that task have been processed The task will have a status indicator of BYSH on redisplay of screen OTSN261 ASM for S 390 v2 5 User Manual 8 119 OTS26118 AUTHORIZATION TO PERF
311. e CICS DFHRPL concatenation 2 9 Security user exit In order to allow customers to implement external security control for access to a NearArchive database an external security module OTASUX01 batch TSO or OTASUX02 CICS will be called at the following points 1 opening a database for input or update processing 2 retrieving an object 3 writing an object 4 deleting an object 5 browsing a database definition 6 updating a database definition 7 creating a database definition 8 display CICS control region configuration status 9 updating CICS control region configuration status A standard user exit parameter area will be passed to the security exit program at each point This parameter area will contain information about ASM for S 390 v2 5 User Manual 2 27 the caller the resource being accessed and the type of access required Customer specific code may be implemented in the exit program to determine whether access to the resource is to be allowed The exit program should return a response code of 00 to ASM for S 390 if access is to be permitted and a response code of 08 if access is to be denied If access of types 1 to 4 above is denied a return code of 29 will be passed back to the application If access of type 5 to 7 above is denied an error message will be displayed on the appropriate ISPF panel Default user exit modules OTASUX01 and OTASUX02 are supplied with the
312. e ISPLOAD or ISPLLIB as follows ISPLLIB DD DD DSN OTAS VvRr LOADLIB DISP SHR where OTAS VvRr LOADLIB is the name given to the unloaded NearArchive load library during the product installation process see section 2 1 Alternatively this library may be added to the system linklist concatenation ASM for S 390 v2 5 User Manual 2 8 b Add the product panel library to the ISPF panel library concatenation file ISPPLIB as follows ISPPLIB DD DD DSN OTAS VvRr ISPPLIB DISP SHR where OTAS VvRr ISPPLIB is the name given to the NearArchive ISPF panel library during the product installation process see section 2 1 c Add the product message library to the ISPF message library concatenation file ISPMLIB as follows ISPMLIB DD DD DSN OTAS VvRr ISPMLIB DISP SHR where OTAS VvRr ISPMLIB is the name given to the NearArchive ISPF message library during the product installation process see section 2 1 d Add the product skeleton JCL library to the ISPF skeleton library concatenation file ISPSLIB as follows B DISP SHR where OTAS VvRr ISPSLIB is the name given to the NearArchive ISPF skeleton JCL library during the product installation process see section 2 1 e No additional amendments are required to the logon procedure s used by the TSO user s who will be responsible for performing NearArchive database administration functions If required ISPF LIBDEF
313. e OS 390 host If required multiple NearArchive control regions may be defined per host system Implementation of MRO is not a pre requisite for ASM for S 390 operation in a CICS environment The limits on the number of tape drives which ASM for S 390 may allocate simultaneously for online retrieval and on the number of requests which may be queued per allocated drive are set by the NearArchive CICS operator The product has an overall limit of 256 simultaneous CICS retrieval requests per control region 1 5 1 Online Response Times A request for online retrieval of a tape copy of an archived object will generate the following sequence of events a Dynamic allocation of tape dataset which in turn will cause Mount request for tape cartridge volume Loading of volume onto drive e Label processing b Dataset open c Location of block s containing requested object d Retrieval of data block s e Dataset close which generates tape rewind f Dynamic de allocation of tape dataset which in turn will cause Unloading of tape cartridge volume Dismount request for volume ASM for S 390 v2 5 User Manual 1 14 Of the above sequence of events items e and f are performed asynchronously while retrieved data is being processed by the requesting program and will not therefore have an impact on transaction response time However items a d will all contribute to the overall response time Of these items
314. e being processed The contents of this field may not be amended This indicator identifies the storage level being processed as entered on recovery control panel OTSN4400 The contents of this field may not be amended This field is used for identifying the volume recovery control entry ies which are to be processed The following characters may be entered D delete a volume recovery control entry Once deleted data retrieval from all tape sequence numbers specified in that entry will be satisfied from the primary database copy I insert a volume recovery control entry This will cause the next panel display to contain an additional entry of underscores Start and end sequence numbers in this entry may then be updated to add the new volume recovery control entry as desired Any other character entered in this column will be rejected Multiple entries per panel display may be selected for processing These fields display the start and end sequence numbers within storage level of the volumes in that recovery control entry All tape cartridge volumes within a single storage level in a NearArchive database contain a single 3 53 ASM for S 390 v2 5 User Manual tape dataset Each dataset is allocated a sequence number starting at 1 and continuing in ascending numerical sequence up to a maximum value of 65535 the maximum number of volumes per storage level A dataset s sequence number is used when generating
315. e database prior to resetting the dataset The journal archive database is a standard NearArchive database It will be automatically defined and initialized when the journal archive facility is first enabled for a NearArchive database The name of the journal archive database s primary index dataset is hlg Jd INDEX where hlq is the high level qualifier specified for the primary NearArchive database during database definition processing Journal entries are archived to the journal archive database as separate logical records within an archived object One NearArchive object will be created for each separate date value in the journal dataset Each object will have the following identifier e Primary key this is a 4 byte packed decimal field in format CYYMMDDF where F indicates an unsigned packed decimal field and C is the century indicator containing the creation date of all journal entries in the NearArchive object The century indicator can take the following values ASM for S 390 v2 5 User Manual 7 50 0 date is in range 1950 2049 I date is in range 2050 2149 e Archive date a dummy date used to allow archival of multiple objects with identical primary key journal entry date Each logical record within the NearArchive object will be of length k 39 bytes where k is the NearArchive database s primary keylength and will be in the journal dataset record format as describe
316. e definition of each storage level in the database OTSN4103 volume recovery control One panel will be displayed after each storage level panel display if there are one or more recovery control entries in existence for that storage level ASM for S 390 v2 5 User Manual 3 49 This panel will contain one row for each recovery control entry Entries may be browsed backwards and forwards using the PF7 and PF8 keys All fields on each of the above panels will be protected from update No amendment to database definition values may be made via the database browse facility Press ENTER to continue displaying the sequence of database definition panels Press PF3 at any point to terminate the browse process Press PF1 to obtain help information about the content of any individual panel 3 4 Recovery Control Processing The NearArchive database recovery control facility allows the following processing to be performed on a NearArchive database 1 Identification of a tape sequence number or range of sequence numbers in any storage level in the database which have become unavailable either due to media failure or loss of the volumes for some other reason for which retrieval requests are to be automatically satisfied from a designated backup copy A backup copy identifier B C or D must be specified for each sequence number or range of sequence numbers See section 4 7 for a description of NearArchive tape cartridge backup
317. e files of test data to the NearArchive database Explicit secondary index calls are included in the each job for secondary index 50 which is defined with no automatic indexing Secondary indexes 1 and 99 will be built automatically during archival of the test data A brief description of each job follows OTASD211 This job archives IVP data file 1 to the test database using standard NearArchive calls via the new application program interface The file contains variable length records OTASD212 This job archives IVP data file 2 to the test database using standard NearArchive calls via the old application program interface The file contains fixed length records A second tape dataset sequence 2 will be created during this job ASM for S 390 v2 5 User Manual A 9 OTASD213 This job archives IVP data file 3 to the test database using standard NearArchive calls via the new application program interface The file contains fixed length records A 4 2 The batch retrieval IVP The following jobs have been supplied to verify NearArchive batch retrieval processing Each job demonstrates a different method of retrieval OTASD214 This job retrieves archived data from the NearArchive database using direct retrieval requests OTASD215 This job retrieves archived data from the NearArchive database using sequential retrieval requests All objects in the database are retrieved After the last item in the database has been retrieved
318. e is no maximum disk blockcount When this block count has been exceeded ASM for S 390 will close the current disk dataset and allocate a new disk copy dataset for storage of disk copies of objects being archived to the associated primary tape copy dataset A maximum of 256 disk copy datasets may be created per primary tape copy dataset If 256 disk copy dataset have already been created for the corresponding primary tape copy dataset ASM for S 390 will disable disk copy processing until the next primary tape copy dataset is created An entry in this field is used to limit the overall size of each disk copy dataset This is particularly important when high capacity tape volumes are used for the primary tape copy datasets During processing of the object management utility OTASP040 a disk copy dataset will be deleted 3 20 and the disk space occupied by the file released only when the disk copies of all objects within that dataset have expired Creation of multiple disk copy datasets per primary tape copy dataset will allow disk space to be released more actively by the object management utility and may reduce the overall amount of disk space required to support ASM for S 390 disk copy processing If no entry is made in this field a default value of 0 will be used i e no maximum blockcount In this case ASM for S 390 will continue to write to a disk copy dataset until the primary tape dataset has been closed or until there is
319. e levels The NearArchive database maintenance utility should be executed in conjunction with the object management utility in order to reclaim tape space occupied by expired or migrated objects The object management utility may be run in simulate mode to predict the object management actions expiration or migration of objects which will be performed by the utility An option is available when running in this mode to simulate utility execution on any specific or relative date value ASM for S 390 v2 5 User Manual 7 29 7 4 1 Functions The object management utility performs the following functions e Sequentially scans a NearArchive database s primary index and identifies the following categories of objects a objects which have been stored in the database for longer than the object retention period set for that database These expired objects will be deleted from the database b objects in the source storage level identified in the INLEVEL execution parameter which have been stored in the database for longer than the sum of storage level migration periods for all storage levels up to but not including the target storage level identified in the OUTLEVEL execution parameter All identified objects will be recorded on the database s migration control dataset created automatically during storage level 1 definition via the NearArchive database administration ISPF dialogs Note that migration will only be performed if the INLEVEL an
320. e one record in this dataset for each selected object Each record will be k 32 bytes in length where k is the primary keylength as defined for the database being processed by the utility During processing of its migration cycle the utility will perform an internal sort routine To do this it invokes the sort product available on the host system The JCL example shown here does not use any sort work files internal program storage will be used for sort work areas It may be necessary to add DD entries for sort work files if the number of entries to be sorted is sufficiently large Refer to documentation supplied with the sort product in use on the host system for details on how to code these DD statements and for any other considerations which should be taken into account when using the sort product Sort work files will not be required for execution of the object management utility with NearArchive databases for which only one storage level has been defined 7 4 3 Condition Codes OTASP040 will set a condition code on completion This code may take the following values 0 the utility has been executed successfully 4 a warning condition has been encountered during processing of the utility but execution of the utility has continue A warning message will have been written to the SYSPRINT dataset 8 an error condition has been encountered during processing of the utility but execution of the utility has continue An er
321. e or disk reader sub task by the NearArchive CICS online retrieval scheduler ASM for S 390 v2 5 User Manual 8 104 Action This message supplies additional information when an error has occurred during online retrieval processing Refer to the NearArchive return and supplementary code section in chapter 8 for a description of the return code xx and supplementary codes yyyy and zzzz Contact your NearArchive support representative if there is no apparent reason for the error OTS22002 FILE OTASnnnn DATASET xxxxxxxxxxxXXXXXXXXXXXxx Explanation This message accompanies message OTS22003 and supplies additional information about the file and dataset names being processed when a retrieval error occurred Action See message OTS22003 OTS22003 ABEND xxxx RECEIVED DURING NEARARCHIVE RETRIEVAL PROCESSING Explanation An abend with code xxxx has occurred during CICS retrieval processing Action Refer to CICS documentation for details of the abend and corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS22004 UNABLE TO OBTAIN LOCK DURING ERROR RECOVERY PROCESSING Explanation The processor was unable to obtain a control block lock when trying to recover from an earlier error condition Action Processing will continue normally Inform your NearArchive support representative if this message is displayed persistently OTS22005 INVALID REQUEST EL
322. e original archival date may be re specified This will ensure correct re use of index entries during a rerun and avoid errors due to redundant index entries 4 An application may have a maximum of two active NearArchive connections at any one time one for input processing and one for input output or output processing If more than one concurrent connection request is required ensure that the database name and tape DD name fields in each connect request at offsets 0 and 16 respectively in the database name list entry are different Issuing more than one NearArchive connection request concurrently will mean that there must be one DD card in the JCL deck used to execute the batch or TSO procedure for each database connection Each card must identify the primary index of the NearArchive database to be connected using a DD name of OTASxxxx where xxxx is the database name specified in the connection request Note that for concurrent database connections the database being accessed need not be different for each connection If the same ASM for S 390 v2 5 User Manual 4 13 primary index dataset is specified in each of the database definition DD cards present in the JCL deck then a single NearArchive database may be connected for input processing to query or retrieve objects from a NearArchive database and for output or input output processing to store or delete objects in the same NearArchive database 5 The databas
323. e pre v2 4 application program interface 5 1 1 JCL requirements The JCL requirements for executing batch programs which invoke NearArchive are a Include the ASM for S 390 product load library in the JOBLIB or STEPLIB concatenation for the job or ensure that this library is in the system linklist concatenation b Include a DD card with DDname OTASxxxx for each NearArchive database to be accessed during jobstep execution where xxxx is the database name as specified in the NearArchive connect database call Each DD card should identify the name of the database primary index dataset e g OTASXXXxX DD DSN database primary index dsn DISP SHR If no database name is supplied in the connect database call a default ASM for S 390 v2 5 User Manual 5 3 value of V100 is used In this case a DD card with DDname OTASV100 should be supplied c Adda REGION parameter to the JOB or EXEC card as required d If asynchronous secondary index update processing is to be performed include a DD card with DDname OTnnxxxx for each secondary index which is to be updated asynchronously during batch archival processing to database xxxx where nn is the 2 digit secondary index identifier and xxxx is the database identifier specified in the application s database open request For example to enable asynchronous updates to secondary index 01 in database TEST the following DD card should
324. e s 16 LSRpool 21 M main index entry 7 10 25 main temporary storage 28 MAXBLKCT 16 MAXDISK 12 14 16 20 25 28 MAXDRIVE 10 12 14 16 19 24 27 maximum blockcount 13 MAXQLEN 11 12 14 16 17 20 24 27 media failure 16 messages and codes 1 MIE 7 10 migration 36 47 migration control dataset 12 48 of objects MLPA 7 MRO 31 Multiple database access 15 multiple NearArchive databases 12 Multiple Region Operation 10 13 31 N NearArchive calls sample 1 NearArchive messages 3 NEXTTSQ 8 NODUPS 43 O object 7 33 expiration 29 identification object deletion 37 object length 30 object management utility 20 29 39 object management utility messages 49 69 object residency indicator 20 object retrieval 3 object newest 29 object oldest 29 online parameter file messages 108 online request processor messages 102 103 online retrieval 4 9 15 24 online retrieval interface operational considerations 9 23 operator interface 15 17 user exit 30 OT22 21 OT23 11 13 OT24 13 OT26 15 OT26UXIT 30 OTASBKUP 64 OTASLOGI OTASP010 OTASP020 OTASP030 OTASP040 OTASP050 OTASP055 OTASP070 OTASP080 OTASP100 OTASP110 OTASP130 OTASP200 OTASP240 OTASS100 OTASSVC OTASTEST OTASUX01 OTASUX02 OTASV 100 OTSN4000 OTSN4100 OTSN4101 OTSN4102 OTSN4103 OTSN4200 OTSN4210 OTSN4220 OTSN4221 9 11 3 6 3 12 3 16 17 20 39 4 20 29 39 0 21 29 40 1552 11 58
325. e storage level in which objects are to be stored is set during connect processing in the 2 byte field at offset 20 in the database name list This may take the value of any storage level currently defined in the database Note that only one storage level may be updated during any single database connection Storage of objects in another storage level in the database requires disconnection from the database and re connection to the new storage level 4 3 2 Request Code 41 Query a NearArchive Index A query index request is issued by a batch TSO or CICS application to obtain a formatted list of index entries primary or secondary for a specified primary or secondary key value For batch or TSO applications the formatted list is returned in the data buffer field of the NearArchive parameter interface area The maximum number of formatted entries which may be accepted by the application is set in the data buffer length field when the call is issued On return from NearArchive this field will hold the actual number of formatted entries present in the data buffer field in the parameter block A return code of 00 and supplementary code 1 value of 4 is issued when there are more entries to be returned Further query requests may then be issued specifying the same query criteria to retrieve the next set of formatted index entries for that query Formatted index entries will be returned in the data buffer in the sequence requested by t
326. e used for allocation of each secondary data extent of the dataset Refer to section 3 1 4 for information on choosing a secondary allocation value Data CI size Optional entry Enter the control interval CI size to be used for allocation of the data component of the dataset This should be a valid VSAM control interval size If omitted a control interval size of 16k is used for the data component Index CI size Optional entry Enter the control interval size to be used for allocation of the index component of the dataset KSDS only This should be a valid VSAM control interval size If omitted a control interval size of 2k is used for the index component Choosing unique control interval sizes for the various VSAM system datasets defined for a NearArchive database may improve performance of batch NearArchive operations through the implementation of exclusive buffer pools for each dataset Delete before Optional entry Enter the value Y if ASM for define S 390 should attempt to delete the dataset before it is defined Enter N if no deletion request should be issued The NearArchive database definition process will proceed as normal if a value of Y is entered here and the dataset did not exist If omitted a value of N is used for this entry Press ENTER after all required entries have been made on each panel After all AMS control panel entries have been accepted the database will be defined and initialized
327. earArchive database definition is performed using the NearArchive database administration TSO ISPF dialog facility This facility will enable all disk dataset components of a NearArchive database to be automatically defined and initialized from within a single TSO session The database definition and maintenance facility is designed for use by NearArchive database administration personnel Access to this facility should be restricted to this category of user If required user exit OTASUX01 may be implemented to control database browse and update processes Refer to section 2 9 for information on implementation of this facility The supplied TSO ISPF database administration facility allows the following NearArchive database definition and maintenance procedures to be undertaken Any of these functions may be invoked by entering the corresponding function number in the Option field on the database administration entry panel OTSN4000 An example of this panel is given in figure 3 0 1 Definition of a new NearArchive database This procedure allows the database administrator to specify initial values for database definition parameters A new NearArchive database with a single storage level storage level 0 will be defined during this procedure 2 Maintenance of a NearArchive database This procedure allows the database administrator to perform the following functions amend existing database definition parameters e add a new st
328. ecified A validation error is returned by the utility if both these parameters are present If the STARTKEY parameter is also specified then the primary key value specified in the ENDKEY parameter must be greater than or equal to the primary key value specified in the STARTKEY parameter NOSIE The NOSIE parameter is used to suppress printing of supplementary index entry SIE records from the index One or more SIE records will exist for each main index entry MIE record when secondary index processing has been enabled for the database SIE records contain information which is used for cross referencing purposes with a corresponding secondary index dataset during object deletion processing If the NOSIE parameter is omitted a print report entry will be created for each SIE record encountered during sequential scanning of the primary index file Dataset names should be set as follows for each DD entry ASM for S 390 v2 5 User Manual 7 8 STEPLIB The name of the NearArchive product library as unloaded during the product installation procedure see chapter 2 OTASV100 The name of the primary index of the NearArchive database to be processed by the utility The utility will only process one NearArchive database for each execution SYSPRINT The destination of the utility report file If required the report may be written to a sequential dataset with record format FBA and a logical record length of 133 bytes 7 1 3 Condi
329. ecord within a NearArchive object which contains the secondary key to be used to index that object This field is used in conjunction with the start position in record field to control automatic indexing for this secondary index See the description of this field above for additional information This entry can contain the following values 0 no automatic indexing is to be performed for this secondary index Secondary index entries will be explicitly identified by calling applications during the batch archival procedure 1 to 9999999 specifies the sequence number within NearArchive object of 3 38 ALL the logical record which contains the secondary key to be used when automatically creating a secondary index entry specifies that all logical records within a NearArchive record will contain a secondary key to be used to automatically create a secondary index entry Specification of this option should only be made after careful consideration as it may potentially cause a separate secondary index entry to be created for each logical record within a NearArchive object Note that only one secondary index entry will be generated for a NearArchive object if multiple secondary keys are identified automatically or explicitly for that object After all required entries have been made press ENTER Any invalid entry will be rejected and a corresponding message displayed in the top right hand corner of the pane
330. ective action and restart the job OTS03002 NEARARCHIVE CALL FAILURE REQUEST aa RETURN CODE bb SUP CODE 1 X xxxx SUP CODE 2 X yyyy Explanation An internal NearArchive call issued by the utility has failed aa is the request code bb is the return code xxxx and yyyy are the supplementary codes returned from NearArchive Action Refer to NearArchive documentation for details of the return and supplementary codes Take the appropriate corrective action and restart the job OTS03003 INVALID EXEC PARM XXXXXXXXXXXXXXXXXXXXXXX Explanation An invalid parameter has been specified on the EXEC statement Processing is terminated Action Refer to NearArchive documentation for EXEC parameter specification Make the appropriate corrections and restart the job ASM for S 390 v2 5 User Manual 8 29 OTS03004 UNABLE TO OPEN DATASET WITH DDNAME dddddddd DCB OPEN FLAG xx Explanation An open error has occurred when opening the non VSAM dataset dddddddd xx is the DCB flag returned from the OPEN macro Processing is terminated Action Refer to IBM documentation for details of the OPEN error Take the appropriate corrective action and restart the job OTS03005 DATABASE STORAGE LEVEL x DOES NOT EXIST Explanation Storage level x does not exist in the NearArchive database Processing is terminated Action Examine the NearArchive database definition for the storage level specified If no cause for the error can be i
331. ectly with version 2 5 of the product A specification of the previous API is supplied in appendix D of this manual for ongoing program maintenance requirements Note carefully when developing new ASM for S 390 applications or modifying existing applications that invocation of NearArchive services using a combination of old and new APIs should not be performed from within the same calling program Unpredictable results may occur if this is done This chapter discusses the invocation of NearArchive using the standard application program interface 4 1 Invoking NearArchive The following NearArchive services may be invoked by a batch or CICS application program e Connect to a NearArchive database e Query the primary or secondary index of a NearArchive database e Retrieve an object from a NearArchive database e Store an object in a NearArchive database e Create a secondary key for a stored NearArchive object e Delete an object from a NearArchive database e Commit updates to a NearArchive database ASM for S 390 v2 5 User Manual 43 e Disconnect from a NearArchive database NearArchive services are invoked from batch or TSO programs by issuing standard CALL statements to the NearArchive module OTASP100 This module is supplied on the distributed NearArchive load library and must be linked in to the calling program at link edit time to satisfy the external reference The CALL statement should pass the standard NearArch
332. ed 6 During sequential processing when the last record in storage level 0 of a database has been retrieved the next sequential retrieval request will return the first record in the lowest dataset sequence number in storage level 1 of the database No special indication is given by NearArchive that a storage level boundary has been crossed during sequential retrieval If storage level 1 is not defined for a database in the above circumstances or if the last record in storage level 1 has been sequentially retrieved NearArchive will set a return code of 30 and a supplementary code 1 value of 1 if another sequential retrieval request is submitted This indicates an end of database condition If the application continues to submit sequential retrieval requests NearArchive will start sequential processing from the beginning of the database again 7 For direct processing requests the disk K copy of an object will always be retrieved if it exists If disk retrieval fails for any reason NearArchive will retrieve the object from tape as normal For sequential processing requests NearArchive will always access the tape copy of an object whether a disk copy exists or not The order in which objects are accessed during sequential processing will be governed by the physical order of storage of objects on tape If a direct retrieval request is satisfied from the disk copy of an object and is then followed by a sequential retrieval
333. ed 6 1 Application Programming Issues 6 1 1 Overview of Object Retrieval Processing To retrieve data from a NearArchive database a CICS application program should perform the following steps e Identify the primary key and archive date of the NearArchive object to be retrieved and the name of the database from which retrieval is to be performed The primary key and date of the object to be retrieved may be obtained by requesting the user to input these details on the screen or more likely from user selection of the object from a formatted display of all NearArchive objects for a specific primary or secondary database key In this latter case a formatted list of NearArchive index entries for a primary or secondary key may be obtained by issuing a NearArchive query index request This may be used to construct a formatted list of archived items for user selection from a display screen For DBCS customers the primary and secondary keys should include all shift control bytes to avoid problems when printing reports e The application program should then prime a parameter block with the values obtained in the previous step the name of a CICS temporary storage queue which is to be used to hold the retrieved data ASM for S 390 v2 5 User Manual 6 3 and indicate whether the queue is to be created in main or auxiliary temporary storage e Control is passed from the application program to ASM for S 390 via a CICS LIN
334. ed The utility will automatically checkpoint its activity after each 1 000 records have been processed from the database index or immediately after receipt of an operator STOP command During rerun of the utility processing will be restarted from the last successful checkpoint There is no requirement to restore any dataset prior to rerunning the utility C 7 Post utility processing After successful completion of the utility if the optional step to increase the maximum record length of the primary index was performed during database conversion processing as described in section 3 5 1 then the reverse step must now be performed to reduce the maximum record length of the primary index Member DB25REGR in the distributed SAMPLIB dataset contains JCL to perform this process This job will create a new primary index file with reduced maximum record length and copy all records from the regressed primary index to the newly created file Edit the job by adding a job card and replacing all occurrences of the character string index name in the job with the name of the primary index file for the database being processed If the new index is to be created on a different volume from that containing the regressed index file remove the comment markers from the VOL parameter in the DEFINE CLUSTER command and replace the string xxxxxx with the serial number of the volume on which the new file is to be created Then submit the
335. ed automatically or 1 if the secondary key is provided in the program interface area Delete an object Commit database updates batch applications only Disconnect a NearArchive database batch applications only Supplementary code 1 is used to determine the disposition of the tape cartridge volume after disconnecting the database Supplementary code 2 is used to control commit processing prior to disconnecting the database ASM for S 390 v2 5 User Manual 8 5 8 2 NearArchive Return and Supplementary Codes The following return and supplementary codes will be returned by NearArchive in the program interface area after a processing request has been completed Return Supp Supp Description code code 1 code 2 Request completed successfully Action None Request completed but disk copy of object not written A tape copy of the object has been successfully written Action None This is a warning code Batch processing A logical record has been retrieved from a NearArchive database but its length exceeded the maximum set by the calling program in the program interface parameters The record has been truncated Action amend length value in call interface parameters CICS retrieval processing The maximum number of objects to be returned in response to a query request has been exceeded The target temporary storage queue containing the results of the request will identify the first n objects
336. ed and not the count of characters For example number of DBCS characters X 2 number of SO bytes number of SI bytes must be less than 254 bytes Mandatory field Enter the position of the start of the secondary key within logical record for automatic secondary key generation during batch archival This must be a numeric value in the range 0 32760 Note that the first character in a 3 37 Record no within object ASM for S 390 v2 5 User Manual logical record is identified by character position 1 not 0 Enter 0 to disable the secondary index Once disabled no new entries will be created for a secondary index Any existing entries may be used for object retrieval A disabled secondary index may be enabled at any subsequent time via the secondary index update panel OTSN4223 This field is used in conjunction with the next field on the panel record no within object to control automatic creation of secondary index entries during object archival by the NearArchive batch archival component The first s characters starting from the character position specified in this entry where s is the secondary key length defined above in a logical record of a NearArchive object as specified in the record no within object field or as explicitly identified by a calling application will be used to automatically create a secondary index entry for that object Mandatory field Enter the sequence number of the logical r
337. ed here and the dataset did not exist If omitted a value of N is used for this entry Press ENTER after all required entries have been made on this panel After all entries have been accepted the secondary index will be defined and initialized After successful completion of the secondary index definition process the NearArchive secondary index maintenance menu panel OTSN4220 will be redisplayed If any error occurs during AMS processing an error panel will be displayed allowing viewing of AMS output messages Error messages should be noted and the appropriate corrective action taken The secondary index maintenance menu panel will then be redisplayed to allow retry of the secondary index definition procedure ASM for S 390 v2 5 User Manual 3 42 3 2 2 3 Delete secondary index definition OTSN4224 NearArchive V2 5 Secondary Index Deletion COMMAND gt Primary index name gt Secondary index number gt ___ You have requested that the above secondary index definition is to be deleted from this NearArchive database Press ENTER to confirm the deletion request Enter END or Press PF3 to cancel the deletion request On completion of the secondary index deletion process the entry for that index will have been removed from the NearArchive database definition and the corresponding secondary index dataset will have been physically deleted Fig 3 10 Deletion confi
338. ed to the STEPLIB concatenation it must be APF authorized to preserve authorization during CICS initialization processing However authorization of the ASM for S 390 load library is not required for ASM for S 390 operation itself If you do not wish to authorize the ASM for S 390 library it should be added as an unauthorized library to the linklist concatenation c Add the following DD card to the CICS DFHSIP job step OTASS100 DD DSN sequential dataset name DISP SHR where sequential dataset name is the name of a sequential disk dataset containing parameters which will control the operation of the ASM for S 390 online retrieval component after control region initialization This dataset must contain one or more fixed length 80 byte records and may be blocked or unblocked OTASS100 parameters consist of a keyword followed by a keyword value The keyword and its value are separated by a sign and optionally one or more space characters Parameters may begin in any column and may extend up to column 80 but cannot be continued from one line to the next An asterisk may be placed in column to indicate a comment card Multiple keyword parameters may be contained on a line each parameter separated by one or more spaces and optionally a comma Keyword parameters are defined as follows MAXDRIVE 1 3 numeric digits giving the maximum number of tape drives must be greater than zero which the NearArchive control region
339. edge receipt of this command via message OTS03297 Commit processing will then be performed and execution of the utility terminated Regression processing for the database may be continued at any subsequent time via a rerun of the regression job see section C 6 for a description of rerun processing C 5 Utility Processing Reports The following reports will be written by the database regression utility to the SYSPRINT dataset 1 Processing summary report This report gives details of the total number of main index entries processed from the selected database and the total number of index entries which have been regressed Error or warning messages generated during execution of the utility will be written to the processing summary report All messages will have the message identifier OTS032xx where xx is a numeric value in the range 00 99 Refer to chapter 8 of this manual for a description of all messages issued by the database regression utility C 6 Utility Failure and Restart Considerations If the database regression utility fails to complete normally either due to an error condition being encountered execution being cancelled by the system operator or execution of the utility being terminated early via entry of an operator STOP command then the utility may be rerun ASM for S 390 v2 5 User Manual C 6 normally after any error condition which may have caused the initial failure has been investigated and rectifi
340. efer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and rerun the job OTS01002 RETURN CODE xx RECEIVED READING JFCB FOR OTASV100 Explanation An error has been encountered locating the JFCB control block for the primary index file being processed by the utility xx gives the return code from the RDJFCB macro Processing is terminated Action Refer to IBM documentation on RDJFCB macro processing for details of the return code Take the appropriate corrective action and rerun the job OTS01003 DUPLICATE EXECUTION PARAMETER xxxxxxxxxx Explanation The execution parameter identified in the message has been specified more than once in the execution parameter list Processing of the utility is terminated ASM for S 390 v2 5 User Manual 8 23 Action Remove the duplicate parameter entry and rerun the job OTS01004 PARAMETER LENGTH IS INCORRECT FOR EXECUTION PARAMETER xxxxxxxxxx Explanation The length of the operand of the execution parameter identified in the message is greater than the maximum permitted value Processing of the utility is terminated Action Correct the invalid parameter entry and rerun the job OTS01005 ERROR X xxyy READING FILE dddddddd eeee eeee Explanation An error has occurred reading a VSAM file xx and yy are the hexadecimal error and reason codes returned from the processing request dd
341. egion will process all ASM for S 390 retrieval requests issued from application programs via the supplied online retrieval interface from within the control region itself and from any other CICS region which has a Multiple Region Operation cross memory or IRC link with the control region These other regions in the MRO complex are known as secondary NearArchive regions This means that a single NearArchive control region will be able to service NearArchive online retrieval requests from multiple CICS regions in an MRO complex Note that all tape processing in this type of configuration will still be performed by the NearArchive control region The limits to the maximum number of simultaneous requests which may be processed are those which are currently active in the NearArchive control region Each region in a CICS MRO configuration may be connected to only one initialized NearArchive control region Any attempt to initialize a NearArchive control region which is connected via MRO to an application region which in turn is connected to another initialized NearArchive control region will fail with message OTS23002 However any number of secondary regions from zero upwards may be present in the MRO complex Secondary NearArchive regions do not require any initialization prior to issuing ASM for S 390 online retrieval requests from these regions ASM for S 390 v2 5 User Manual 2 13 Note that if a host system contains more than one CICS MR
342. elete calls may be issued by the application 2 open database for input output processing delete calls may be issued by the application On exit this field may contain supplementary error information Supplementary code 2 must be set to binary zeroes on entry May contain a value on return giving additional information after an exception condition Allocation recovery retry limit Contains a binary value which sets the number of times tape allocation is retried after allocation recovery has been entered due to unavailable tape drive The default value of 30 is used if this field is set to binary zeroes or spaces Database name Name of the database to be opened This field specifies the last 4 characters of the DD name of the database s primary index as specified in the JCL used to execute the batch retrieval procedure The first 4 characters of the DD name must always be set to the value OTAS The default value of V100 DD name of OTASV100 is used for database name if this field is set to spaces or binary zeroes Tape DDname over ride Specifies the last four characters of the Ddname to be used by NearArchive when dynamically allocating a tape dataset for data retrieval The first four characters of the DDname are always set to OTAS The default value of T100 is used if this field is set to spaces or low values Usage notes ASM for S 390 v2 5 User Manual D 25 1 An application should only issue an i
343. en below File 9 IVP load module library This is a partitioned dataset containing load modules required for the batch and online IVP routines File 10 IVP JCL library This is a partitioned dataset containing jobs to run the batch IVP routines File 11 IVP test data file This is a partitioned dataset containing test data for running the IVP routines ASM for S 390 v2 5 User Manual A 2 A 2 IVP Database Initialization ASM for S 390 must be installed for batch and online processing as described in Chapter 2 of this manual prior to executing the IVP procedures To define and initialize the NearArchive IVP database perform the following tasks in the sequence presented below Refer to chapter 3 for a full description of each of the database administration panels displayed during this procedure A 2 1 Define and Initialize IVP Database e From the appropriate TSO ISPF menu invoke the NearArchive database administration option The NearArchive panel OTSN4000 will be displayed e On panel OTSN4000 enter the following details Primary index name OTAS V2R5 VP INDEX any other primary index name may be used as required Select option 3 and press ENTER Panel OTSN4300 will be displayed for primary index definition e On panel OTSN4300 specify the following base database definition details defaults will be taken for unspecified fields Length of primary key 9 NearArchive user SVC no SVC number allocated for
344. ent location in the database The recycled volumes are then released from the database and may be returned to the appropriate scratch tape pool All existing disk K copy datasets associated with a released volume will be automatically deleted by the utility The utility can also by used to identify disk copy datasets which contain less than a user supplied threshold of active disk resident objects These datasets are compressed to remove unused space e OTASP040 the object management utility The object management utility is responsible for maintaining the contents of a NearArchive database The utility will automatically delete all objects which have been resident in a database for longer than the retention period for that database as specified by the NearArchive database administrator The utility will also migrate objects between storage levels for those databases which have multiple storage levels Control of the object migration process is also specified by the NearArchive database administrator via the supplied database administration TSO ISPF ASM for S 390 v2 5 User Manual 1 20 facility The object management utility also deletes the disk copy of an object for which the disk retention period has been exceeded e OTASP070 the journal maintenance utility The journal maintenance utility allows analysis of journal entries for databases in which the audit trail facility has been enabled It also optionally archiv
345. equential order This may reduce the overall I O activity required to perform index update processing compared with standard synchronous updates The secondary index update utility must be executed once for each secondary index which has been scheduled for asynchronous update during archival processing i e once for each OTnnxxxx DD card in the JCL used to execute this process Further archival of objects to a database will not be permitted until all outstanding asynchronous secondary index updates have been performed successfully as described above Refer to section 4 4 of this manual for additional information on asynchronous secondary index update processing 7 6 1 Functions The NearArchive secondary index update utility performs the following functions e It validates control information in the input sequential dataset and verifies that there is an outstanding asynchronous update for the secondary index identified therein e After performing initial validation processing it calls the system sort program to sort all entries in the input sequential dataset into ascending secondary key primary key archive date sequence This is the sequence that entries are held in the NearArchive secondary index dataset e It then processes the sorted file sequentially and performs NearArchive secondary index update processing e On successful completion of the above processing the utility will remove the secondary index definition fro
346. er disk K copy dataset as specified by the NearArchive database administrator has been reached Action None This is an informational message Disk copy processing will be automatically resumed when the next tape dataset in the database is created OTS12006 RC aa SC1 X bbbb SC2 X cece LOCATION dddd Explanation This message accompanies message OTS12004 when disk copy processing has been disabled during NearArchive database update processing An error has been encountered processing a disk K copy dataset aa bbbb and cece provide the return code supplementary code 1 and supplementary code 2 respectively from the object archival request dddd is the internal program location identifier where the error was received Action Disk copy processing will be disabled for the remainder of the database update operation tape dataset update processing will continue normally Refer to NearArchive return and supplementary code documentation for a description of the error condition Take the appropriate corrective action to ensure that the error does not re occur during further database update operations If no apparent cause for the failure can be determined contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 88 OTS12008 ASYNCHRONOUS SECONDARY INDEX UPDATES CANNOT BE PERFORMED WHEN DYNAMIC BACKOUT IS ENABLED Explanation A database open request
347. ers of the CICS file control table entry for the primary index of the database to be accessed Pointer to the field containing the primary key of the NearArchive object to be retrieved The length of the primary key field addressed by this entry should be equal to the primary key length specified during database initialization processing For DBCS customers this is the true number of bytes including all shift control bytes present when the object was archived The archive date of the NearArchive object to be retrieved in format YYYYMMDD If the archive date on entry is set to 00000000 NearArchive will return the oldest object with the specified primary key If the archive date on entry is set to 99999999 NearArchive will return the newest object with the specified primary key value In each of these cases the archive date field on return from NearArchive will contain the actual archive date of the retrieved object The name of the temporary storage queue in which NearArchive will place the logical records from the retrieved object Note that any existing temporary storage queue with the same name will be automatically deleted 4 29 by NearArchive prior to creating the new queue Object start This field should contain a non negative binary position value which identifies the record number within the object at which retrieval is to start where 0 is the number of the first record in the object A value of 0 i
348. ery of a primary tape dataset Action None This message provides additional information concerning the error identified by message OTS13041 Refer to the description of that message for the action required OTS13043 NEW COPY OF DATASET RESTORED BUT NOT CATALOGED Explanation An attempt to catalog a restore primary tape volume failed The dataset has been restored but is not cataloged Execution of the utility is terminated This message is accompanied by message OTS13044 Action Review the system or job log for additional system messages regarding the error Take the appropriate corrective action and rerun the job If no apparent cause for the error can be determined contact your NearArchive product support representative OTS13044 THE ORIGINAL COPY OF THIS DATASET IS STILL CATALOGED Explanation This message accompanies message OTS13043 when recataloging of a restored primary dataset has failed Action None This message provides additional information concerning the error identified by message OTS13043 ASM for S 390 v2 5 User Manual 8 100 Refer to the description of that message for the action required OTS13045 ERROR PROCESSING RECOVERY CONTROL SECTIONS RCS Explanation An error has occurred processing recovery control information in the NearArchive primary index file Execution of the utility is terminated Action Retain all information concerning the error condition and report the error to your
349. es Stand alone backup copies as described above will not be able to make use of these access and recovery procedures In addition the ability to retrieve data from such a copy via standard NearArchive retrieval processing is not guaranteed 5 2 3 2 Tape Dataset Recovery ASM for S 390 provides standard facilities for access and recovery of tape datasets within a NearArchive database in the following circumstances a loss of individual tape volume s through media failure mishandling loss etc b loss of an entire database through serious hardware failure or loss of data center a Media Failure Loss When an individual tape volume becomes unavailable for any reason the NearArchive database administrator should place the unavailable volume s in recovery status using the supplied TSO ISPF database maintenance dialogs To do this the sequence number or range of sequence numbers for the unavailable volume s should be entered on panel OTSN4401 This panel is accessed via option 1 of the recovery control panel OTSN4400 which ASM for S 390 v2 5 User Manual 5 16 in turn is accessed via option 4 from the main NearArchive menu panel OTSN4000 refer to chapter 3 for a description of the NearArchive database definition and maintenance facility The sequence number nnnnn of a database tape cartridge volume may be obtained from the low level qualifier Gnnnnn of the NearArchive tape dataset held on that vol
350. es internal queuing of requests Stalled request timeout value mins This gives the current value of the TIMEOUT parameter specifying the maximum number of minutes for which object retrieval requests are to remain in a stalled condition i e an indefinite wait on completion of an external event A stalled request will be rejected with a return code of 29 if it remains in this condition for the time interval specified in this parameter A new value may be entered in order to amend the active TIMEOUT value Valid entries must be numeric and in the range 0 1440 A value of 0 disables timeout processing The following keys may be used to control the operator interface procedure from this screen PF3 This will exit from the configuration amendment screen and cause the main operator interface menu to be re displayed ENTER This will process any changes made to either of the parameter values displayed on the screen Any invalid changes will be rejected and an error message will be displayed If no change to the displayed values has been made the existing values will be redisplayed 6 5 6 Exiting from operator interface processing On exiting from operator interface processing ASM for S 390 will normally clear the CICS screen and display completion message OTS26008 The requesting user will then be left in native CICS mode and may continue operation by entering any 4 character CICS transaction identifier ASM for S
351. es journal entries to the database s journal archive database The utility can produce historical analyses of archived journal entries The contents of the journal dataset are cleared after successful execution of the journal maintenance utility e OTASP080 the secondary index update utility The secondary index update utility is executed as the second phase in the two phase asynchronous secondary index update processing The first phase is executed during batch archival processing Asynchronous secondary index update processing is intended to reduce the amount of I O activity performed during execution of a NearArchive batch archival job thus improving job turnaround time All asynchronous updates are then performed in the most efficient manner by the utility thus minimizing the overall amount of I O activity required to process secondary index updates e OTASP110 the database backup utility The database backup utility is used to automatically create one or two full volume backup copies of each tape dataset which has been updated during a batch archival process The utility may alternatively be used to create an incremental backup dataset for each primary tape volume The incremental backup dataset will contain all objects which have been added to the primary tape volume since the previous execution of the utility This utility may also be used to create one or more disk K copy datasets from a primary tape volume All object
352. essful retrieval of a primary dataset the corresponding backup copy will no longer be used for retrieving NearArchive objects and may be returned to its normal location 7 8 5 Utility Processing Reports The following reports will be written by the database recovery utility to the SYSPRINT dataset e Recovery processing report This report will print details of each primary tape dataset re created during the recovery procedure and of each existing primary tape dataset which has been released and uncataloged during utility execution Error or warning messages generated during execution of the utility will be written to the recovery processing report All messages will have the message identifier OTS130xx where xx is a numeric value in the range 00 99 ASM for S 390 v2 5 User Manual 7 75 Refer to chapter 8 of this manual for a description of all messages issued by the database recovery utility 7 8 6 Utility Failure and Restart Considerations The NearArchive database recovery utility may be rerun as normal after failure or cancellation of a recovery process There are no dataset recovery requirements or any other special actions to be performed prior to rerunning the utility After successful recovery of a tape dataset it will be removed from recovery status in the appropriate storage level in the NearArchive database being processed All recovery processing for this dataset is then complete On rerunning the database
353. essing 22 disaster recovery 5 17 51 56 disaster recovery disable 57 disconnect database 42 disk block count 20 disk block identifier 20 disk compress threshold 17 26 disk copy 7 9 18 27 31 disk copy dataset recovery 60 62 disk dataset compression 17 20 22 26 disk dataset recovery 21 disk retention period 36 disk space release 19 distribution tape 4 Double Byte Character Set 5 drive retention 9 DTIMOUT 21 duplex 13 17 66 69 duplex backup 13 duplicate object 10 dynamic allocation 9 23 dynamic backout 8 41 Dynamic load balancing 14 18 E error information 3 esoteric 14 expiry date for tape dataset 15 F FCT 15 15 File Control Table 12 23 38 formatted index entry 3 14 19 22 G general purpose component messages 137 H HLQ 7 13 29 I ICRC 14 18 IEBGENER 16 Improved cartridge recording capability 18 index entry report 10 index print utility 6 input processing 10 21 input output processing 10 21 installation process 5 installation verification procedure 1 ISPF LIBDEF 9 IVP 1 32 batch archival 10 running batch JCL requirements 3 JOBLIB 12 23 journal archiving 10 45 dataset 11 12 27 38 48 maintenance 10 32 maintenance utility 21 40 maintenance utility messages 60 journal archive 29 32 database 27 40 50 journal record 49 L link pack area 7 logical record 7 33 logon procedure 8 loss of an entire tape database 16 loss of database 17 loss of individual tape volum
354. essing of the utility is terminated Action Refer to other available system information for additional information on the error condition which caused the failure Take the appropriate corrective action and restart the utility OTS07040 NEARARCHIVE JOURNAL MAINTENANCE UTILITY COMPLETED WITH RETURN CODE xx Explanation This informational message is issued when the journal maintenance utility has completed processing xx is the highest condition code encountered during program execution Action No action necessary ASM for S 390 v2 5 User Manual 8 68 8 9 Secondary Index Update Utility Messages OTS08000 NEARARCHIVE SECONDARDY INDEX UPDATE UTILITY COMPLETED WITH CONDITION CODE xx Explanation This informational message is issued when the secondary index update utility has completed processing xx is the highest condition code encountered during program execution Action No action necessary OTS08001 ERROR X xxyy RECEIVED OPENING FILE aaaaaaaa DATASET bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb Explanation An open error has occurred opening the VSAM file aaaaaaaa bbbbb bbbbb is the dataset name xx and yy are the return and reason codes from the VSAM open macro Processing is terminated Action Refer to IBM documentation for details of the VSAM return and reason codes Take the appropriate corrective action and rerun the job OTS08002 CONDITION CODE xx RETURN FROM INTERNAL SORT EXAMINE SYSOUT D
355. est which preceded the call If no write data request has yet been received by NearArchive after opening a database the identify secondary key call will be ignored 2 Multiple identify secondary key calls may be submitted contiguously to NearArchive Each call should specify a different secondary index identifier All contiguous calls will index the same NearArchive object identified by the primary key and archive date specified in the preceding write data request Each call will generate a secondary key entry in the appropriate secondary index 3 If a secondary key identified via this call has already been generated for the current NearArchive object either through automatic secondary index processing or through a previous type 14 request being received for that object then the call will be ignored and a return code of 00 generated No special action is required by the application program in these circumstances ASM for S 390 v2 5 User Manual D9 D 1 4 Request Code 15 Close Database This call is issued after all data has been archived to the database Failure to close the database properly at end of run will result in incorrect or missing index entries and will prevent the database from being opened normally during the next archival run The standard interface format is used for this request Interface parameters should be set as follows Request code Return code Supplementary code 1 Supplement
356. estart 8 restart connect 10 restart processing 9 11 41 retention period for tape dataset 15 retrieval priority 13 retrieve object record 21 23 S secondary index 5 11 12 28 secondary index add new definition 36 asynchronous update 4 11 dataset sizing 44 deletion identifier 34 secondary index update utility 21 secondary key 34 38 39 secondary key identification 35 secondary region 13 22 27 security 27 sequence number 16 54 sequential read 24 sequential retrieval 22 27 SIE 10 SMF 8 19 24 30 138 SMF batch retrieval 33 batch retrieval logging 11 SMF database section 141 SMF header section 139 SMF record format 138 SMF record descriptor section 140 MF record identifier 10 24 30 33 MF request section 142 MF timestamp 25 31 MP E 4 MPEACC 6 MPEAPP 6 MPEDEF 5 MPERCV 6 sort 35 space management dataset S S S S S S S S 11 12 15 stalled request 10 start position 37 start record number 6 status detail 23 STEPLIB 12 23 5 storage level 4 7 12 13 14 17 53 add new level 47 definition 12 identifier 28 45 update definition 46 supplementary index entries 25 supplementary index entry 10 SVC 7 29 30 SYSALLDA 8 system dataset sizing 25 system datasets 19 system file identification 22 System Management Facility 8 system security 5 system unit name 8 31 T tape block count 20 tape block identifier 20 tape capacity 60 tape dataset 1
357. estarting terminated tasks and or adding new tasks If the value of MAXDRIVE is to be decreased ASM for S 390 will terminate a number of existing tape reader tasks equal to the decrease in the value of MAXDRIVE These tasks will appear with the status TERM in any subsequent status display and will not be available for object recall processing Note that processing of this command may take a little time for significant changes in the value of MAXDRIVE MAXQLEN ASM for S 390 will alter the current setting of the MAXQLEN parameter to the value specified in the SET command MAXDISK ASM for S 390 will alter the current setting of the MAXDISK parameter in this NearArchive control region to the value specified in the SET command If the value of MAXDISK is to be increased ASM for S 390 will increase the number of initialized disk reader tasks by restarting terminated tasks and or adding new tasks If the value of MAXDISK is to be decreased ASM for S 390 will terminate a number of existing disk reader tasks equal to the decrease in the value of MAXDISK These tasks will appear with the status TERM in any ASM for S 390 v2 5 User Manual 6 16 subsequent status display and will not be available for object recall processing Note that processing of this command may take a little time for significant changes in the value of MAXDISK Refer to chapter 8 for a description of messages returned by the NearArchive CICS operator inter
358. et to YES or NO Action Examine the operand specified for the NEWTAPE parameter on the EXEC statement Correct the parameter and rerun the job ASM for S 390 v2 5 User Manual 8 53 OTS04018 ERROR X xxxx INFO X yyyy DYNAMICALLY DELETING DATASET aaaaaaaaaaaaaaaaaaaaaaaaaaa Explanation A dynamic allocation error has occurred during deletion of the identified K copy dataset Processing will continue Action Refer to IBM documentation on SVC99 processing for a description of the error and information codes Take any appropriate corrective action to ensure the error does not re occur The K copy dataset identified in the message has been released from the database but was not deleted by the utility This dataset should be manually deleted after the reason for the error has been determined OTS04019 ASYNCHRONOUS UPDATE FOR SECONDARY INDEX nn STILL OUTSTANDING Explanation An asynchronous update has been scheduled for secondary index nn during batch archival processing but the secondary index update utility OTASP080 has not been executed for that secondary index Execution of the utility is terminated Action Run the secondary index update utility OTASP080 using the asynchronous update dataset created during batch archival processing Refer to chapter 7 for details of the asynchronous secondary index update process The object management utility may be rerun following successful completion of
359. etrievals and will contain a copy of timestamp1 e Timestamp 3 this timestamp has no special significance for batch retrievals and will contain a copy of timestamp1 e Timestamp 4 the time that the first record in the object was passed back to the calling application ASM for S 390 v2 5 User Manual 5 25 This page is intentionally left blank ASM for S 390 v2 5 User Manual 5 26 CHAPTER 6 CICS Processing ASM for S 390 v2 5 User Manual This page is intentionally left blank ASM for S 390 v2 5 User Manual 6 2 ASM for S 390 provides a facility to enable online recall of archived data from CICS applications Recall requests are passed to ASM for S 390 from user application programs via a command level interface using the CICS LINK command This is intended to enable integration of ASM for S 390 tape recall processing into standard CICS application processing whether existing or planned to provide a comprehensive data enquiry system covering both standard and NearArchive databases ASM for S 390 will eliminate restrictions imposed by CICS File Control Program processing regarding support of tape datasets within the context of ASM for S 390 s own requirements Controls are provided within the design of the product to ensure that accessing tape files from within a CICS region has no general impact on CICS response times The performance of non ASM for S 390 functions in the same CICS address space will not be affect
360. eturn code 21 Maximum number of drives to be allocated This gives the current value of the MAXDRIVE parameter which specifies the maximum number of tape drives which the NearArchive control region will allocate simultaneously to satisfy online retrieval requests A new value may be entered in order to amend the active MAXDRIVE value Valid entries must be numeric and in the range 1 256 Note that any significant change in the value of this parameter may take a little time to be processed by ASM for S 390 Any request which causes the MAXDRIVE value to be exceeded will be rejected by ASM for S 390 with return code 21 ASM for S 390 v2 5 User Manual 6 27 Maximum number of disk reader tasks This gives the current value of the MAXDISK parameter which specifies the maximum number disk reader tasks which the NearArchive control region will initialize to satisfy online retrieval requests A new value may be entered in order to amend the active MAXDISK value Valid entries must be numeric and in the range 1 256 This parameter controls the number of disk object retrieval requests which ASM for S 390 will process simultaneously If all disk reader tasks are busy any new disk retrieval request will be passed to the reader task which has the shortest request queue This process will balance the length of the request queues for all disk reader tasks and ensure optimum object retrieval performance Retrieved object retention period
361. eve logical record 3 W02 SUPP CODE1 2 sequential read request ASM for S 390 v2 5 User Manual B 15 4 W02 KEY POINTER Contains a pointer to a field containing the primary key of the NearArchive object to be processed NearArchive will copy the primary key of the retrieved object to the field addressed by this pointer value after processing of the request Note that the primary key field itself must be defined in the program linkage section Refer to program OTASC200 in the distributed NearArchive sample code library for an example of this usage 5 W02 DATA LENGTH The maximum record length allowed 6 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have one or two supplementary codes set in fields 1 and 2 A return code of 00 indicates that a record has been successfully retrieved from the NearArchive database The primary key and archive date fields in the parameter area will identify the NearArchive object of which the retrieved logical record is a component part A return code of 30 indicates that all objects in the database have been processed end of database condition Issuing another sequential retrieval request will cause the first object in the NearArchive database to be processed 7 W02 DATA is the field in the parameter block which contains the data recor
362. evice type mismatch between the primary input volume and the primary or duplex backup volume xxxx and yyyy identify the input and output tape device types respectively If the input device type is a 3490 and the output device type a 3590 a condition code of 4 will be generated and processing will continue normally Otherwise execution of the utility will be terminated Action Due to differences in block identification structure a 3490 format tape volume may not be used as backup for a 3590 format tape volume If this condition has occurred ensure that volumes of the same device type are used for tape input and output and rerun the job A 3590 format tape volume may be used as backup for a 3490 format volume but performance may be degraded significantly when retrieving objects directly from the backup volume when the primary volume has been placed in recovery status To avoid this condition ensure that volumes of the same device type are used for tape input and output ASM for S 390 v2 5 User Manual 8 80 OTS11029 CAPACITY MISMATCH OUTPUT DUPLEX xx GB VOLUME HAS LESS CAPACITY THAN INPUT yy GB VOLUME Explanation There is a volume capacity mismatch between the primary input volume and the primary or duplex backup volume xx and yy identify the input and output tape volume capacities respectively If the NODEVCHECK execution parameter is specified a condition code of 4 will be generated and pro
363. face facility Refer to section 2 8 6 for information on usage of the CICS control region initialization parameters Examples OT26 S MAXDRIVE 8 OT26 S MAXOLEN 8 OT26 S MAXDISK 16 6 5 2 Invoking the Operator Interface in Full Screen Processing Mode To invoke the operator interface in full screen processing mode it is necessary to sign on to the CICS system being used as the NearArchive control region After successfully signing on enter the transaction identifier OT26 in the top left hand corner of the screen The main NearArchive operator interface menu will then be displayed as below ASM for S 390 v2 5 User Manual 6 17 NearArchive V2 5 YYYY MM DD Online Retrieval Configuration ERMID tttt ERID uuuuuuuu Display tape retrieval status summary Display tape retrieval status detail Display disk retrieval status summary Display disk retrieval status detail Alter configuration OTS26000 SELECT OPTION AND PRE PF3 end Enter the option which corresponds to the function which it is wished to invoke Option 1 This will display a formatted summary of all currently initialized NearArchive tape reader tasks A selection column will allow individual tasks to be selected for processing Option 2 This provides a formatted detail display of an individual NearArchive tape reader task On entry to this option tape reader task 1 will be automatically se
364. fe support is not enabled for the primary or duplex dataset a subsequent database connect request for restart output processing access code 6 will cause the NearArchive tape dataset to be positioned at the point at which this commit call was issued for sequential addition of data records to the database This means that all records added after this commit call i e uncommitted records will be overwritten on tape storage and index entries re used see chapter 5 for a description of database recovery and restart processing If Volsafe support has been enabled for the primary or duplex dataset restart output processing will cause the tape dataset to be positioned at the volume trailer label for sequential addition of data records to the database Uncommitted data on the Volsafe volume will not be overwritten but will be ignored by ASM for S 390 and will not be accessible via the ASM for S 390 API 2 If the NearArchive dynamic backout facility is enabled if Volsafe support is not enabled for the primary or duplex dataset NearArchive will reposition to the commit block on the tape dataset being updated when the last successful commit request was processed and write an end of file label when a disconnect without commit request is received The next database connect request for output access will cause update of the NearArchive database to continue from that point Space occupied by uncommitted objects will be re used NearArchi
365. fe tape volumes storage occupied by objects which had been physically written to tape prior to the point of failure during the previous archival run will now be physically overwritten with newly archived objects In addition index entries for uncommitted objects which had been created during the failed run will be re used when the same objects are re archived during restart processing This is in contrast to ASM for S 390 processing after a normal open request where requests to archive an object will be rejected with a return code 17 if an index entry already exists for that object duplicate object condition Note that index entries will only be re used when uncommitted objects are re archived after failure when the primary key and archive date of an object are identical in both runs If it is possible that an archive date of an object may be different in the restart run from that used in the failed run e g archive date is set equal to system run date then the archive over ride date facility may be used to ensure that the dates remain the same This facility is invoked with the restart update connect request access code 6 and informs NearArchive that the over ride date present in the database name list passed with the connect request should be used in preference to the archive date presented in a write request request code 44 Refer to section 4 3 1 for more details on this facility ASM for S 390 v2 5 User Man
366. for the utility OTS01010 STARTKEY PARAMETER IS HIGHER THAN ENDKEY Explanation Action The primary key value specified in the STARTKEY parameter is greater than that specified in the ENDKEY parameter This is an invalid condition Execution of the utility is terminated Correct the invalid parameter entry and rerun the job Refer to section 7 1 for a description of the execution parameters which may be specified for the utility OTS01098 UNABLE TO OPEN SYSPRINT DATASET Explanation Action An error has occurred opening the SYSPRINT dataset Refer to other available system messages to discover the cause of the open failure Correct the error and resubmit the job ASM for S 390 v2 5 User Manual 8 25 8 4 Tape Scan Utility Messages OTS02000 NEARARCHIVE TAPE SCAN UTILITY COMPLETED WITH CONDITION CODE xx Explanation This informational message is issued when the tape scan utility has completed processing xx is the highest condition code encountered during this execution Action No action necessary OTS02001 ERROR X xxyy RECEIVED OPENING FILE aaaaaaaa DATASET bbbb bbbb Explanation A VSAM open error has occurred when opening the identified NearArchive dataset xx and yy are the hexadecimal error and reason codes returned from the VSAM OPEN macro aaaaaaaa is the DD name associated with the file and bbbb bbbb is the name of the VSAM dataset Processing is terminated
367. formation codes Take the appropriate corrective action and rerun the job OTS03210 MORE THAN TWO STORAGE LEVELS DEFINED IN DATABASE REGRESSION CANNOT BE PERFORMED Explanation Additional storage levels above the maximum of 2 supported by earlier releases of the product have been defined in the database being regressed Regression processing cannot be performed on this database Action Restore the database to its state prior to definition of the new storage groups and rerun the regression job Any changes made to the database since the new storage groups were added will be lost ASM for S 390 v2 5 User Manual 8 47 OTS03216 NEARARCHIVE DATABASE REGRESSION UTILITY HAS BEEN TERMINATED IN RESPONSE TO OPERATOR REQUEST Explanation Execution of the utility has been terminated after input of an operator STOP command Action None This is an informational message OTS03217 IDCAMS ERROR RETURN CODE xx REVIEW JOBLOG AND OR OTASIDCO OUTPUT FILE FOR ERROR MESSAGES Explanation An error has occurred during execution of the utility when deleting defining or renaming a NearArchive VSAM dataset xx gives the condition code returned from the internal IDCAMS call Action Refer to the print report issued by IDCAMS in file OTASIDCO for a description of the error Take the appropriate corrective action and rerun the job OTS03218 ERROR X xxxx INFO X yyyy DYNAMICALLY DELETING DATASET 222z 2ZZZ Explanat
368. from a designated backup copy when a resource unavailable condition has been detected i e in conditions when ASM for S 390 would generate a return code of 21 if dynamic load balancing is not enabled refer to the description of return code 21 in section 8 2 for a list of these conditions If the 3 14 Retention period Expiry date Volsafe enabled ASM for S 390 v2 5 User Manual retry request subsequently fails with the same condition ASM for S 390 will generate a return code of 21 as normal To enable dynamic load balancing enter the identifier of the database copy to be used for automatic retry of the retrieval request B C or D Note that for performance reasons the database copy specified here should be available for automated processing To disable dynamic load balancing enter N This is the default value Optional entry Enter the number of days in the range 1 9999 to be assigned to the retention period for each new tape dataset created in the NearArchive database Enter 0 the default value if no explicit retention period is to be assigned by NearArchive Optional entry Enter the expiry date to be set for each new tape dataset created in the NearArchive database in the format YY DDD 20 century dates only or YYYY DDD Enter blanks the default value if no explicit expiry date is to be assigned by ASM for S 390 Retention period or ex
369. g Care should be taken to ensure that any restart dataset supplied in the JCL used to execute the utility is uniquely assigned to the database being processed If this DD entry is omitted the utility will dynamically allocate a disk dataset called hlq RECYCLE where hlq is the high level qualifier defined for the database being processed This dataset will be allocated using the system unit name defined for the NearArchive database being processed and will have a blocksize of 2400 bytes and primary and secondary allocation values of 1 block each A dynamically created dataset will be automatically deleted at successful completion of database maintenance processing 7 3 3 Condition Codes OTASP030 will set a condition code on completion This code may take the following values ASM for S 390 v2 5 User Manual 7 24 0 the utility has been executed successfully 4 a warning condition has been encountered during processing of the utility but execution of the utility continued A warning message will have been written to the SYSPRINT dataset 8 an error condition has been encountered during processing of the utility but execution of the utility continued An error message will have been written to the SYSPRINT dataset 12 a serious error has occurred during processing of the utility Execution of the utility has been terminated An error message will have been written to the SYSPRINT dataset 7 3 4 Running the Utility
370. g the error press PF1 To obtain help information regarding panel definition Optional entry Enter Y to enable SMF logging during object retrieval processing from batch application programs Enter N to disable SMF logging for batch retrievals A value of Y will only be accepted if the SMF record identifier is non zero If omitted a value of N is used for this entry Optional entry Enter Y to enable SMF logging during object retrieval processing from CICS application programs Enter N to disable SMF logging for CICS retrievals A value of Y will only be accepted if the SMF record identifier is non zero If omitted a value of N is used for this entry entries press PF1 once more When all entries have been accepted the storage level definition panel OTSN4301 will be displayed to allow storage level 0 to be defined for the NearArchive database ASM for S 390 v2 5 User Manual 3 11 OTSN4301 NearArchive V2 5 Storage Level Definition COMMAND gt Primary index name gt OTAS V2R5 IVP INDE Storage level gt Database blocksize Maximum blockcount per volume Unit name for scratch allocn Tape usage options ICRC Dynamic load balancing Volsaf nabled A D b maintenance options Recycle threshol AUTOUNCAT during recycl tion period gt Expiry date gt Duplexing options Duplex during archival gt _ Duplex during b
371. g the Operator Interface in Line Entry Processing Mode To invoke the operator interface in line entry processing mode it is necessary to sign on to the CICS system being used as the NearArchive control region After successfully signing on enter the transaction identifier 0T26 in the top left hand corner of the screen followed by the operator interface command as described below The command may be separated from the transaction identifier by zero or more spaces The total length of the transaction identifier and command cannot exceed 80 characters The following commands may be entered SET The SET command is used to alter the current values of the NearArchive MAXDRIVE MAXQLEN and MAXDISK parameters The command may be abbreviated to the single character S nnn must consist of 1 3 numeric digits in the range 1 256 ASM for S 390 v2 5 User Manual 6 15 The values of MAXDRIVE MAXQLEN and MAXDISK are initially set during NearArchive control region initialization from the corresponding parameters in the OTASS100 file in the CICS start up deck or from defaults if OTASS100 is not present Valid parameters for the SET command are MAXDRIVE ASM for S 390 will alter the current setting of the MAXDRIVE parameter in this NearArchive control region to the value specified in the SET command If the value of MAXDRIVE is to be increased ASM for S 390 will increase the number of initialized tape reader tasks by r
372. ge level in the database No other additional disk dataset usage is required for multiple storage level support Storage levels within a NearArchive database are defined using the NearArchive database administration facility in TSO ISPF Each storage level is defined individually enabling separate control of capacity and performance requirements by storage level For example data in storage level 0 may be held on half filled 18 track tapes while data in storage level 1 may be held on completely filled 36 track tapes Objects may be automatically migrated between any one storage level and any higher storage level number using the NearArchive object management utility eg directly from SLO to SL7 Object migration is controlled by the NearArchive database administrator on the basis of age of object In this way objects may reside in storage level 0 for the first period of their life in the NearArchive database giving improved retrieval performance and then be migrated to one or more higher storage levels for the remainder of their existence giving successively higher density storage with successively reduced retrieval performance The NearArchive database administrator may optionally define a retention period for objects within a NearArchive database When this retention period is exceeded for an object it will be automatically deleted by the NearArchive object management utility Index space occupied by deleted objects will be automa
373. get storage level will be migrated from source to target storage level Disk copy retention period in the storage level definition panel OTSN4301 or storage level amendment panel OTSN4231 The length of time in days for which a disk copy of objects is to be retained in any particular database storage level should be entered in this field The object management utility uses these values to identify objects for which disk copies are to be deleted Entering a disk copy retention period value of 0 days the default setting will suppress deletion of disk copies of objects These copies will be automatically deleted when the object itself is deleted after exceeding the database s data retention period or when the primary tape copy of the object is recycled Note that objects which are eligible for both migration and expiration will be expired by the object management utility Refer to chapter 3 for a description of NearArchive database definition and maintenance procedures ASM for S 390 v2 5 User Manual 7 36 If objects have been selected for migration during execution of the object management utility then the NearArchive database backup utility OTASP110 should be executed after completion of the utility This will create one or two backup copies of each target storage level tape volume created or updated during execution of the utility Note that objects will only be selected for migration when the INLEVEL and OUTLEVEL execu
374. h an earlier version of the product must be converted for use with the current release via the NearArchive database administration facility in TSO ISPF Refer to section 3 5 of this manual for a description of this procedure OTS03009 UNABLE TO READ STORAGE LEVEL RECORD RETURN CODE X xx FEEDBACK X yyyyyyyy Explanation An error has occurred reading storage level control information from the NearArchive database primary index dataset xx and yyyyyyyy are the hexadecimal return and reason codes returned from the VSAM GET macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job OTS03010 UNABLE TO FREEMAIN STORAGE LABEL aaaaaaaa RETURN CODE X xxxxxxxx ADDRESS X bbbbbbbb LENGTH X ccccccce Explanation An error occurred when the utility attempted to release a previously allocated main storage area xxxxxxxx is the return code from the FREEMAIN macro ASM for S 390 v2 5 User Manual 8 31 Action Refer to IBM documentation for a description of the FREEMAIN return code If no cause of the error can be found contact your NearArchive product support representative OTS03011 WRITE ERROR ON OTASV120 RETURN CODE X xx REASON CODE X yyyyyyyy Explanation An error occurred when writing a record to the NearArchive database s space management dataset xx and yyyyyyyy are the
375. h archival or retrieval processing is at a pre v2 5 level Action The database must be converted for use with this release of the product using the database conversion process in the data administration procedure under TSO ISFP Refer to chapter 3 of this manual for a description of this process 92 loc id R15 Failure trying to acquire virtual storage or index record full when converting pre v2 5 index entry For batch applications supp code 2 gives the return code received from the GETMAIN macro Supp code 2 will always be 8 if an index entry conversion error has occurred For CICS applications the error occurred because insufficient storage was available in the CICS Dynamic Storage Area Action For batch applications if a pre v2 5 index is being processed then it is likely that a pre v2 5 index entry record is being converted and that the number of objects archived for the primary key now exceeds the maximum allowed Refer to section 3 1 4 for information on main index entry sizing Where possible expire aged objects from the database to reduce the number of index sub records and re archive the object ASM for S 390 v2 5 User Manual 8 17 code code 1 code 2 If this condition is not true refer to IBM system macro documentation for a description of the GETMAIN return code If there is insufficient storage to satisfy the request specify a larger REGION size and rerun the job For CICS applications
376. h one tape access operation For DBCS customers the primary and secondary keys should include all shift control bytes to avoid problems when printing reports Pass each logical record sequentially to NearArchive for insertion in the NearArchive database via NearArchive write record call see section 4 3 Each logical record belonging to the same NearArchive object should be identified by the same primary key and archive date e All logical records belonging to the same NearArchive object should be passed to NearArchive in one contiguous sequence NearArchive will use a change of primary key and or date in the call interface parameters to identify that all records belonging to a single NearArchive object have been passed by the application When all objects to be archived have been written to the NearArchive database the application should disconnect the database This commits all changes to the database Termination of application processing without disconnecting a database will prevent the database being opened for normal processing by any application In these circumstances an application must issue a rerun connect request before being able to add data to that NearArchive database Figure 5 2 illustrates the standard application logic flow required to archive data to a NearArchive database ASM for S 390 v2 5 User Manual 5 7 IDENTIFY data to be archived More data WRITE record to database
377. has occurred dynamically allocating a dataset and processing of the utility has been terminated Messages OTS11024 and OTS11025 are issued for problem determination purposes Some or all of the following operands may appear eecccccc DDname of the dataset being processed dddd dddd name of the dataset being processed eeee the dynamic allocation information code ffff he dynamic allocation error code Action Refer to IBM documentation on dynamic allocation processing for a description of the error and information codes Take the appropriate corrective action and restart the job OTS11026 END OF TAPE ON OUTPUT DUPLEX FILE Explanation An end of volume condition has occurred on a backup tape dataset This condition indicates that the backup ASM for S 390 v2 5 User Manual 8 79 tape volume had less capacity than the primary copy being backed up Processing of the utility is terminated Action Rerun the utility ensuring that the scratch tape volume used for the backup copy is of sufficient capacity to hold all the data contained on the corresponding primary tape dataset copy There are no special restart requirements Backup tape datasets created during the failed run will be automatically uncataloged during the rerun and new tape volumes used for backing the primary tape dataset s OTS11028 UNIT TYPE MISMATCH INPUT DEVICE TYPE IS xxxx AND OUTPUT DUPLEX DEVICE TYPE IS xxxx Explanation There is a d
378. hat the threshold applies to individual disk copy datasets and not to globally to all disk copy datasets associated with a single primary tape dataset Disk copy datasets are treated individually for purposes of compression processing If omitted a default value of 0 is used for this entry i e disk dataset compression disabled Optional entry Enter Y if duplex C copies of a NearArchive tape dataset are to be produced in addition to primary A copies during batch archival processing Enter N if no duplex copies are to be created during batch archival If omitted a default value of N is used for this entry Optional entry Enter Y if duplex full volume backup D copies of a NearArchive tape dataset are to be produced in addition to primary full volume backup B copies during default execution of the NearArchive database backup utility OTASP110 in full volume backup mode An entry of Y in this field also indicates to the backup utility that duplex incremental backup J copy datasets should be produced in addition to primary incremental backup I copy datasets when the utility is executing in incremental backup mode Enter N if no duplex backup copies full volume or incremental are to be created during database backup processing If omitted a default value of 3 17 Disk copy options Unit name Retention Release unused space ASM for S 390 v2 5 User Manual N i
379. he contents of this field may not be amended Mandatory entry Enter the blocksize to be used by ASM for S 390 when creating tape or disk datasets for storage level 0 in this NearArchive database This should be a numeric value the range 9 32760 As ASM for S 390 does not support spanned records the blocksize entered here should not be less than the size of the largest logical record to be written in any NearArchive object Optional entry Enter the maximum number of blocks of blocksize as entered in the previous field which are to be written to each tape cartridge volume in storage level 0 of the NearArchive database This should be a numeric value in the range 0 9999999 Enter a value of 0 to indicate that maximum blockcount processing is not to be enabled In this case ASM for S 390 will fill tape cartridge volumes in this storage level to capacity Restricting the number of blocks written to each volume will enable control over the average time taken to locate any tape block during retrieval processing Reducing the maximum block count will improve ASM for S 390 data retrieval response times If this entry is omitted a value of 0 is used i e fill tape cartridge volumes to capacity Values entered in these four fields are used by ASM for S 390 when dynamically allocating primary or backup copies of new tape datasets in storage level 0 in this NearArchive database An entry for the A copy is mandatory Entries for th
380. he product distribution library see installation instructions for a discussion of this consideration ASM for S 390 v2 5 User Manual 8 107 OTS23009 NO INITIALIZED DATABASE IN THIS SYSTEM AT THE CORRECT RELEASE LEVEL Explanation Action No database index has been found in the CICS File Control Table FCT for a version 2 5 database Initialization processing is terminated unsuccessfully Check that FCT entries and JCL are correct If necessary convert any pre version 2 5 databases which may already be defined in the FCT to the correct format using the database conversion procedure in the NearArchive database administration dialog in TSO ISPF Refer to chapter 3 of this manual for information on this procedure OTS23010 DATABASE INDEX NOT OPEN Explanation Action No opened NearArchive database index has been found in this region Ensure that the FILSTAT parameter on the FCT entry for the database index is correctly coded OTS23011 RETURN ERROR xxxx FOR ORCB ALLOCATION Explanation Action Allocation of a NearArchive request control block in the OS 390 CSA has failed See description of message OTS23007 for a list of possible codes Follow actions outlined in message OTS23007 8 16 Online Parameter File OTASS100 Processor Messages OTS23200 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Explanation Action This message displays card images from the OTASS100 dataset processed
381. he VSAM datasets specified above may be found in chapter 3 of this manual Each NearArchive database may consist of up to eight storage levels these are referred to throughout this manual as storage level 0 SLO to storage level 7 SL7 Data in each storage level is held in a series of single volume sequential tape datasets A maximum of 65535 datasets and consequently 65535 tape cartridge volumes may be present in each storage level The amount of data held for each volume within a storage level may be restricted via the NearArchive database administration facility Alternatively the full capacity of a volume may be used if required ASM for S 390 includes support for use of Sun Oracle s 3480 3490 3490E and 3590 compatible devices and RedWood 9840 and 9940 high capacity tape devices Support is also provided for Sun Oracle s Volsafe tape data protection feature Each tape dataset in a database storage level may have up to 256 corresponding sequential disk datasets if disk copy processing is enabled for that storage level The size of each disk dataset is controlled via the storage level definition procedure using the NearArchive ISPF database administration application Disk copies of tape resident objects may optionally be retained for a customer designated period of time after objects are first archived in a database storage level ASM for S 390 v2 5 User Manual 1 7 A space management dataset will exist for each stora
382. he calling application For CICS applications formatted entries are returned in the auxiliary temporary storage queue TSQ specified in the call interface parameter area One item will be present in the TSQ for each index entry which satisfied the query Formatted index entries will be held in the TSQ in the sequence requested by the calling application An extended query interface has been introduced with version 2 5 This interface will return additional index information for an archived object or may be used to return the serial number s of the tape volume s on which the object is stored Invocation of the existing compact interface extended interface or volume serial number query is controlled via the contents of the supplementary code 1 field in the interface ASM for S 390 v2 5 User Manual 4 14 Call parameters should be set as follows Request code Return code Supplementary code 1 Supplementary code 2 ASM for S 390 v2 5 User Manual This must be set to the value 41 for all database index query requests Not used on entry to NearArchive This field will contain a 2 character numeric value on return from NearArchive indicating the result of the call Refer to chapter 8 of the manual for a description of all possible return codes On entry identifies the type of query as follows 0 query primary index compact format nn query secondary index nn compact format 100 query primary i
383. he database being accessed then the database journal file must be available for output processing by the CICS application This file will have a CICS File Control Table entry name of OJRNxxxx where xxxx is the database name specified in the NearArchive call parameters see section 2 8 4 for a description of CICS table entry requirements A return code of 89 and supplementary code 1 value ASM for S 390 v2 5 User Manual 4 38 of X 0300 will be set by NearArchive in response to a deletion request for a database whose journal file is not available for output processing 3 After successful deletion a NearArchive object will no longer be available for retrieval Space used by a deleted object s primary and secondary index entries will be reclaimed during execution of the NearArchive object management utility OTASP040 Tape and disk space used by the deleted object s logical records will be reclaimed during execution of the NearArchive database maintenance utility OTASP030 4 3 8 Request Code 48 Commit Updates This call is used by a batch or TSO application to commit all updates to a NearArchive database which has been connected for output processing The commit request will write a commit block to the tape dataset in current use Tape update processing will restart from this physical location when an incomplete database archival process is resumed Call parameters should be set as follows Request code Return
384. he event of loss of individual tape volumes from within the database or loss of the entire database In full volume backup mode this is achieved via the B and D copy unit name fields when creating or updating a database during database administration processing in TSO ISPF In incremental backup mode this is achieved as described for full volume backups or optionally via the UNITPRI and UNITDUP execution parameters Note that each storage level in a NearArchive database has separate controls for duplexing of data during archival and backup e The following disk copy options in the storage level definition panel OTSN4301 or amendment panel OTSN4231 should be set as required if creating or re creating disk copy datasets COPY K specified in the EXEC parameters e The retention period parameter will control the disk dataset creation process Only objects which are eligible for disk residency based on object age and the value of the disk copy retention parameter will be copied to disk e The primary and secondary dataset allocation values and the maximum blockcount field should be set as required These parameters will govern the size of each disk copy dataset and hence the number of disk copy datasets created per primary tape copy dataset A maximum of 256 disk copy dataset may exist per primary tape dataset The utility will close a disk dataset and create a new disk copy dataset if the disk datase
385. he selected task The task detail screen for that task is then displayed on the screen This is an identical display to that provided by option 2 for tape reader tasks or option 4 for disk reader tasks from the main menu P This is used to purge the selected task The request will be rejected if the selected task is uninitialized or terminated or if a purge request is already active for that task For waiting tasks ASM for S 390 will purge the task before returning control to the operator The MAXDRIVE count for tape reader tasks or MAXDISK count for disk reader tasks will be reduced by 1 after successfully purging a task For busy tasks ASM for S 390 will queue a purge request then return control to the operator Any outstanding requests being processed by that task will be allowed to complete before the task is purged The MAXDRIVE count for tape reader tasks ASM for S 390 v2 5 User Manual 6 22 or MAXDISK count for disk reader tasks will be reduced by 1 when the task is eventually purged The last two characters of the task status field on the summary display will contain the value SH to indicate that a purge request has been queued F This is used to force purge a task when a normal purge request has not been successful A force purge will only be allowed after a normal purge of a busy task has been requested and will terminate the task immediately Outstanding requests will not be allowed to complete but will
386. he volume it requires may be mounted 6 3 3 Concurrent Retrievals Same Tape Cartridge Volume If more than one concurrent request for data retrieval from one particular tape cartridge volume is required ASM for S 390 will queue the requests in the order received up to the limit specified by the active value of the MAXQLEN control parameter The value of MAXQLEN is established during NearArchive control region initialization processing from the MAXQLEN parameter in the OTASS100 parameter file It may subsequently be amended via the NearArchive CICS operator interface function See section 6 5 for details of the NearArchive CICS operator interface On receiving a retrieval request ASM for S 390 first of all identifies the tape cartridge volume containing the requested data The status of all retrieval tasks in the system is then examined to check if the required tape cartridge volume is currently mounted If not then a request is issued to a free retrieval task which then allocates and processes the tape cartridge If no free task is available an archiving busy condition is set return code 21 If the required tape cartridge volume is currently being processed a new request element is added to the retrieval task request queue The length of this queue is limited by the active value of the MAXQLEN parameter Any request above this maximum will generate an archiving busy condition return code 21 The second an
387. hive database from the backup copy whose identifier was specified by the database administrator when enabling disaster recovery This means that all such copies should be available for access during disaster recovery processing preferably using automated cartridge handling facilities ASM for S 390 v2 5 User Manual 5 17 If necessary all primary volumes in the database may be recovered using the NearArchive database recovery utility OTASP130 see section 7 6 for a description of this utility When a database has been fully recovered i e all primary tape datasets restored the disaster recovery option may be unset using the NearArchive database maintenance dialogs All subsequent retrievals will then be satisfied from the restored primary dataset copies Archival of data to a NearArchive database should be suspended while it is in disaster recovery status Data archival procedures may be resumed when all primary dataset copies have been restored and the disaster recovery option has been unset 5 2 3 3 Disk Dataset Backup and Recovery Backup of sequential disk K copy datasets if K copy processing has been enabled for a database storage level is not required These datasets are themselves copies partial or full of their corresponding primary tape dataset Loss of a disk dataset will not affect object access processing in these circumstances ASM for S 390 will continue with object retrieval processing from tape
388. hive object Logical records will be held in the temporary storage queue in the same sequence in which they are stored physically in the database this is the sequence in which they were passed to NearArchive when stored in the database Call parameters should be set as follows Request code This must be set to the value 43 for all read complete object requests Return code Not used on entry to NearArchive This field will contain a 2 character numeric value on return from NearArchive indicating the result of the call Refer to chapter 8 of the manual for a description of all possible return codes Supplementary On entry used to identify the type of temporary code 1 storagequeue to be used to hold the retrieved NearArchive object 0 auxiliary temporary storage queue l1 main temporary storage queue On exit this field may contain a value giving additional information after an exception ASM for S 390 v2 5 User Manual 4 28 Supplementary code 2 Database name Primary key pointer Object archive date TSQ name ASM for S 390 v2 5 User Manual condition On entry indicates the priority to be given to the retrieval request This must be a binary value in the range 0 9 where 0 is the lowest priority and 9 is the highest On return may contain additional information after an exception condition Name of database to be accessed This four character identifier should specify the last four charact
389. hronous secondary index updates to that database have been completed successfully If no OTnnxxxx for secondary index nn is supplied in the JCL all updates to that secondary index will be performed synchronously during archival processing This is the default process No further ASM for S 390 v2 5 User Manual 5 4 action is required following successful completion of the archival process All updates to the appropriate secondary index will have been performed successfully at this time Remaining JCL requirements are merely those needed for running the program which invokes NearArchive services Note that all tape datasets are dynamically allocated by NearArchive and do not therefore require any JCL DD statements 5 1 2 Controlling Access to a NearArchive Database ASM for S 390 uses standard OS 390 macros to process a NearArchive database and consequently access to a NearArchive database for object archival or retrieval may be controlled by a system security software product such as RACF To protect access to a NearArchive database at this level security administrators should code a generic dataset protection rule using the high level qualifier of the dataset name as specified at database initialization time to control access to the database Batch jobs which store or delete objects in a NearArchive database should be given UPDATE access authority to the appropriate dataset profile Jobs which retrieve objects from a Nea
390. iate corrective action and restart the job OTS11005 DATASET NAME aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa IS TOO LONG Explanation The name of a NearArchive tape dataset in file OTASBKUP exceeds 41 characters Processing is terminated Action The NearArchive backup utility cannot process primary tape datasets which have more than 41 characters in the ASM for S 390 v2 5 User Manual 8 75 dataset name This error should not occur during normal NearArchive processing Check that the correct OTASBKUP dataset has been supplied in the JCL used to run the utility If no apparent cause of the error can be detected contact your NearArchive product support representative OTS11006 OTASV100 IS A PRE VERSION 2 5 DATABASE PROCESSING IS TERMINATED Explanation The database whose primary index is specified in the OTASV100 DD JCL statement has not been converted for use with version 2 5 of NearArchive The utility cannot process this database Action Ensure that the correct primary index name has been specified in the OTASV100 DD JCL statement If it is ensure that the database has been successfully converted for use with version 2 5 of the product before rerunning the job Refer to section 3 5 for information on database conversion processing OTS11009 READ ERROR FILE aaaaaaaa RETURN CODE X xx REASON CODE X yyyyyyyy Explanation An error has occurred reading a main index entry record from the NearArchive database s primar
391. ich the objects are being stored These disk copies will exist in addition to the normal tape copies this means that the primary copy of each object in a database will always be held on tape irrespective of whether a disk copy of that object exists or not Batch and online object retrieval processing will always select the disk copy of an object for retrieval if one exists If no disk copy exists an object will be retrieved from tape as normal If any error is encountered during retrieval of the disk copy of an object ASM for S 390 will automatically switch to retrieval of the tape copy ASM for S 390 v2 5 User Manual 1 9 Disk copies of objects are retained for a customer designated period of time after first storage in a database storage level They will be deleted during the next execution of the object management utility after the designated disk retention period has been exceeded Retrieval of objects subsequent to this time will then be satisfied from tape Disk K copy datasets will be deleted under the following conditions e all associated disk copy datasets will be deleted by the database maintenance utility when the corresponding primary A tape copy has been recycled e by the object management utility after all objects in a single disk K copy dataset have been deleted due to the retention period for disk copies of objects having been exceeded or due to the overall object retention period for the datab
392. ield containing the primary key of the object to be retrieved Note that the primary key field itself must be defined in the program linkage section Refer to program OTASC300 in the distributed NearArchive sample code library for an example of this usage W02 ARCHIVE DATE Archive date of the object to be retrieved in the format YYYYMMDD W02 TSQ NAME Name of temporary storage queue to contain the archived object retrieved by NearArchive 3 Link to NearArchive passing the parameter block in the COMMAREA 4 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have one or two supplementary codes set in reason code fields 1 and 2 ASM for S 390 v2 5 User Manual B 20 B 3 2 Query Database EARARCHIVE ERY CALL MOV PACES TO WO2 NEAR PARMS MOV EROS TO WO02 SUPP CODE1 WO02 SUPP CODE2 W02 OBJECT START W02 OBJECT REC COUNT WO2 DATA LENGTH 41 l O W02 REQUEST CODE CA SEC IN l O W02 SUPP CODE1 CA SORT SE l O W02 SUPP CODE2 TEST lO W02 DATABASE NAME CA SEC INDE 1 lO W02 SEC INDEX KEY TSQ NAME l O W02 TSQ NAME MOV MOV MOV MOV MOV MOV w A d d d d EXEC CICS LINK PROGRAM OTASP200 COMMAREA W02 NEAR PARMS LENGTH 64 NO
393. ieval request will cause repositioning in the NearArchive database on change of primary key or archive date Further direct requests which specify the same primary key and archive date will cause successive records to be retrieved from the identified object A return code of 30 will be set by NearArchive when all logical records for a NearArchive object have been retrieved 3 A sequential retrieval request will cause the next physical sequential record from the current position to be retrieved from the database The primary key and archive date of the NearArchive object to which the retrieved record belongs will be returned by NearArchive in the call parameter area 4 No indication is given by NearArchive that an object boundary has been crossed during sequential retrieval It is the responsibility of the calling application to identify a change of primary key or date in the returned parameter area to establish that an object boundary has been crossed ASM for S 390 v2 5 User Manual D 32 5 Current position for a sequential retrieval request may be established initially by a direct retrieval request The current position is updated during sequential retrieval processing Where no current position has been established prior to the first sequential retrieval request being received by NearArchive after a database has been opened the first active record in the lowest dataset sequence number in storage level 0 of the database will be return
394. ieve objects from NearArchive databases which have been archived separately and have separate indexes The database identifier is specified by the user in the call interface parameter area used when invoking ASM for S 390 from an application program Multiple database access is discussed in more detail in chapter 6 of this manual A primary index file and space management file must be defined in the control region file control table FCT for each database to be accessed from a CICS system The FCT entry names will have the format OTASxxxx and OSMOxxxx respectively where xxxx is the 4 character database name used by calling applications to identify the database from which retrieval is to be performed Additional control region FCT entries may be required for secondary indexes storage level 1 7 space management datasets and database journal dataset as required Note that no FCT entries are required for tape or sequential disk datasets accessed by ASM for S 390 during object retrieval processing 2 8 4 CICS Definitions for a NearArchive Control Region The following entries will be required in a CICS region that is to be initialized as a NearArchive control region Entries are supplied here using RDO Resource Definition Online formats The corresponding CICS table definition macros may be used as required Files RDO One group of entries per database is required Each entry name has the format Oyyyxxxx where yyy is the file
395. ified time interval has elapsed at which point it will be rejected with a resource unavailable condition This facility is controlled using the TAPEWAIT initialization parameter in the OTASS100 dataset ASM for S 390 will optionally record information about object retrieval requests to System Management Facility SMF datasets If enabled one SMF record is written for each CICS and or batch object retrieval request This information may be analyzed in order to produced appropriate statistics related to object retrieval processing e g distribution of tape retrieval requests during the online day patterns of user access to NearArchive databases and tape volumes average maximum response times etc This information may be of significance in assisting with the optimization of NearArchive object retrieval performance using the product and implementation features discussed in this section 1 6 NearArchive Utilities To assist in the control and maintenance of NearArchive database processing a number of batch utilities are supplied with the product Each of these utilities is intended to perform a specific function to ensure that data from a NearArchive database is always available for processing in the most efficient manner possible The supplied utilities consist of e OTASP010 the index print utility The index print utility OTASPO10 is a diagnostic aid which is intended for use when investigating problems associated with
396. ile used by the utility during tape recycle processing xxxxxxxx identifies the file The following information about the error condition will be present in the message a Job name b Step name c Device number d Device type e DD name f Operation attempted g Error description h Block number i Access method Execution of the utility will be terminated Action Review the error information in the message Take the appropriate corrective action and rerun the job If no apparent cause for the error can be determined contact your Oracle product support representative OTS03018 DYNALLOC ERROR REQ aa RC bb DD ccccccce DSN dddddddddddddddddddddddddddddddddddddddddddd VOL vvvvwvwv UNIT uuuuuuuu OTS03019 INF eeee ERR ffff SYSC g SYSD hhhhhhhh DEFER ii DISP jjkkll SPACE pppppp ssssss DCB mmmmmm nnnnnn 00 Explanation An error has occurred dynamically allocating a dataset and processing of the utility has been terminated Messages OTS03018 and OTS03019 are issued for problem determination purposes Some or all of the following operands may appear aa internal NearArchive request code bb internal NearArchive return code ASM for S 390 v2 5 User Manual 8 35 cecccccc DDname of the dataset being processed dddd dddd name of the dataset being processed vvvvvv serial number of the volume containing the dataset being processed uuuuuuuu the unit name of the device on which the
397. ility requires the specification of a backup copy identifier B C or D during disaster recovery enablement When enabled all database retrieval operations will be automatically performed by ASM for S 390 from the database copy identifier specified during this process Disabling disaster recovery will cause retrievals to be performed from the primary database copy as normal Recovery control processing is invoked by selecting option 4 recovery control from the main NearArchive database maintenance facility menu OTSN4000 and entering the name of the NearArchive database s primary index dataset The recovery control panel OTSN4400 will then be displayed This panel is illustrated in figure 3 14 OTSN4400 NearArchive V2 5 Recovery Control COMMAND gt Primary index name gt Option gt _ 1 Recover individual volume s 2 Set disaster recovery on 3 Unset disaster recovery For option 1 only Enter storage level in above database for which volume recovery is to be performed gt _ Fig 3 14 Recovery control panel OTSN4400 ASM for S 390 v2 5 User Manual 3 51 Select option 1 from this panel to invoke volume recovery or volume unavailable processing for a single tape sequence number or range of sequence numbers The storage level to be processed must also be entered on this panel Refer to section 4 7 1 for a description of tape dataset naming standards in a NearArchive database This
398. imum value for this parameter is 1 440 minutes 24 hours A value of 0 indicates that temporary storage queues containing retrieved objects are never automatically deleted by ASM for S 390 For non zero settings of the TSQDELETE parameter ASM for S 390 will satisfy an object retrieval request from CICS temporary storage if a queue containing that object already exists If the value of TSQDELETE is set to 0 all object retrieval requests will be satisfied from tape irrespective of whether the object has previously been retrieved to CICS temporary storage A default value of 1440 is used if this parameter is not specified 1 4 numeric digits in the range 0 1440 specifying the maximum number of minutes for which object retrieval requests are to be queued internally if there are insufficient resources available to immediately process the request The default value of 0 indicates that no internal queuing is to take place this will cause ASM for S 390 to immediately reject requests which cannot 2 25 be processed because of insufficient resources with a return code of 21 For non zero values a request which cannot be immediately processed will be queued internally until the necessary tape retrieval resources are available or until the request has been queued for longer than the time specified in this parameter at which point it will be rejected with a return code of 21 as above TIMEOUT 1 4 numeric digits
399. in general require re linking in order to run with the later release of ASM for S 390 However modification of an existing ASM for S 390 application in order to implement some of the new API facilities shipped with V2 5 of the product will require the version of OTASP100 distributed with this release to be linked into the calling program This will normally be done automatically after successful compilation of the modified application program 2 8 Online implementation ASM for S 390 runs under versions of CICS from 4 1 upwards This section details all the CICS table definitions and other considerations that are required for ASM for S 390 operation 2 8 1 NearArchive control region ASM for S 390 uses a single CICS control region to perform all object retrieval operations i e allocation and processing of NearArchive tape or sequential disk datasets as described in chapter 1 of this manual The internal limit to the number of tape drives that each NearArchive control region may allocate to satisfy simultaneous tape dataset retrieval operations is 256 however ASM for S 390 will obviously not be able to allocate more drives than are online to the host system User controls are provided via the MAXDRIVE system initialization parameter to enable users to limit the maximum number of drives which a NearArchive control region may allocate simultaneously An additional parameter MAXDISK is provided to set the number of disk rea
400. in the specified range will not be automatically closed and de allocated after all outstanding retrievals for that volume have been completed Tape cartridge volumes containing objects which fall into this category will thus remain open and mounted on the drive Tapes will be positioned directly after the last block retrieved Any subsequent retrieval request for data from that cartridge will merely require repositioning of the tape This will eliminate items a and b from the above search sequence and reduce online response times accordingly However when all drives are busy or loaded a retrieval request for a tape cartridge volume not currently mounted will require the dismount of a volume which has been left on the drive after completion of its last ASM for S 390 v2 5 User Manual 1 15 retrieval request as described above This will impose an additional delay on the time taken to retrieve data for the new request If automated tape processing is not available recall should be limited to batch processing systems Note however that the requests for recall may still be made from an online system via the online submission of batch retrieval jobs Output from these jobs may be sent to the JES2 spool for output on the main system printer or any remote JES2 printer or may be sent to a CICS print management facility if such a system is available In this latter case the output may then be viewed or printed by the online user via facili
401. ined storage area containing the parameter interface block used for communication between ASM for S 390 and the calling application and nn is the length of the parameter interface block passed to ASM for S 390 Refer to section 4 1 for more information on invoking ASM for S 390 from a CICS program using the new application program interface introduced with version 2 4 Refer to appendix D for information on invoking ASM for S 390 using the pre v2 4 application program interface ASM for S 390 v2 5 User Manual 6 8 6 3 Operational Considerations 6 3 1 General Issues e By nature of its online environment a request for online retrieval via ASM for S 390 can occur randomly at any time during the online day In a normal operational environment it is possible that when such a request is received there are no available tape drives on the OS 390 system from which the request was issued When this happens message IEF238D will be issued In order to satisfy the dynamic allocation request an operator must vary online one of the devices identified in the preceding EF247I message and reply with that device number A mount message will then be issued in the normal manner and can be processed by the automatic tape library An operator may reply CANCEL to the above message to deny the allocation request This will be interpreted by ASM for S 390 as indicating that recall cannot take place at the moment ASM for S 390 will then
402. information may be used to identify the storage level in which tape cartridge volumes to be recovered are held Select options 2 or 3 to enable or disable disaster recovery processing for a NearArchive database 3 4 1 Volume recovery unavailable volume processing OTSN4401 NearArchive V2 5 Volum Recovery Control COMMAND gt Primary index name gt Storage level gt _ Sel Start End Copy seq no seq no id Fig 3 15 Volume recovery control panel OTSN4401 Individual volume recovery processing is invoked by entering option 1 from the recovery control panel OTSN4400 Panel OTSN4401 illustrated in figure 3 15 will be displayed This panel will provide details of any existing volume recovery control entries for the NearArchive database storage level being processed One line will be displayed for each current ASM for S 390 v2 5 User Manual 3 52 entry If no entries currently exist a single line containing underscores will be displayed PF7 and PF8 may be used to browse backwards and forwards through entries if more entries exist than can be displayed on a single panel Panel OTSN4401 will contain the following fields Primary index name Storage level Sel Start seq no and end seq no ASM for S 390 v2 5 User Manual This field gives the name of the database s primary index dataset as entered on panel OTSN4000 This identifies the NearArchive databas
403. ing API which identifies objects using a 6 character date in the format YYMMDD will continue to be supported V2 4 will only permit archive dates in the range 1950 2049 to be assigned to objects being stored in a NearArchive database this restriction is enforced by default when using the earlier 6 digit API e The database backup utility OTASP110 may now be used to re create a disk K copy dataset from a primary tape copy e A disk K copy dataset compression facility has been added to the functionality supplied by the database maintenance utility OTASP030 This facility will allow disk copy datasets which contain lower than a user supplied threshold of active disk copy objects to be compressed allowing space occupied by expired disk copy objects to be released e The unit name used internally by NearArchive for creating temporary system disk datasets during product operation SYSALLDA may now be overridden by the customer e Unused space assigned after creation of a disk K copy dataset may now optionally be automatically released after closure of the dataset e Support for Double Byte Character Set DBCS in primary and or secondary keys The following enhancements to CICS object retrieval processing are shipped with this release e Partial object retrieval This feature allows CICS applications to retrieve a segment of a stored object to the target temporary storage queue rather than the
404. ing by the NearArchive database maintenance utility OTASP030 see section 7 2 for a description of this utility Entering a value of 0 in this field indicates that database maintenance is not to be performed on tape datasets in storage level 0 of this NearArchive database If omitted a default value of 0 is used for this entry i e tape recycling disabled Optional entry Enter Y if tape datasets are to be automatically uncataloged when released during recycle processing by the NearArchive database maintenance utility OTASP030 see section 7 2 for a description of this utility Enter N if no automatic uncataloging is to be performed If omitted a default value of N is used for this entry Optional entry Enter a value giving the disk compress threshold expressed as the percentage of active objects on a disk copy dataset in storage level 0 in this NearArchive database This should be a numeric value in the range 0 99 If the percentage of active objects on any disk copy 3 16 Duplex during archival Duplex during backup ASM for S 390 v2 5 User Manual dataset falls below this level that dataset will be eligible for compression by the NearArchive database maintenance utility OTASP030 see section 7 1 for a description of this utility Entering a value of 0 in this field indicates that database maintenance is not to be performed on disk copy datasets in storage level 0 of this NearArchive database Note t
405. ing environment The product supplies a series of application program interfaces to support all the functions involved in writing and retrieving data to and from a NearArchive database and supplies all the support facilities via batch utilities and TSO ISPF application dialogs which are required for database access and administration functions This includes support for the access of tape resident objects in a CICS environment which is required for online recall of data from a NearArchive database High level interfaces are supplied for access to NearArchive databases to enable archive database processing to be fully integrated into existing or planned batch or online applications In this manner it is possible using ASM for S 390 to extend existing system access to online data via database management systems such as IMS DB or DB2 to unlimited quantities of archived data stored on tape while still retaining the ability to access this data online Typical applications which may be appropriate for ASM for S 390 implementation are e Customer billing In a service environment for example customers may be billed quarterly or monthly Current bills may be held in disk databases allowing older inactive bills to be archived via ASM for S 390 to tape Inactive bills may be required to be held in the archive for a specific period for legal or other reasons Using ASM for S 390 these bills may be stored on inexpensive tape media thus rele
406. ing execution of the NearArchive database maintenance utility OTASP030 ASM for S 390 v2 5 User Manual D 22 D 3 The batch retrieval interface Calls to NearArchive for batch retrieval are identical in format to those for batch archival i e a standard program CALL is made to the NearArchive module OTASP100 This module is supplied on the distributed NearArchive load library and must be linked in to the calling program at link edit time to satisfy the external reference The standard batch retrieval CALL parameter block layout is similar to that for batch archival It contains the following fields Offset Length Type Description 0 2 Char Request code 2 2 Char Return code from NearArchive 4 2 Bin Supplementary request return code 1 6 2 Bin Supplementary request return code 2 8 k Char Primary key of data to be retrieved where k is keylength specified at database initialization time 8 amp tk 6 Char Archival date in format YYMMDD 14 k 2 Bin Length L of retrieved data record set by NearArchive on return 16 k L Char Retrieved data record The block should be large enough to hold the longest data record on the archive database in the retrieved data record field Unused fields in the parameter interface area should be set to binary zeroes for binary fields or spaces for character fields Any variations in field usage or interface layout for specific request codes will be identified in the description
407. ing of the application Determine why a Volsafe non Volsafe tape has been mounted in response to the allocation request issued by NearArchive and correct the problem Then rerun the application ASM for S 390 v2 5 User Manual 8 14 No terminating segment when retrieving a disk Return Supp Supp Description code code 1 code 2 copy of an object Action Each of the above errors indicates a problem with the integrity of data in a disk K copy dataset Re create the disk dataset using the NearArchive backup utility OTASP110 If this does not resolve the problem contact your NearArchive product support representative Internal index error object to be retrieved not in block identified in index entry Action Terminate processing Check that the correct dataset has been entered in the JCL and that the primary index dataset has not been corrupted in any way If it has restore the primary index from the backup taken after the last database update procedure and rerun the job NearArchive database has not been opened prior to access batch requests only Action Terminate processing Examine program logic to determine cause of error Make the appropriate changes to ensure that problem does not re occur NearArchive database is already connected batch requests only Action Terminate processing Examine program logic to determine cause of error Make the appropriate changes to ensure that problem
408. ing of the index The following information will be reported for each object Primary key of object Archive date in format YYY Y MM DD Sequence number of tape dataset containing start of object Sequence number of tape dataset containing end of object Number of tape blocks used to store object Identifier of first tape block of object Segment number first byte of block id of B C and D copies of object This information will only be present for pre v2 5 format index entries e Storage level containing object e Number of disk blocks used by object zeroes if no disk copy of the object exists e Identifier of first disk block of object zeroes if no disk copy of the object exists e Disk dataset segment containing start of object not preset if no disk copy of the object exists If the NOSIE parameter has not been specified the report will also contain one entry for each supplementary index entry SIE record encountered during sequential scan processing This entry will identify the primary key and secondary index number with which the SIE record is associated SIE records will only be present when secondary index processing has been enabled for the database Refer to the description of the NOSIE parameter for additional information about supplementary index entry records 3 Totals report This report gives totals of records and objects processed during execution of the utility The following totals are
409. ing the backup tape dataset from which recovery is being performed Ensure that volumes of the same capacity are used for tape input and output and rerun the job OTS13030 TOTAL VOLUMES PROCESSED FOR STORAGE LEVEL a 999999 Explanation Informational message indicating the number of tape volumes processed for storage level a Action No action necessary ASM for S 390 v2 5 User Manual 8 96 OTS13031 TOTAL VOLUMES PROCESSED FOR ALL STORAGE LEVELS 999999 Explanation Informational message indicating the number of tape volumes processed for all storage levels Action No action necessary OTS13032 TAPE USAGE MISMATCH VOLSAFE IS NOT REQUIRED BUT ISINOT MOUNTED Explanation The status of the Sun Oracle Volsafe feature on the scratch tape mounted for the primary copy dataset being restored does not match the required status defined for the A copy in the database storage level containing the tape being backed up Action Modify tape management system controls to ensure that the scratch tape mounted in response to the allocation request from the backup utility has the required Volsafe status and rerun the job OTS13033 I O ERROR ON INPUT OUTPUT TAPE SEE ACCOMPANYING ERROR MESSAGE IN SYSLOG PROCESSING TERMINATED Explanation An input output error has been received during processing of an input or output tape dataset Execution of the utility will be terminated Action Review the system or job log for a
410. ing the utility Note that when processing a journal dataset no DATE parameter specified the contents of that dataset are only reset after successful completion of the utility 7 5 7 Journal Dataset Specification The journal dataset may be processed directly by customer applications if it is required to extend the analysis performed by the NearArchive journal maintenance utility File and record specifications for this dataset are supplied in this section A Journal Dataset A journal dataset is automatically created for each NearArchive database when the audit trail facility is first enabled for that database The journal dataset is a VSAM entry sequenced dataset containing fixed length records Each record is k 39 bytes long where k is the primary keylength of the NearArchive database as defined during database definition processing A NearArchive database s journal dataset name will be hlq JOURNAL where hlq is the high level qualifier specified for the NearArchive database during database definition processing ASM for S 390 v2 5 User Manual 7 48 Each journal record has the following format Offset Length 0 2 2 k k 2 4 k 6 2 k 8 4 k 12 2 k 14 1 k 15 8 ASM for S 390 v2 5 User Manual Type char char pack bin bin bin bin char Description Type of operation 11 inserted via batch archival 21 deleted via batch delete 22 deleted via CICS delete 23 delete
411. instead receive a return code 21 archiving busy response 6 5 4 Display Status Detail After selecting option 2 or 4 from the main menu the following screen will be displayed X XXX in the header line will have the value Tape if option was selected and Disk if option 3 was selected 26M02 NearArchive V2 5 YYYY MM DD XXXX retrieval status detail Task no 229 Status XXXX Proc flag XXXX Current glen 229 Last use HH MM SS DSN in use XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Req Block id Block count Term id User id ZZ9 XXXXXXXX ZZZZ9 XXXX XXXXXXXX ZZ9 XXXXXXXX AZAA XXXX XXXXXXXX ZZ9 XXXXXXXX ZZ2ZZ29 XXXX XXXXXXXX ZZ9 XXXXXXXX BLAAS XXXX XXXXXXXX ZZ9 XXXXXXXX ZZZZ9 XXXX XXXXXXXX ZZ9 XXXXXXXX ZZZZ9 XXXX XXXXXXXX ZZ9 XXXXXXXX ZZZZ9 XXXX XXXXXXXX ZZ9 XXXXXXXX ZZ2ZZ29 XXXX XXXXXXXX ZZ9 XXXXXXXX BLAA XXXX XXXXXXXX ZZ9 XXXXXXXX ZZZZ9 XXXX XXXXXXXX ZZ9 XXXXXXXX ZZZZ9 XXXX XXXXXXXX ZZ9 XXXXXXXX ZZZZ9 XXXX XXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX PF3 end PF7 backward PF8 forward Details of all the identified tasks will be formatted and displayed on this screen The displayed fields will have the following contents ASM for S 390 v2 5 User Manual 6 23 Task no This is a numeric value in the range 1 256 which is used to uniquely identify a NearArchive reader task This field is unprotected and may be updated with any numeric value prior
412. invalid entry has been made in the TSQDELETE update field on screen OTSN263 The update request is rejected Action Enter a numeric value in the range 0 1440 and retry the request OTS26314 INVALID MAXDISK ENTERED TRY AGAIN Explanation An invalid entry has been made in the MAXDISK update field on screen OTSN263 The update request is rejected ASM for S 390 v2 5 User Manual 8 125 Action Enter a numeric value in the range 1 255 and retry the request OTS26315 INVALID FUNCTION KEY PRESSED Explanation Action An invalid program function key has been pressed during operator interface processing Retry the request using the correct key OTS26316 INVALID TAPEWAIT ENTERED TRY AGAIN Explanation Action An invalid entry has been made in the TAPEWAIT update field on screen OTSN263 The update request is rejected Enter a numeric value in the range 0 1440 and retry the request OTS26317 INVALID TIMEOUT ENTERED TRY AGAIN Explanation Action An invalid entry has been made in the TIMEOUT update field on screen OTSN263 The update request is rejected Enter a numeric value in the range 0 1440 and retry the request OTS26320 EIBRESP xxx RECEIVED FOR FUNCTION X yyy Explanation Action An unexpected CICS command failure occurred during operator interface processing The response xxx and function codes yyy are as specified in the Exec Interface Block EIB Refer to CICS
413. ion An error has occurred dynamically deleting a dataset and processing of the utility has been terminated xxxx and yyyy give the error and information codes respectively as returned from the SVC99 dynamic allocation de allocation request zzzz zzzz gives the name of the dataset being allocated Action Refer to IBM documentation on dynamic allocation processing for a description of the error and information codes Take the appropriate corrective action and rerun the job ASM for S 390 v2 5 User Manual 8 48 OTS03297 NEARARCHIVE DATABASE REGRESSION UTILITY TERMINATING IN RESPONSE TO OPERATOR REQUEST Explanation The utility is acknowledging receipt of an operator STOP command for early termination of utility execution Action The utility will checkpoint all current update activity and terminate processing normally The database regression process may be continued at any subsequent time via normal execution of the database regression utility OTS03298 UNABLE TO OPEN SYSPRINT DATASET Explanation An error has occurred opening the SYSPRINT dataset Action Refer to other available system messages to discover the cause of the open failure Correct the error and resubmit the job 8 7 Object Management Utility Messages OTS04000 NEARARCHIVE OBJECT MANAGEMENT UTILITY COMPLETED WITH CONDITION CODE xx Explanation This informational message is issued when the object management utility has com
414. ion after an exception condition not used on entry May contain values on return giving additional information after an exception condition no entry required for this call type no entry required for this call type no entry required for this call type no entry required for this call type D 35 Usage notes 1 Use supplementary code 1 to control handling of the tape cartridge volume in use when the close request was issued If the database is to be re opened for further retrieval processing from the point at which it was closed it may be more efficient to suppress unloading of the tape cartridge volume by setting a non zero value in supplementary code 1 2 No further access to the NearArchive database will be possible after a close request has been successfully processed ASM for S 390 v2 5 User Manual D 36 APPENDIX E Managing Disk K Copy Capacity This discussion of capacity applies strictly to disk K copy files as defined in the NearArchive database definition It specifically does not apply to index space management and other work files used by ASM for S 390 Note also that the issue of extended disk dataset capacity discussed in this appendix may be avoided by creating multiple disk datasets for each corresponding primary tape volume Refer to section 3 1 for information on restricting the size of each disk copy dataset and creating multiple disk datasets per primary tape volume Up to 256 d
415. ion can accept in the following data buffer field On exit gives the actual length of the data record in the following field If the retrieved record is longer than the maximum specified on entry it will be truncated and a return code of 04 set to indicate this condition In this case the contents of this field will give the truncated record length Data buffer Contains the retrieved record on return from NearArchive after a successful call Usage Notes 1 Applications can issue a combination of direct and sequential retrieval requests as required in any order 2 A direct retrieval request will cause repositioning in the NearArchive database on change of primary key or archive date Further direct requests which specify the same primary key and archive date will cause successive records to be retrieved from the ASM for S 390 v2 5 User Manual 4 26 identified object A return code of 30 will be set by NearArchive when all logical records for a NearArchive object have been retrieved 3 A sequential retrieval request will cause the next physical sequential record from the current position to be retrieved from the database The primary key and archive date of the NearArchive object to which the retrieved record belongs will be returned by NearArchive in the call parameter area 4 No indication is given by NearArchive that an object boundary has been crossed during sequential retrieval It is the responsibility of the
416. iple selection The selected data will now be retrieved from the NearArchive database and the first 80 bytes of each data record for that archived object will be displayed on the CICS terminal Check that the number and content of retrieved records is identical to the corresponding entries for the selected key and archive date in the relevant batch call audit report Sign on to a second terminal in the NearArchive CICS control region and perform single and multiple simultaneous retrievals from one or both tape datasets to verify that online retrieval is functioning correctly Any item of archived data may be deleted from the NearArchive database by entering a D upper or lower case in the selection column next to the chosen date The screen will be refreshed to remove the deleted item To return from one IVP screen to the previous screen press PF3 When all the above tasks have been performed successfully the NearArchive IVP process is complete ASM for S 390 v2 5 User Manual A 12 STORAGE TECHNOLOGY CORP OTASD210 REQ RET SUPP CDE CDE CODE1 40 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 48 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 44 00 x0000 46 00 x0000 44 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000
417. is facility is disabled Any change in the status of the audit trail indicator will be logged in the database s journal file Journal Enter Y if journal archiving is to be enabled for this archiving database This will cause all journal entries to be enabled archived to a specially defined NearArchive database prior to the contents of the journal dataset being cleared by the journal maintenance utility OTASP070 This will enable historical analysis of journal entries to be performed The journal archive database will be automatically created and initialized during database maintenance processing if this facility is being enabled for the first time Enter N to disable the journal archiving facility for this database The database s journal archive database will not be deleted when this facility is disabled Any change in the status of the journal archiving indicator will be logged in the database s journal file ASM for S 390 v2 5 User Manual 3 32 Refer to section 7 4 of this manual for additional information on journal processing SMF record id Enter the 3 digit numeric value in the range 128 to 255 of the SMF record identifier which is to be used for object retrieval logging Enter a value of 0 to disable SMF logging for this database Batch retrieval Enter Y to enable SMF logging during object logging on retrieval processing from batch application programs Enter N to disable SMF logging for batch retriev
418. is field Generic key specifications consist of a string of characters of length 0 to s 1 bytes where s is the secondary keylength followed by an asterisk and trailing spaces if required The total field length must always be equal to the keylength of the secondary index identified in supplementary code 1 NearArchive will return each object whose secondary key value begins with the character string preceding the asterisk e g if secondary index 05 has been defined for a database with keylength of 6 characters a generic secondary key specification of ABC VV could return the following primary key values ABCVVV ABCDVV ABCDEV ABCDEF etc A generic key specification consisting of a single asterisk followed by s l spaces will cause NearArchive to return all objects in the database which are indexed in the specified secondary index ASM for S 390 v2 5 User Manual D 28 Offset Length 0 k 6 k 8 k 12 k 14 k 15 Usage notes l k On exit this field will contain one formatted index entry for each NearArchive object which satisfies the query up to the limit specified in the preceding field Each entry is k 16 bytes long where k is the database primary keylength and has the following format Type Description char char bin bin bin bin char Primary key of NearArchive object If the query was based on secondary key this fiel
419. is must be a sequential disk dataset with record format FB fixed blocked and a logical record length of k 8 bytes where k is the primary keylength of the database being ASM for S 390 v2 5 User Manual C 2 OTASIDC1 ASM for S 390 v2 5 User Manual processed by the utility This file must be allocated prior to execution of the utility or alternatively may be allocated by the JCL during initial execution of the utility The file should be large enough to contain a single record The name of the first AMS parameter input file This must be a sequential disk dataset with record format FB fixed blocked and a logical record length of 80 bytes This file is used to supply AMS parameters to enable the utility to create a new space management file for each storage level in the database being regressed The file must be allocated prior to execution of the utility and should be initialized prior to use with the following AMS parameters DELETE DEFINE hlq SPACENLO CLUSTER NAME hlq SPACENLO HR 2 3 OL XXXXXX EC 1000 1000 ECSZ 24 24 UMBERED ZJ JSU where hlq is the high level qualifier defined for the database being regressed as defined during initial NearArchive database definition and xxxxxx is the serial number of the disk volume on which the new space management file is to be created If storage level 1 has als
420. isk copy datasets may be created for each primary tape copy dataset E 1 Disk K Copy Capacity ASM for S 390 uses conventional BSAM techniques to process disk K copy data sets with random access repositioning via NOTE POINT The maximum capacity of a disk data set will depend upon whether the structure chosen is conventional non SMS Physical Sequential or the enhanced functionality of SMS Extended Format Data Sets and or striping E 1 1 Conventional Physical Sequential non SMS PS disk K copy data sets are restricted to a single volume and a maximum of 65 535 tracks This is because the 3 byte TTR used by BSAM is reset to 000001 when volume switching occurs in which case objects on the second and subsequent volumes are not retrievable See table E 1 for examples of capacity for different devices and block sizes E 1 2 Extended Format Data Sets SMS EFDS disk K copy data sets are restricted to a single volume This is because the 3 byte BLT used by BSAM is reset to 000001 when volume switching occurs in which case objects on the second and subsequent volumes are not retrievable See table E 1 for examples of capacity for different devices and blocksizes Implementation requires an SMS volume and ACS routines Dataclas Storclas for K copy allocation ASM for S 390 v2 5 User Manual E 1 E 1 3 Striped EFDS SMS Striped EFDS disk K copy data sets are restricted to 16 stripes v
421. issued by an application to obtain a formatted list of index entries primary or secondary for a specified primary or secondary key value Formatted entries are returned in the auxiliary temporary storage queue specified in the call interface parameter area One item will be present in the temporary storage queue for each index entry which satisfies the query Index entries will be held in the temporary storage queue in the sequence requested by the calling application Interface parameters should be set as follows Request code Return code Supplementary code 1 Supplementary code 2 1 not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call on entry identifies the index to be queried as follows 0 query primary index 1 99 query corresponding secondary index On exit this field may contain a value giving additional information after an exception condition on entry identifies the sort sequence in which formatted index entries are to be written to temporary storage as follows ASM for S 390 v2 5 User Manual D 14 0 ascending date within ascending primary key 1 descending date within ascending primary key 2 ascending date within descending primary key 3 descending date within descending primary key On exit this field may contain a value giving additional information after an exception condition Database name Na
422. it numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have one or two supplementary codes set in reason code fields 1 and 2 For a return code of 00 the temporary storage queue identified in the NearArchive parameter area will contain one formatted item for each index entry which satisfies the query criteria ASM for S 390 v2 5 User Manual B 22 B 3 3 Delete Object EARARCHIVE iLETE CALL MOV PACES TO WO2 NEAR PARMS MOV EROS TO WO02 SUPP CODE1 WO02 SUPP CODE2 W02 OBJECT START W02 OBJECT REC COUNT WO2 DATA LENGTH MOV 47 l O W02 REQUEST CODE MOVI TEST lO W02 DATABASE NAME SET W02 KEY POINTER TO ADDRESS OF CA ST KEY MOV CA ST DATE TO WO2 ARCHIVE DATE EXEC CICS LINK PROGRAM OTASP200 COMMAREA WO2 NEAR PARMS LENGTH 52 NOHANDLI EIBRESP DFHRESP NORMAL ee es TO WO 6 SERIOUS ERROR IND W99 MSG03 TO W99 MSGOO GO TO BO99 EXIT NO ARCHIVED DATA EXIST IF WO2 RETURN CODE 31 MOVE W99 MSGO7 W99 MSGOO GO TO BO99 EXIT OTHER ERROR IF NOT WO02 RETURN COD hy WO 6 SERIOUS ERROR IND W02 RETURN CODI T W99 MSG09 RETURN CODE W02 SUPP CODE1 W99 MSGO9 SUPP CODE1 MOV WO02 SUPP CODE2
423. ity 14 batch archival 4 11 interface 11 tape I O driver messages 101 batch processing 3 batch retrieval 21 23 batch retrieval interface Clsize 24 CICS batch retrieval 33 CICS LINK command 4 CICS communication area 4 CICS control region 12 initializing 13 quiescing 13 CICS definitions 15 journal 18 primary index 16 22 secondary index space management 16 17 CICS housekeeping messages 131 CICS operator interface 14 CICS operator messages 114 CICS processing 12 CICS reader task messages 112 CICS shutdown processing 10 COBOL 6 COBOL application 1 commit block 15 39 commit request 10 commit updates 39 44 compress threshold 16 concurrent retrievals 10 11 connect database 8 13 control interval size 24 41 3 control region 12 23 31 initialization messages 106 quiesce messages 13 copy identifier 55 D data integrity 11 data retention period 29 36 database 4 administration 21 58 browse definition 30 57 5 7 10 8 16 17 28 29 maintenance utility 17 18 20 39 maintenance utility messages 23 26 29 45 recovery 18 recovery utility 17 21 50 70 restore 20 database backup utility messages 74 database design 5 database name 9 database name list 9 database protection 5 database recovery utility messages 89 DB25CONV 59 DB25REGR 7 DBCS 3 557 15 25 29 32 35 37 38 DCT 22 destination control table 22 direct read 24 direct retrieval 22 26 direct to sequential proc
424. ive parameter interface block as specified in section 4 2 NearArchive services are invoked from CICS programs using the CICS LINK command as follows EXEC CICS LINK PROGRAM OTASP200 COMMAREA PARMAREA LENGTH nn END EXEC where PARMAREA is the user defined storage area containing the parameter interface block used for communication between NearArchive and the calling application and nn is the length of the parameter interface block passed to NearArchive The communication area passed with this command should contain the standard NearArchive parameter interface block as specified in section 4 2 4 2 The NearArchive program interface The NearArchive application program interface API is used by all types of applications batch TSO and CICS for invocation of ASM for S 390 services The standard format of the application program interface parameter area is Offset Length Type Description 0 2 char Request code 2 2 char Return code 4 2 bin Supplementary request return code 1 6 2 bin Supplementary request return code 2 8 4 char Database name 12 4 ptr Pointer to field containing primary key of archived object 16 8 char Object archival date in format YYYYMMDD 24 8 char Temporary Storage Queue TSQ name ASM for S 390 v2 5 User Manual 4 4 Offset Length Type Description to be used for data retrieval CICS Only 32 4 bin Object start position parti
425. ive database s primary index dataset aaa is the storage level being read xx and yyyyyyyy are the hexadecimal return and reason codes respectively from the VSAM GET macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job If no cause of the error can be identified contact your NearArchive product support representative OTS11022 UNABLE TO UPDATE SLC FOR STORLVL aaa RETURN CODE X xx FEEDBACK X yyyyyyyy Explanation An error has occurred when updating the storage level control record in the NearArchive database s primary ASM for S 390 v2 5 User Manual 8 78 index dataset aaa is the storage level being read xx and yyyyyyyy are the hexadecimal return and reason codes respectively from the VSAM GET macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job If no cause of the error can be identified contact your NearArchive product support representative OTS11024 DYNALLOC ERROR REQ aa RC bb DD cccccccc DSN dddddddddddddddddddddddddddddddddddddddddddd VOL vvvvvwv UNIT uuuuuuuu OTS11025 INF eeee ERR ffff SYSC g SYSD hhhhhhhh DEFER ii DISP jjkkll SPACE pppppp ssssss DCB mmmmmm nnnnnn 00 Explanation An error
426. ive period in YYYYMMDD format It will also be identified by a secondary key value of SMITH in secondary index 1 and of 19660101 YYYYMMDD in secondary index 2 This object may be retrieved from online or batch processing via its unique primary key and archive data combination Alternatively it may be retrieved by first specifying a secondary key value of SMITH for secondary index 1 or 19660101 for secondary index 2 The required NearArchive object may then be identified from the multiple objects which may be indexed by either of these secondary keys and retrieved by primary key as above Primary and secondary index entries are created by ASM for S 390 when an object is written to a NearArchive database Primary index entries are always created Entries will be automatically created for each secondary index which has been defined for that database A secondary index entry will be generated for a NearArchive object under the following circumstances e when automatic entry creation has been defined for that secondary index With this facility the secondary key used in the entry will be located at character position a in logical record number b within a NearArchive object Every secondary key within a single secondary index will have the same keylength c a b and c are values which are specified for each secondary index using the NearArchive database administration facility Using these rules ASM for S 390 wil
427. ject retrieval the application would need to retrieve the 20Mb object to CICS temporary storage and process it sequentially to locate the required transaction record Using partial object retrieval the application would identify the transaction to be retrieved in terms of its segment co ordinates Only the 20kb for that transaction would be written to CICS temporary storage the retrieved object may then be processed in its entirety by the application Where appropriate partial object retrieval can give the following benefits over full object retrieval e Reduced NearArchive indexing requirements e Reduced data transfer time during object retrieval Processing of an object by ASM for S 390 will terminate when all data in the requested segment has been retrieved e Reduced CICS temporary storage requirements ASM for S 390 v2 5 User Manual 6 6 Usage of the partial object retrieval facility by an ASM for S 390 application requires that information be held on the contents of each object in the database i e a sub index containing more detailed information about the contents of the database than that held in the NearArchive primary or secondary indexes This information may be stored externally to the indexed object or the NearArchive database Alternatively the information on the contents of an object may be stored within the object itself e g a record at the start of an object identifying the segments held within the object
428. ject the call with a return code 14 invalid archival date If the presence of an archival date is not required for an application i e only one NearArchive object exists per primary key value a dummy date value may be specified in this field This dummy date may then be specified explicitly during retrieval or the NearArchive retrieve oldest newest object facility may be used to ensure that the single NearArchive object for a specified primary key is retrieved However any dummy date used must still have a valid date value in the format YYMMDD ASM for S 390 v2 5 User Manual D 7 D 1 3 Request Code 14 Identify Secondary Key This call is used by an application program to identify implicitly or explicitly a secondary key that should be used to index the data object currently being archived For implicit identification the interface parameters will specify that automatic secondary key identification as defined during secondary index initialization should be used to extract the secondary key from the immediately preceding data record passed to NearArchive for archival For explicit identification the interface parameters will identify the secondary key explicitly The standard interface format is used for this request Interface parameters should be set as follows Request code 14 Return code not required on entry This field will contain a 2 character value on return from NearArchive which indicates the res
429. ject which is indexed by the specified secondary key k 6 char Archive date of NearArchive object in format YYMMDD k 6 2 bin Number of tape blocks used to hold NearArchive object ASM for S 390 v2 5 User Manual D 17 k 8 4 bin Identifier of first block on volume containing NearArchive object k 12 2 bin Sequence number of tape dataset in database which contains the NearArchive object k 14 1 bin Hierarchical level in which object is stored 0 or 1 k 15 1 char Object residency indicator blank tape only D tape disk Usage Notes 1 The temporary storage queue which holds the returned index entries will be created by NearArchive Any queue with the same identifier which existed prior to the call will be deleted This means that applications do not need to be responsible for deletion of temporary storage queues prior to use In particular repeated index query requests may be issued by an application without requiring deletion of temporary storage queues between requests 2 After a successful call the number of items in the temporary storage queue will be equal to the number of primary or secondary index entries which satisfy the query request criteria 3 Index entries will be held in the temporary storage queue in the sort sequence specified by the calling application in supplementary code 2 4 Note that no tape access is required to satisfy an index query request 5 An entry must exist in the C
430. jects which contain greater than 32 767 records All functions involving access to components of the NearArchive database including allocation and de allocation of tape datasets from within CICS and retrieval of the archived object will be provided by ASM for S 390 After control has been returned to the calling program the temporary storage queue may be handled as appropriate for the particular application requirements CICS applications may also retrieve a segment of an archived object into a TSQ termed partial object retrieval An object segment is identified by two co ordinates the start record number starting at 0 and the number of records in the segment The NearArchive control region which processes all object retrieval operations in a CICS processing environment requires initialization via an entry in the CICS post initialization PLT in order to enable archive recall This will enable online applications running within the control region itself or from within any other CICS region which has a Multiple Region Operation MRO link to the control region to retrieve data from one or more NearArchive databases Multiple database support is available with ASM for S 390 online processing i e it is possible to access many different NearArchive databases from within the same CICS system The name of the database to be accessed is identified by the application program on request for object retrieval ASM for S 390 v2 5 User M
431. job The following JCL is provided in SAMPLIB member DB25REGR STEP1 EX L SYSPRINT DD PIR SYSIN DD DELETE SET LASTCC DEFINE EC PGM IDCAMS SYSOUT index name N 0 CLUSTER NAM MODI EW E E index name NEW EL index name ASM for S 390 v2 5 User Manual CA VOL XXXXXX RECSZ 16380 32760 IF MAXCC 0 TH REPRO IDS in ODS in IF MAXCC 0 TH DELETE index name zZ ex name ex name NEW Aaa m z IF MAXCC 0 THEN DO ALTER index name NEW NEWNAME index name ALTER index name NEW INDEX 7 NEWNAME index name INDEX ALTER index name DATA E NEWNAME index name DATA END The regressed database will be ready for processing by the appropriate version of NearArchive on successful completion of this job ASM for S 390 v2 5 User Manual C 8 APPENDIX D Pre V2R4 API Specifications Version 2 4 of NearArchive introduced a new application program interface API for invocation of NearArchive services from a batch or CICS application program All new applications which are being developed to use NearArchive for data storage and retrieval should be coded to use this new API ASM for S 390 will continue to support calls made using the pre v2 4 API Applications coded to use this API do
432. key may exist in the database but the archive date for each of these objects must be different In addition a NearArchive object may be indexed by one or more secondary keys using the ASM for S 390 secondary indexing facility Up to 99 separate secondary indexes may be defined for each NearArchive database each secondary index containing entries which index NearArchive objects by secondary key A secondary key may index more than one NearArchive object The primary and or secondary keys may contain DBCS characters which should include all shift control bytes Example A NearArchive database is created to hold archived customer account information Each NearArchive object will hold a customer s account transactions over a three month period The primary key for this database will be the customer account number Secondary index 1 is defined with a secondary key of customer surname Secondary index 2 is defined with a secondary key of customer s date of birth Suppose an object has been archived to the NearArchive database for a customer with the following details Account no 0123456789 Surname SMITH Date of birth Jan 1 1966 This object will contain all account transactions for this customer during the first three months of 1992 ASM for S 390 v2 5 User Manual 1 5 This NearArchive object will be uniquely identified by a primary key value of 0123456789 and an archive date of 19980331 say the last day in the arch
433. key value begins with the character string preceding the asterisk e g if a database has a primary key length of 8 bytes a generic key length of x 05 could return the following primary key values SMITH SMITHERS SMITHSON etc A generic key specification consisting of a single asterisk followed by k 1 spaces will cause NearArchive to return all objects in the database For databases with primary keys containing DBCS characters the first byte of supplementary code should be used to establish whether a full or generic key search is to be performed See the description of the supplementary code 2 field above For volume serial number queries supplementary code 1 200 this field should contain the archive date of the object to be queried Not used for other types of query For CICS applications specifies the name of the temporary storage queue to be used to hold returned information The information is returned in the same format as that described for the data buffer field below Not used for batch or TSO applications Not used for this request type For CICS applications gives the maximum number of entries to be returned in the target TSQ On return from NearArchive this field will 4 17 Data buffer length Data buffer ASM for S 390 v2 5 User Manual contain the actual number of entries in the target TSQ Not used for batch or TSO applications Not used for CICS applicati
434. kup Utility Messages 8 11 Batch Archival Request Processor Messages 8 12 Database Recovery Utility Messages 8 13 Batch Archival Tape I O Driver Messages 8 14 Online Request Processor Messages 8 15 Control Region Initialization Messages 8 16 Online Parameter File OTASS100 Processor Messages 8 17 Control Region Quiesce Messages 8 18 CICS Reader Task Messages 8 19 CICS Operator Interface Messages 8 20 CICS Housekeeping Processing Messages 8 21 Batch Retrieval Request Processor Messages 8 22 Database Initialization Messages 8 23 General purpose Component Messages 8 24 SMF record format 8 24 1 Header section 8 24 2 Record descriptor section 8 24 3 Database section 8 24 4 Request section APPENDIX A Installation Verification Procedure A 1 IVP Datasets A 2 IVP Database Initialization A 2 1 Define and Initialize IVP Database 7 12 7 74 7 75 7 15 7 16 8 1 8 4 8 6 8 22 8 23 8 26 8 29 8 45 8 49 8 60 8 69 8 74 8 87 8 89 8 101 8 102 8 106 8 108 8 111 8 112 8 114 8 131 8 133 8 134 8 137 8 138 8 139 8 140 8 141 8 142 A l A 2 A 3 A 3 ASM for S 390 v2 5 User Manual A 2 3 Define Secondary Indexes A 3 CICS Definitions A 4 Running the Batch IVP A 4 1 The batch archival IVP A 4 2 The batch retrieval IVP A 5 Running the online retrieval IVP APPENDIX B Sample NearArchive Calls B 1 Batch Archival Processing B 1 1 Connect to NearArchive Database
435. l For additional information regarding the error press PF1 To obtain help information regarding panel definition entries press PF1 once more When all entries have been accepted the Access Method Services AMS control panel OTSN4222 will be displayed This panel allows specification of AMS parameters to be used by the NearArchive database administration procedure when automatically defining the secondary index dataset This is a key sequenced VSAM dataset ASM for S 390 v2 5 User Manual 3 39 OTSN4222 NearArchive V2 5 Access Method Services Control COMMAND gt Primary index name Secondary index no Secondary index dataset control Volume serial number Unit of allocation Primary allocation value Secondary allocation value Data CI size Index CI size Delete before define gt _ Y N TER after all details have been entered correctly l secondary index definition parameters have been accepted the secondary index will be allocated and initialized Fig 3 9 Access Method Services control panel OTSN4222 Default values will be used where no entry has been made for optional fields on this panel Entries must always be made for mandatory fields The description of individual fields below will identify whether an entry is mandatory or optional Online help information may be obtained by pressing PF1 The AMS control panel for secondary index defini
436. l automatically identify the secondary key s to be used to index an object e by explicit request from a ASM for S 390 application During object archival an application may explicitly identify a secondary index and key to be used to index that object The length of the secondary key must be equal to the secondary keylength defined for that secondary index Secondary index update processing may be performed synchronously during object archival processing the default or asynchronously using the secondary index update utility OTASPO80 ASM for S 390 v2 5 User Manual 1 6 1 3 2 Components of a NearArchive database A NearArchive database consists of the following components e One or more single volume tape datasets containing archived objects e Optionally one or more sequential disk datasets containing copies of archived objects e A primary index dataset VSAM KSDS e One or more secondary index datasets VSAM KSDS e Between one and eight space management datasets VSAM RRDS one per database storage level e A journal dataset VSAM ESDS if audit trail facility enabled e A migration control dataset VSAM ESDS if multiple storage levels defined All the above datasets are automatically created and maintained by ASM for S 390 Each database is identified in batch JCL via its primary index dataset All other ASM for S 390 system datasets are dynamically allocated as required Details of the sizing of each of t
437. l have an identical name to that of the existing file but the low level qualifier will be changed to SPACENLx where x is the storage level The new space management file will have a variable record length All records in each existing space management file will be copied to the corresponding new space management file Records will be re formatted during this process e The existing space management files will be renamed by changing the low level qualifier from SPACEMLx to SPACEOLx and the new space management file will be renamed to that of the live file by changing the low level qualifier from SPACENLx to SPACEMLx ASM for S 390 v2 5 User Manual 3 58 e Finally control records in the primary index file will be reformatted and the file updated On successful conclusion of this procedure the database will have been fully converted for use with v2 5 of ASM for S 390 and panel OTSN4000 will be re displayed with a successful completion message There are no other mandatory conversion requirements However if the maximum number of objects per unique primary key is likely to exceed 1015 an additional conversion step to increase the maximum primary index record size should be performed as discussed in section 3 5 1 below Note that the old pre conversion space management files will still remain in existence with a low level qualifier of SPACEOLx These files may be manually deleted at
438. l request 4 Request section This section contains information specific to the retrieval request itself ASM for S 390 v2 5 User Manual 8 138 8 24 1 Header section Each SMF record will have a standard SMF header section of length 18 bytes Offset Length Format Description 0 2 bin Record length This is the length of the entire SMF record including this field 2 2 bin Segment descriptor binary zeroes 4 1 bin System indicator binary zeroes 5 1 bin Record type equal to the value of the SMF record identifier specified defined for the database being processed 6 4 bin Time since midnight in hundredths of a second that the SMF record was written 10 4 packed Date record was written in the format OcyydddF where F is the sign 14 4 char System identification from CVT ASM for S 390 v2 5 User Manual 8 139 8 24 2 Record descriptor section The SMF header section is immediately followed by the record descriptor section It has a fixed length of 38 bytes Offset Length Format Description 18 6 bin Reserved 24 4 bin Offset of database section This is the offset from the start of the SMF record of the database section of the record 28 2 bin Length of database section This is the length in bytes of a single database section 30 2 bin The number of database sections present in the record always 1 32 4 bin Offset of request section This is the offset from the start of the SMF record of the fir
439. largest record that will be written to the archive database Any unused field in the parameter interface area should be set to binary zeroes binary fields or spaces character fields The following NearArchive request codes are available for the batch archival process Code Function 10 Open a NearArchive database for normal output processing Data will be added to the last tape cartridge volume in the database 11 Open a NearArchive database for rerun output processing after an archival procedure has terminated unsuccessfully 12 Open a NearArchive database for normal output processing Data will be written to a new tape cartridge volume 13 Write a data record to the database 14 Explicitly identify a secondary key to be used to index the object currently being archived 15 Close a NearArchive database for output processing 16 Commit all updates to a NearArchive database ASM for S 390 v2 5 User Manual D 2 D 1 1 Request Codes 10 11 12 Open Database An open database call must be issued prior to accessing a NearArchive database The interface format for open requests differs from the standard interface format as described in section D 1 The amended format is as follows Offset Length 0 2 10 14 2 2 4 6 Type Char Char Bin Bin Bin Char Char Description Request code Return code from NearArchive Supplementary request return code 1 Supplementary request return code 2 Al
440. late mode 1 Execution parameter report ASM for S 390 v2 5 User Manual 7 37 This report summarizes execution parameters as specified on the JCL EXEC statement or as defaulted 2 Expiration processing report Two versions of this report may be produced a summary report or a detailed report The type of report produced is controlled by utility EXEC parameter The expiration processing summary report gives the total number of objects expired by the utility for the NearArchive database being processed The expiration processing detail report identifies each expired object by primary key archive date tape sequence number and storage level and gives the total number of objects expired by the utility 3 Migration processing report Two versions of this report may also be produced a summary report or a detailed report The type of report produced is again controlled by utility EXEC parameter The migration processing summary report gives the total number of objects migrated from the source storage level during this run of the utility for the NearArchive database being processed The migration processing detail report identifies each migrated object by primary key archive date tape sequence number and storage level and gives the total number of objects migrated from the source storage level to the target storage level For DBCS customers the primary key must contain the shift out and shift in control bytes to print
441. layed in the top right hand corner of the panel For additional information regarding the error press PF1 To obtain help information regarding panel definition entries press PF1 once more When all updates have been accepted the specified storage level definition will be amended and the storage level maintenance menu panel OTSN4230 re displayed 3 2 3 2 Add New Storage Level To add a new storage level to a NearArchive database select option 2 from the storage level maintenance menu panel OTSN4230 specifying the storage level number to be created The storage level definition panel OTSN4301 will be displayed This panel will identify the NearArchive database primary index dataset and storage level number being defined ASM for S 390 v2 5 User Manual 3 47 Refer to section 3 1 2 for a description of the content and usage of fields displayed on this panel Note that any entry made on this panel will apply only to the storage level being defined The other storage level s in the database will retain existing definitions and be unaffected by values defined for this new storage level A new storage level may only be defined if the immediately preceding storage level has previously been defined After all required entries have been made press ENTER Any invalid entry will be rejected and a corresponding message displayed in the top right hand corner of the panel For additional information regarding the error press PF1 To
442. le parameter has been specified on the EXEC statement Action Examine the parameters specified on the EXEC statement Correct the parameters and restart the job OTS07014 JOURNAL RECORD FOUND WITH INVALID OPERATION TYPE Explanation An invalid record has been found on the NearArchive journal dataset Action Check the contents of the database s journal dataset for invalid entries This dataset will have the name hiq JOURNAL where hlq is the high level qualifier defined for the NearArchive database being processed by the utility If no cause of the error can be identified contact your NearArchive product support representative OTS07015 NO RECORDS RETRIEVED FOR SPECIFIED DATE S Explanation There were no journal entries in the database s journal archive database for the specified date range Action Amend the dates if necessary and resubmit the job ASM for S 390 v2 5 User Manual 8 64 OTS07016 RESTART NO SPECIFIED BUT PREVIOUS RUN DID NOT COMPLETE NORMALLY Explanation A previous attempt to run this utility has failed abnormally but RESTART YES has not been specified for this run Action Examine the output from the previous run to determine the cause of failure Take the appropriate corrective action and restart the job with RESTART YES specified on the EXEC statement OTS07017 NO RECORDS FOUND ON JOURNAL FILE Explanation The journal dataset is empty Action This is an information messag
443. lected for display Option 3 This will display a formatted summary of all currently initialized NearArchive disk reader tasks A selection column will allow individual tasks to be selected for processing Option 4 This provides a formatted detail display of an individual NearArchive disk reader task On entry to this option disk reader task 1 will be automatically selected for display Option 5 This option allows users to alter the current value of the MAXDRIVE MAXQLEN MAXDISK TSQDELETE and TAPEWAIT and TIMEOUT control parameters ASM for S 390 v2 5 User Manual 6 18 The last but one line of this display screen is used for displaying error and information messages Refer to chapter 8 for a description of messages returned by the NearArchive CICS operator interface facility To exit from the main operator interface menu press the PF3 or CLEAR keys 6 5 3 Display Status Summary On selecting option 1 or 3 from the main menu the following screen will be displayed XXXX in the header line will have the value Tape if option was selected and Disk if option 3 was selected NearArchive V2 5 YYYY MM DD XXXX retrieval status summary MAXDRIVE ZZ9 MAXIMUM QLEN Z279 MAXDISK 229 TASK COUNT 229 Sel Task Stat Qlen Dataset in use Last use ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKXXXXXXXXXXXX ZZ9 XXXX ZZ9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKXXX
444. led Journal Optional field Enter Y if the journal archiving archiving facility is to be enabled for this database This will enabled cause all journal entries to be archived to a specially defined NearArchive database prior to the contents of the journal dataset being cleared by the journal maintenance utility OTASPO70 This will enable historical analysis of journal entries to be performed The journal archive database will be automatically created during database definition processing if this facility has been enabled and the event will be recorded in the newly created journal file Enter N to disable the journal archiving facility for this database Refer to section 7 3 of this manual for additional information on journal processing If omitted a value of N is used for this entry journal archiving disabled SMF record id Optional entry Enter the 3 digit numeric value in the range 128 to 255 of the SMF record identifier which is to be used for object retrieval logging Enter a value of 0 to disable SMF logging for this database If omitted a value of 0 is used for this entry SMF logging disabled ASM for S 390 v2 5 User Manual 3 10 Batch retrieval logging on CICS retrieval logging on After all required entries have been made press ENTER Any invalid entry will be rejected and a corresponding message displayed in the top right hand corner of the panel For additional information regardin
445. lity The NearArchive secondary index update utility cannot be run on databases prior to version 2 5 Processing is terminated Action Ensure that the correct primary index dataset is specified under DD entry OTASV100 in the execution JCL Correct and resubmit the job ASM for S 390 v2 5 User Manual 8 71 OTS08009 ERROR X xxxx INFO X yyyy DYNAMICALLY ALLOCATING FILE aaaaaaaa TO DATASET bbbb bbbb Explanation A dynamic allocation error has occurred during allocation of the identified dataset Processing is terminated Action Refer to IBM documentation on SVC99 processing for a description of the error and information codes Take the appropriate corrective action and rerun the job OTS08010 NEARARCHIVE DATABASE IS INUNCOMMITTED STATE PROCESSING TERMINATED Explanation The NearArchive database being processed by the utility is currently in an uncommitted state i e a database update job has terminated abnormally and has not yet been rerun The secondary index update utility cannot process a database with this status Processing of the utility is terminated with condition code 12 Action Ensure that the outstanding database update job is run to successful conclusion before resubmitting the secondary index update job OTS08011 EMPTY INVALID SECONDARY INDEX UPDATE FILE OTASS080 ENCOUNTERED Explanation The dataset allocated to file OTASS080 in the JCL is either empty or does not contain valid header information
446. lity OTASP030 must be executed to reclaim tape dataset storage within a NearArchive database that is occupied by a deleted or expired object This utility will process all tape cartridge volumes within a single NearArchive database whose level of active objects has fallen below a user specified threshold for that database All active objects from such a tape volume will be moved to another volume in the NearArchive database and the recycled volume released from the database Such recycled volumes may be returned to the appropriate scratch pool for re use Any disk K copy datasets associated with a recycled volume will be automatically deleted after the volume has been released from the database Note that if disk processing is enabled for a storage level which is being recycled then disk copies will be created for all recycled objects These disk copies will be deleted by the object management utility OTASP040 when the age of the object in days since first archival exceeds the disk copy retention period as specified during database administration processing The database maintenance utility may also be used to compress disk K copy datasets which contain less than the compress threshold of active disk copy objects for the storage level being processed by the utility Disk compress processing will remove unused space occupied by objects which have been expired from the database or whose disk retention period has expired The req
447. lity has been invoked from a secondary NearArchive region This facility is only available from within a NearArchive control region Sign on to the NearArchive control region and invoke the operator interface facility from there ASM for S 390 v2 5 User Manual 8 123 OTS26303 STATUS ERROR CORRUPT ANCHOR BLOCK Explanation A control block used for NearArchive online database access is corrupt Processing of the operator interface facility cannot continue Action Disable the NearArchive control region by using NearArchive transaction OT24 Re enable the control region using transaction OT23 If this does not resolve the problem contact your NearArchive product support representative OTS26304 INVALID MAXQLEN ENTERED TRY AGAIN Explanation An invalid entry has been made in the MAXQLEN update field on screen OTSN263 The update request is rejected Action Enter a numeric value in the range 1 255 and retry the request OTS26305 INVALID MAXDRIVE ENTERED TRY AGAIN Explanation An invalid entry has been made in the MAXDRIVE update field on screen OTSN263 The update request is rejected Action Enter a numeric value in the range 1 255 and retry the request OTS26309 ATTACH ERROR nnn UPDATING TERMINATED Explanation An error has been received attempting to attach a reader sub task when increasing the value of MAXDRIVE or MAXDISK nnn gives the decimal error code received from the ATTACH mac
448. location of the primary data extent of the secondary index dataset Refer to section 3 2 2 3 for information on choosing a primary allocation value Mandatory entry Enter the number of allocation units as entered or defaulted in the unit of allocation field to be used for allocation of each secondary data extent of the secondary index dataset Refer to section 3 2 2 3 for information on choosing a secondary allocation value Optional entry Enter the control interval size to be used for allocation of the data component of the dataset This should be a valid VSAM control interval size If omitted a control interval size of 16k is used for the data component Optional entry Enter the control interval size to be used for allocation of the index component of the dataset KSDS only This should be a valid VSAM control interval size 3 41 If omitted a control interval size of 2k is used for the index component Choosing unique control interval sizes for each secondary index that has been defined for a NearArchive database may improve performance during data archival and retrieval through the use of exclusive VSAM buffer pools Delete before Optional entry Enter the value Y if ASM for define S 390 should attempt to delete the secondary index dataset before it is defined Enter N if no deletion request should be issued The NearArchive database definition process will proceed as normal if a value of Y is enter
449. location recovery retry limit Database name Archive over ride date request code 11 only Call parameters should be set as follows Request code 10 normal database open This request will cause it he iia ASM for S 390 v2 5 User Manual NearArchive to start writing data to the last tape cartridge volume in the database rerun database open This request must be used to open a NearArchive database following the failure of an archival procedure NearArchive will reject any other type of open request if a database was not properly closed during the previous archival procedure normal database open This request will cause NearArchive to start writing data to a new tape cartridge volume in the NearArchive database Use this request code if it is required to control physical data location for retrieval performance reasons D 3 Return code Supplementary code 1 Supplementary code 2 Allocation recovery retry limit Database name Archive over ride date ASM for S 390 v2 5 User Manual not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call see chapter 8 for a list of possible return codes must be set to 1 open for output on entry this is the only possible value for supplementary code 1 with these request codes must be set to zero on entry May contain values on return giving additional information after an
450. m outstanding asynchronous update status and reset the input sequential dataset to empty ASM for S 390 v2 5 User Manual 7 53 e The utility will issue a summary report at successful or unsuccessful end of processing giving totals of the number of records processed from the input sequential file the number of secondary index update operations performed and the number of exceptional conditions which may have occurred during processing 7 6 2 JCL Requirements The following JCL may be used to execute the NearArchive secondary index update utility EP1 EXEC PGM OTASP080 REGION 4M TEPLIB DD DSN NearArchive load library DISP SHR TASV100 DD DSN Database primary index name DISP SHR SYSPRINT DD SYSOUT SYSOUT DD SYSOUT OTASSO80 DD DSN Async update dataset DISP SH OTASSO81 DD DSN amp amp OTASS081 UNIT SYSDA DISP NE SPACE CYL a b SORTWKnn UNIT SYSDA SPACE CYL c d Dataset names should be set as follows for each DD entry STEPLIB The name of the NearArchive version 2 product library as unloaded during the product installation procedure see chapter 2 OTASV100 The name of the primary index of the NearArchive database to be processed by the utility The utility will only process one NearArchive database per execution SYSPRINT The destination of the utility report file If required the report may be written to a sequential datase
451. m the end of the previous tape dataset in the database Volumes in this category cannot be recycled VOLUME RELEASED Explanation The volume vvvvvv has been released from the NearArchive database It has not been uncataloged as the AUTOUNCAT facility is disabled for this database VOLUME RELEASED AND UNCATALOGED Explanation The volume has been released from the NearArchive database and has been automatically uncataloged by the utility DISK DATASET UNCATALOGED AND DELETED Explanation The identified disk copy dataset has been uncataloged and deleted after recycling of the corresponding tape volume Action No action is necessary Processing continues MAXIMUM BLOCKCOUNT REACHED BEFORE END OF DSN Explanation The maximum number of blocks to be written to a disk K copy dataset has been reached during disk compression processing The disk dataset is closed normally and processing of the utility continues Some objects from the uncompressed dataset may not be ASM for S 390 v2 5 User Manual 8 33 present on the compressed dataset Retrieval of these objects will be satisfied from tape Action If it is required that more objects be held in the disk copy dataset increase the maximum disk blockcount via the NearArchive database administration dialogs and recreate the disk copy dataset using the NearArchive database backup utility OTASP110 DISK DATASET COMPRESSED Explanation The identified disk dataset has been
452. mal retrieval or 6 if an exception condition occurs during partial object retrieval in supplementary code 1 Refer to chapter 8 for a detailed specification of these codes Applications which process databases where the size of an object is likely to exceed 32 767 entries should be coded to cater for the return and supplementary codes issued above On receipt of this condition the last entry in the TSQ identified in the application request will contain the following 16 byte record ASM for S 390 v2 5 User Manual 6 7 Offset Length Type Description 0 8 Char This field will always contain the character string NEXTTSQ 8 8 Char The identifier of the next temporary storage queue in the string After processing all preceding entries in the queue as required the identifier of the next TSQ in the string should be retrieved from the pointer record Processing may then continue as required on the new TSQ This procedure should be repeated until all TSQs in the string have been processed The last TSQ in the string will always contain less than 32 767 entries There will be no pointer record at the end of this TSQ 6 2 Invoking NearArchive from CICS programs CICS requests for access to a NearArchive database are issued using the CICS LINK command as follows EXEC CICS LINK PROGRAM OTASP200 COMMAREA PARMAREA LENGTH nn END EXEC where PARMAREA is the user def
453. mary index dataset Main index entries A k 4 32 B Where A total number of unique primary key values in database B average number of objects per primary key andk primary keylength Supplementary index entries A k 4 s C per secondary index where C average number of secondary key values per primary key ands secondary keylength ASM for S 390 v2 5 User Manual 3 26 The supplementary index entry calculation should be repeated for each defined secondary index in the database An estimate for total primary index space over the life of the database may be derived by adding the main index entry requirements to the supplementary index entry requirements for each defined secondary index Primary and secondary allocation values may be chosen to allow gradual growth in the size of the index over the life of the database until it is fully populated This point will be reached when data has been held in the database for longer than the database s retention period This data will be expired and removed from the database by the NearArchive object management utility Index space released by this process will be re used and consequently the size of the primary index dataset will then stabilise Journal dataset allocation One VSAM record will be created for each entry in the journal dataset Each record will be k 39 bytes long where k is the database primary keylength The contents of the journal dat
454. mation after an exception condition not used on entry May contain values on return giving additional information after an exception condition no entry required for this call type no entry required for this call type no entry required for this call type no entry required for this call type 1 After a commit call has been successfully issued any subsequent archival rerun open request call type 11 will cause the NearArchive tape dataset to be positioned at the point at which this commit call was issued for sequential addition of data records to the database This means that all records added after this commit call 1 e uncommitted records will be overwritten on tape storage and index entries re used 2 Applications which issue explicit NearArchive commit calls should ensure that updates to any other database which is being processed are also committed at the same time An application should have its own restart mechanism in the event of failure so that processing may be restarted from the last commit point ASM for S 390 v2 5 User Manual D 12 D 2 The CICS retrieval interface CICS requests for retrieval of objects from a NearArchive database are issued using the CICS LINK command as follows LENGTH EXEC CICS LINK PROGRAM OTASP200 COMMARI EA PARMARI nn END EX EC EA where PARMAREA is the user defined storage area containing the parame
455. me of database to be queried This four character identifier should specify the last four characters of the CICS file control entry for the primary index of the database to be queried the first four characters are always set to OTAS Primary key primary search key only required if supplementary code 1 0 The length k of this entry should be equal to the primary key length specified during database initialization processing A full or generic primary key value may be specified in this field Generic key specifications consist of a string of characters of length 0 to k 1 bytes where k is the database primary keylength followed by an asterisk and trailing spaces if required The total field length must always be equal to the database s primary keylength NearArchive will return each object whose primary key value begins with the character string preceding the asterisk e g if a database has a primary keylength of 8 characters a generic primary key specification of SMITH VV could return the following primary key values SMITHVVV SMITHERS SMITHSON etc A generic key specification consisting of a single asterisk followed by k 1 spaces will cause NearArchive to return all objects in the database ASM for S 390 v2 5 User Manual D 15 Archival date this field is used by the query interface to control the maximum number of objects which may be returned in response to a query
456. meters should be set as follows Request code Return code Supplementary code 1 Supplementary code 2 Database name Primary key pointer ASM for S 390 v2 5 User Manual This must be set to the value 47 for all object deletion requests Not used on entry to NearArchive This field will contain a 2 character numeric value on return from NearArchive indicating the result of the call Refer to chapter 8 of the manual for a description of all possible return codes Not used on entry On return this field may contain a value giving additional information after an exception condition Not used on entry On return this field may contain a value giving additional information after an exception condition Name of database containing object to be deleted For batch and TSO applications this should be identical to the database name specified or defaulted in the corresponding connect database request A default value of V100 DD name of OTASV100 is used for the database name if this field is set to spaces or binary zeroes For CICS applications this field should specify the last four characters of the CICS FCT entry for the database s primary index dataset Pointer to the field containing the primary key of the NearArchive object to be deleted The length of the primary key field addressed by this entry should be equal to the primary key 4 37 length specified during database initializ
457. mins This gives the current value of the TSQDELETE parameter specifying the number of minutes for which a temporary storage queue containing a retrieved object in any CICS region in the MRO configuration containing the NearArchive control region is to be retained after retrieval A new value may be entered in order to amend the active TSQDELETE value Valid entries must be numeric and in the range 0 1440 A value of 0 disables the NearArchive temporary storage housekeeping facility and will cause all object retrieval requests to be satisfied from tape irrespective of whether the object has previously been retrieved to CICS temporary storage Maximum wait time for tape requests mins This gives the current value of the TAPEWAIT parameter specifying the maximum number of minutes for which object retrieval requests are to be queued internally if insufficient resources e g tape drives are available to process the request ASM for S 390 will process requests queued internally in this manner when sufficient resources become available A queued request will be rejected with a resource unavailable condition return code 21 if the maximum wait time as specified in this parameter is exceeded before sufficient resources become available A new value may be entered in order to amend the active ASM for S 390 v2 5 User Manual 6 28 TAPEWAIT value Valid entries must be numeric and in the range 0 1440 A value of 0 disabl
458. mulated nnn must be a numeric value in the range 1 to 999 If this parameter is omitted when running in simulate mode the system run date will be used for object management simulation Dataset names should be set as follows for each DD entry STEPLIB The name of the NearArchive version 2 product library as unloaded during the product installation procedure see chapter 2 OTASV100 The name of the primary index of the database to be processed by the utility The utility will only process one NearArchive database per execution SYSPRINT The destination of the utility report file If required the report may be written to a sequential dataset with record format FBA and a logical record length of 133 bytes SORTOUT This is an optional entry which if specified identifies a temporary disk dataset to be used by the object management utility when sorting the list of objects which have been selected by the utility for migration between storage levels If specified it should be coded as illustrated in the sample JCL above where XXXXXXxx is the unit name to be used for allocation of the dataset ASM for S 390 v2 5 User Manual 7 34 y and z are the primary and secondary allocations to be used when creating the temporary dataset These should be large enough to hold information for all the objects which have been selected for migration in the current or restarted execution of the utility There will b
459. n Refer to section 2 8 4 for a full description of the definitions required for these file control table entries Note that the high level qualifier used to generated system dataset names for the IVP procedure is that entered during IVP database definition processing as specified in section A 2 1 In addition update access will be required to files OTASTEST and OJRNTEST if archived objects are to be deleted during online IVP processing ASM for S 390 v2 5 User Manual A 8 A 4 Running the Batch IVP A series of eight batch jobs has been supplied to verify the installation of ASM for S 390 Each should be submitted in sequence after the previous job has completed successfully Before submitting each job update the JCL as follows e adda valid JOB card e amend the STEPLIB DD card to specify the product and IVP load libraries as unloaded from the distribution tape during the product installation process e amend the OTASV100 DD card to specify the name of the primary index dataset defined during IVP database initialization processing see A 2 1 above e where necessary amend the SYSIN DD card to update the name of the corresponding IVP test dataset as unloaded from the distribution ape during the product installation process After each job has completed check that the call audit reports are identical to the sample reports given in figures A 1 to A 8 A 4 1 The batch archival IVP The first three jobs archiv
460. n TKEY x EY y e ET EPLIB DD DSN NearArchive load library DISP SHR ASM for S 390 v2 5 User Manual 7 6 OTASV100 DD DSN Database primary index name DISP SHR SYSPRINT DD SYSOUT The following optional EXEC parameters may be specified COUNT The COUNT parameter is used to restrict the number of main index entry MIE records processed during execution of the utility The value n of this parameter may consist of from 1 to 15 numeric digits and specifies the maximum number of MIE records to be processed by the utility There will be one MIE record in the index for each unique primary key value in the database An MIE record may index multiple objects sharing the same primary key value each object will have a different archive date associated with it If this parameter is not specified then processing of the utility will continue until the primary key value specified in the ENDKEY parameter has been processed or until end of file is reached if the ENDKEY parameter is not specified If the COUNT parameter is specified then the ENDKEY parameter may not also be specified A validation error is returned by the utility if both these parameters are present STARTKEY The STARTKEY parameter is used to control the point in the index at which the sequential scan process is to start The value x specified in this parameter must consist of a string of characters e
461. n ASM for S 390 v2 5 User Manual 7 39 7 55 OTASP070 the NearArchive Journal Maintenance Utility The journal maintenance utility is provided in order to enable analysis and archival of the entries in a NearArchive database s journal dataset and to clear the contents of the dataset after analysis A NearArchive database s journal dataset is automatically created when the audit trail facility is first enabled for that database via the NearArchive database administration ISPF dialogs It is used to log all updates to the database The audit trail facility may be enabled and disabled as required Journal entries are automatically created by NearArchive when updating a NearArchive database for which the audit trail facility has been enabled Entries will be accumulated in the database s journal dataset The journal maintenance utility will clear the contents of the journal dataset after successful execution If journal archiving has been enabled for a NearArchive database the journal maintenance utility will archive all entries from the journal dataset to the database s journal archive database before clearing its contents The journal archive database is a special NearArchive database which is used for archival of a database s journal entries It is automatically defined and initialized when the journal archiving facility is first enabled for a NearArchive database via the NearArchive database maintenance ISPF dialogs The journal
462. n 0 2 Char Request code 01 access NearArchive database 02 access object 03 access database definition 04 access CICS control region configuration 2 2 Bin Access type 1 Read access 2 Update access 3 Alter access 4 Create access 4 2 Char Response code ASM for S 390 v2 5 User Manual 2 29 Offset Length Type Description 00 allow access request 08 reject access request Any other response code will cause access to be rejected 6 8 Char Requester s jobname 14 8 Char Requester s user identifier 22 4 Char Requester s transaction identifier CICS requests only 26 4 Char Database identifier set for request codes 017 02 only 30 44 Char Database primary index dataset name set for request code 03 only 74 2 Bin Primary key length set for request code 02 only 76 4 Ptr Address of field containing object key set for request code 02 only 80 4 Ptr Address of field containing object archive date set for request code 02 only 2 10 Conversion of pre v2 5 databases NearArchive databases created using releases of the product prior to v2 5 must be converted for use with this release of the product ASM for S 390 v2 5 will not process unconverted databases Any attempt to run the new release of the product against an unconverted database will have one of the following consequences e database open calls issued to Ne
463. n parameters which may be specified for the utility OTS02011 STARTBLK VALUE MUST BE GREATER THAN ZERO Explanation Action An invalid value has been specified in the STARTBLK parameter Execution of the utility is terminated Correct the invalid parameter entry and rerun the job Refer to section 7 1 for a description of the execution parameters which may be specified for the utility OTS02098 UNABLE TO OPEN SYSPRINT DATASET Explanation Action An error has occurred opening the SYSPRINT dataset Refer to other available system messages to discover the cause of the open failure Correct the error and resubmit the job ASM for S 390 v2 5 User Manual 8 28 8 5 Database Maintenance Utility Messages OTS03000 NEARARCHIVE DATABASE MAINTENANCE UTILITY COMPLETED WITH CONDITION CODE xx Explanation This informational message is issued when the database maintenance utility has completed processing xx is the highest condition code encountered during this execution Action No action necessary OTS03001 OPEN FAILED FOR dddddddd RETURN CODE X xx REASON CODE X yy Explanation A VSAM open error has occurred when opening the identified NearArchive dataset xx and yy are the hexadecimal return and reason codes returned from the VSAM OPEN macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corr
464. n VSAM macro processing for details of the displayed return and reason codes Take the appropriate corrective action and retry the ISPF request OTS49003 ERROR X xxxx RECEIVED FROM aaaaaaaa REQUEST Explanation Return code xxxx has been received while processing an operating system service request aaaaaaaa can take the following values PROGLOAD an error has occurred attempting to dynamically load a NearArchive program module GETMAIN an error has occurred trying to obtain virtual storage in the TSO region Action Refer to the appropriate IBM documentation for a description of the return code Take the appropriate corrective action and retry the ISPF request OTS49004 ERROR xx REASON X yyyyzzzz ALLOCATING FILE aaaaaaaa DATASET bbbbbbbbbbbbbbbbbbbbbbbbbbbb Explanation An error has occurred dynamically allocating dataset aaaaaaaa xx gives the return code and yyyy and zzzz the error and information codes respectively from the dynamic allocation request Action Refer to IBM documentation on dynamic allocation processing for a description of the error and information codes Take the appropriate corrective action and retry the ISPF request ASM for S 390 v2 5 User Manual 8 135 OTS49006 ERROR xx REASON X yyyyzzzz DE ALLOCATING FILE aaaaaaaa Explanation An error has occurred dynamically de allocating dataset aaaaaaaa xx gives the return code and yyyy and zzzz the e
465. n from NearArchive W02 DATA will contain the formatted items returned by NearArchive This field should be large enough to hold the number specified in the previous field The length of each formatted item is primary keylength 24 In this example the primary keylength is 22 characters each formatted item will therefore be 46 bytes long A maximum of 3 formatted items per data area may be accepted by the calling program 7 On return to the calling program NearArchive sets a 2 digit numeric code in the return code field of the parameter block to indicate the success or otherwise of the NearArchive call Non zero return codes may have one or two supplementary codes set in fields 1 and 2 A return code of 00 and supplementary code 1 value of 4 indicates that not all index entries have been returned in the parameter area Further query calls should be issued by the program to return remaining entries for the specified secondary key and date A return code of 31 indicates that the secondary key specified in the parameter block is not present in the NearArchive database ASM for S 390 v2 5 User Manual B 12 B 2 3 Retrieve Data Record Direct Retrieval EARARCHIVE CALL PARAMETERS RM C100 INIT NEARARCHIVE PARMS 42 l O W02 REQUEST CODE 1 l O W02 SUPP CODE1 V100 l O W02 DATABASE NAME W02 KEY POINTE l O ADDRESS OF W06 KE W06 DATE lO WO2 DATE 131 l O W02 DATA LENGTH
466. n of the object archival job Following successful completion of archival processing the secondary index update utility OTASPO80 should be run as normal for each secondary index being updated asynchronously Any duplicate entries in the input file to this utility which may result from restart of the archival process will not be processed by the utility 5 2 3 Database Backup and Recovery A NearArchive database consists of the following components a multiple single volume tape datasets maximum 65535 per storage level b optionally up to 256 disk copy datasets for each primary tape dataset c a primary index dataset VSAM KSDS d one space management dataset per database storage level VSAM KSDS e one secondary index dataset VSAM KSDS for each secondary index that has been defined for a database f a database journal dataset VSAM ESDS Only created if the NearArchive audit trail facility has been enabled for a database g a migration control dataset VSAM ESDS Only created if multiple storage levels have been defined for a database System disk datasets items c to g above should be backed up after update using standard disk dataset backup procedures Although no NearArchive dataset restore activity is required prior to rerunning a failed archival job see section 5 2 2 these backups will be required in the event of loss of a dataset through accidental deletion or media failure Backup and recovery of
467. n this field indicates that retrieval is to start from the beginning of the archived object If the record number supplied in this field is beyond the end of the object NearArchive will pass a return code of 04 and supplementary code 1 value of 1 back to the calling application No object records will have been retrieved Object length This field should contain a non negative binary value which identifies the number of records to be retrieved from the object starting at the record position identified in the preceding field A value of 0 indicates that object retrieval is to continue until the end of the object is encountered For non zero values if the end of the object is encountered before the specified number of records has been read NearArchive will pass a return code of 04 and supplementary code 1 value of 2 back to the calling application The retrieval TSQ will contain all records retrieved from the object prior to the end of object condition being encountered Data buffer length Not used for this request type Data buffer Not used for this request type Usage Notes 1 The temporary storage queue to be used by NearArchive to hold a retrieved object will be created by NearArchive if it did not exist prior to the request If the temporary storage queue was already in existence NearArchive will automatically delete it prior to retrieving the object 2 NearArchive will automatically delete temporary storage
468. nabled the application should issue a connection request with rerun output access when next updating the database ASM for S 390 v2 5 User Manual 4 44 CHAPTER 5 Batch Processing ASM for S 390 v2 5 User Manual This page is intentionally left blank ASM for S 390 v2 5 User Manual 2 ASM for S 390 supplies high level interfaces which enable customer application systems to invoke NearArchive archival and retrieval functions from batch and online programs These are activated via a CALL interface for batch programs and a CICS command level LINK interface for online programs A parameter block in the CALL interface or CICS communication area is used to communicate requests and responses This chapter discusses interface requirements for batch processing programs 5 1 Invoking NearArchive from batch programs Calls to NearArchive from batch processing programs are made by issuing standard CALL statements as implemented for the programming language used to develop the calling application to the NearArchive module OTASP100 This module is supplied on the distributed ASM for S 390 load library and must be linked in to the calling program at link edit time in order to satisfy the external reference Refer to section 4 1 for information on invoking NearArchive from a batch program using the new application program interface introduced with version 2 4 Refer to appendix D for information on invoking NearArchive using th
469. nce This option enables maintenance of general database attributes which apply to all storage levels in a NearArchive database 2 Secondary index maintenance Choose this option to define new secondary indexes for the database or to update or delete the definition of existing secondary indexes 3 Storage level maintenance Choose this option to add a new storage level to the database or to maintain database attributes relating to an existing storage level OTSN4200 NearArchive V2 5 Database Maintenance Menu COMMAND gt Primary index name gt Option gt _ 1 Base database maintenance 2 Secondary index maintenance 3 Storage level maintenance Enter required option and press E Fig 3 4 Database maintenance menu panel OTSN4200 ASM for S 390 v2 5 User Manual 3 28 Enter on panel OTSN4200 the option corresponding to the type of database maintenance to be performed Sections 3 2 1 to 3 2 3 describe each of the above maintenance facilities 3 2 1 Base Database Maintenance The base database maintenance facility is invoked by entering option 1 on the database maintenance menu panel OTSN4200 This facility is used to maintain general database attributes which control processing in all storage levels of the database The following attributes may be amended via this facility refer to section 3 1 1 for a detailed description of the usage of each attribute e NearArchive user SVC number
470. nd The update request is rejected Action Enter a valid keyword parameter and re enter the SET command Refer to section 6 5 1 of the manual for a description of valid SET command parameters OTS26407 INVALID MAXDISK VALUE ENTERED REQUEST REJECTED Explanation An invalid value has been supplied in the MAXDISK parameter of the NearArchive CICS operator interface SET command The update request is rejected Action Enter a numeric value in the range 1 255 for the MAXDISK parameter and re enter the SET command Refer to section 6 5 1 of the manual for a description of valid SET command parameters ASM for S 390 v2 5 User Manual 8 128 OTS26409 ATTACH ERROR nnn UPDATING TERMINATED Explanation An error has been received attempting to attach a reader sub task when increasing the value of MAXDRIVE or MAXDISK nnn gives the decimal error code received from the ATTACH macro request Action Refer to IBM OS 390 macro documentation for a description of the error code Take the appropriate corrective action before repeating the request If no apparent reason for the failure can be identified contact your NearArchive product support representative OTS26410 GETMAIN ERROR nnn UPDATING TERMINATED Explanation An error has been received allocating OS 390 storage when increasing the value of MAXDRIVE or MAXDISK nnn gives the decimal error code received from the GETMAIN macro request Action Refer to IBM OS 390
471. ndard journal analysis processing a Sort the journal file into primary key archive date sequence b Process the sorted file and remove entries for duplicate update actions c Sort the remaining journal entries back into ascending timestamp sequence This additional procedure will require three sort work files to be allocated in the JCL see below Note that the journal file itself is not modified by this additional processing The journal utility may be restarted normally as discussed in section 7 3 6 following execution failure If the NODUPS parameter is specified the DATE parameter must not also be present in the execution parameters If the NODUPS parameter is omitted the additional processing specified above will not be performed and duplicate journal entries will not be removed DD cards for the sort work files need not be specified in the JCL used to execute the utility ASM for S 390 v2 5 User Manual 7 43 Dataset names should be set as follows for each DD entry STEPLIB The name of the NearArchive version 2 5 product library as unloaded during the product installation procedure see chapter 2 OTASV100 The name of the primary index of the NearArchive database to be processed by the utility The utility will only process one NearArchive database per execution SYSPRINT The destination of the utility report file If required the report may be written to a sequential dataset with record format FBA
472. ndex extended format Inn query secondary index nn extended format 200 volume serial number query On exit this field may contain a value giving additional information after an exception condition On entry identifies the search key length and sort sequence in which formatted index entries are to be returned to the application as follows The first byte is used when querying databases which have key values containing DBCS characters In these cases this byte should contain the length of the search key in bytes If the length is zero or is equal to the defined key length then a full key query will be performed If the length is non zero but less than the defined key length a generic query will be performed all objects that match the indicated bytes will be returned To retrieve all objects in the database specify a length of 1 x FF Ensure that this field contains the number of bytes and not the number of characters to be searched The first byte should be set to low values if the database does not have key values containing 4 15 Database name Primary key pointer ASM for S 390 v2 5 User Manual DBCS characters In all cases the second byte contains the sort options x 00 ascending date within ascending key x 01 descending date within ascending key x 02 ascending date within descending key x 03 descending date within descending key On exit this field may co
473. ndex file remove the comment markers from the VOL parameter in the DEFINE CLUSTER command and replace the string xxxxxx with the serial number of the volume on which the converted file is to be created Then submit the job ASM for S 390 v2 5 User Manual 3 59 The following JCL is provided in SAMPLIB member DB25CONV LIF STEP1 EXEC PGM IDCAMS SYSPRINT DD SYSOUT SYSIN DD DELETE index name NEW SET LASTCC 0 DEFINE CLUSTER NAME index name NEW MODEL index name VOL XXXXXX RECSZ 16380 65524 SPANNED IF MAXCC 0 THE REPRO IDS index name d zZ ODS index name NEW IF MAXCC 0 THEN DELETE index name IF MAXCC 0 THEN DO ALTER index name NEW NEWNAME index name ALTER index name NEW INDEX NEWNAME index name INDEX ALTER index name DATA E NEWNAME index name DATA END On successful completion of the job the database will be available for processing with version 2 5 of ASM for S 390 The maximum number of objects with the same primary key which may be stored in the converted database will range from 2039 for a primary keylength of 254 characters to 2047 for a primary keylength of 1 character Note that NearArchive databases used by Oracle s NearOAM product for storage of migrated OAM objects
474. ng can take place for a database A failed run of the utility will not remove this restriction ASM for S 390 v2 5 User Manual 7 57 7 7 OTASP110 the NearArchive Database Backup Utility The NearArchive database backup utility OTASP110 is used to create backup copies of tape datasets from within a NearArchive database The utility can operate in one of two modes e Full volume mode When executing in full volume mode the utility will identify all primary tape datasets which have been updated since the preceding execution of the utility against the selected database Each of these datasets will be backed up by copying the entire dataset to a full volume backup B copy dataset and or a duplex backup D copy dataset The utility may also be used in full volume mode to re create the duplex C copy of a primary copy dataset as created during database update processing or to create re create a disk K copy dataset Any existing full volume backup tape dataset will be automatically uncataloged by the utility prior to creation of the new full volume backup Any existing disk copy dataset will be deleted prior to re creation All tape backup volumes used by the utility should be of the same device type and capacity as that of the volume containing the corresponding primary copy dataset The utility will terminate with an error message if incompatible devices are found This error processing can be suppressed
475. nition Add new storage level Storage level number gt _ Fig 3 11 Storage level maintenance menu panel OTSN4230 ASM for S 390 v2 5 User Manual 3 45 OTSN4231 NearArchive V2 5 Storage Level Amendment COMMAND gt Primary index name gt OTAS V2R5 IVP INDE Storage level gt n Maximum blockcount per volume gt Unit name for tape alloc A gt C gt Migrate from storage level after Tape usage options ICRC tion period gt Dynamic load balancing Expiry date gt Volsaf nabled A G D b maintenance options Duplexing options Recycle threshold Duplex during archival gt _ AUTOUNCAT during recycle Duplex during backup gt _ Disk compress threshol Disk copy options Unit name gt Primary alloc gt Retention gt days Secondary alloc gt Release unused space gt _ Dataset blocksize gt Maximum blockcount per segment gt Fig 3 12 Storage level amendment panel OTSN4231 3 2 3 1 Update Storage Level Definition The storage level amendment panel OTSN4231 will be displayed when option update storage level definition is selected from the storage level maintenance menu panel OTSN4230 Existing values for the selected storage level will be displayed on this panel These values may be amended as required Refer to section 3 1 2 for a description of the content and usage of th
476. nput output open request supplementary code 1 2 if it requires to delete objects from the NearArchive database Unnecessary use of input output processing may reduce batch job throughput by enforcing serialisation of jobs which require update access to a NearArchive database 2 A request to open a NearArchive database for input output processing will fail if the database is already open for update by another job batch or CICS In these circumstances the open request will receive a return code of 94 with supplementary codes 1 and 2 set to X 0100 and X 08A8 respectively If this occurs the job should be re submitted when the database is available for update processing 3 An open database request must be the first request issued when processing a NearArchive database All other types of request will be rejected if a database has not been opened successfully 4 The final three fields in the parameter interface area replace those fields specified with request code 35 in version 1 of the product Request code 35 is no longer in use D 3 2 Request Code 31 Query Index A query index request is issued by an application to obtain a formatted list of index entries primary or secondary for a specified primary or secondary key value The maximum number of formatted entries which may be accepted by the application is set in the data length field when the call is issued On return from NearArchive this field will hol
477. ns Stalled request timeout value mins ASM for S 390 v2 5 User Manual 6 26 Current values of the MAXQLEN MAXDRIVE MAXDISK TSQDELETE TAPEWAIT and TIMEOUT control region initialization parameters will be displayed on entry to this option Any of these values may be amended by the NearArchive CICS operator On pressing enter the new values will be processed The invalid alteration of any of these parameters will be rejected and an error message displayed on the last line but one of the display screen Valid alteration of either parameter value will cause ASM for S 390 to internally update these parameters before returning control to the operator The new values will be effective immediately and will remain active until the NearArchive control region is quiesced On next initializing the NearArchive control region the values for these parameters supplied in the OTASS100 parameter file will once again become effective The displayed fields are as described below Maximum length of request queue allowed This gives the current value of the MAXQLEN parameter which specifies the maximum number of concurrent requests which will be queued by the NearArchive control region for any one active tape dataset A new value may be entered in order to amend the active MAXQLEN value Valid entries must be numeric and in the range 1 256 Any request which causes the MAXQLEN value to be exceeded will be rejected by ASM for S 390 with r
478. ntact your NearArchive product support representative if there is no apparent reason for the error OTS04516 INTERNAL ERROR AT LOCATION xxxxxxxx ERROR CODE X yyyyyyyy Explanation An internal error has occurred during execution of the utility Action Retain all information regarding execution of the utility and contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 58 OTS04517 RETURN CODE aa SUPP CODES X bbbbcccc RETURNED FROM OTASP352 REQUEST CODE dd AT LOCATION eeeeeeee Explanation An error has occurred during internal NearArchive processing when retrieving an object from tape during migration processing aa bbbb and cccc are the return and supplementary codes from the internal call dd is the request code Processing is terminated Action Refer to NearArchive documentation for details of the request and return codes Take the appropriate corrective action and restart the job If the cause of the error is not obvious contact your NearArchive product support representative OTS04518 RETURN CODE aa SUPP CODES X bbbbeccc RETURNED FROM NEARARCHIVE REQUEST CODE dd AT LOCATION eeeeeeee Explanation An error has occurred during internal NearArchive processing when writing an object to tape during migration processing aa bbbb cccc and dd are the return supplementary and request codes from the NearArchive call Processing is terminated Action
479. ntain a value giving additional information after an exception condition Name of database to be queried For batch and TSO applications this should be equal to the database name specified or defaulted in the corresponding connect database request A default value of V100 DD name of OTASV100 is used for the database name if this field is set to spaces or binary zeroes For CICS applications this should be the last four characters of the CICS file control table entry for the primary index of the database to be queried the first four characters are always set to OTAS Pointer to the field containing the primary search key This field is only required for primary index or volume serial number queries supplementary code 1 0 100 or 200 The length of the primary key field addressed by this entry should be equal to the primary keylength specified during database initialization processing A full or generic primary key value may be specified in this field Generic key specifications consist of a string of characters of length 0 to k 1 bytes where k is the database primary keylength followed by an 4 16 Object archive date TSQ name Object start position Object length ASM for S 390 v2 5 User Manual asterisk and trailing spaces if required The total field length must always be equal to the database s primary keylength NearArchive will return each object whose primary
480. ntenance utility has been requested RESTART NO but the NearArchive database being processed is in an uncommitted state Processing of the utility is terminated Action A NearArchive database cannot be opened for normal processing when it is in an uncommitted state Identify ASM for S 390 v2 5 User Manual 8 38 the database update process which terminated abnormally and left the database in this condition This update process will need to be restarted If the database has been left in an uncommitted state after failure of the previous execution of the database maintenance utility rerun the utility with an EXEC parameter of RESTART YES OTS03032 PROCESSING TERMINATED BY OPERATOR REQUEST Explanation Execution of the utility has been terminated after input of an operator STOP command Action None This is an informational message OTS03034 DATABASE IN UNCOMMITTED STATE OBJECT ARCHIVAL MIGRATION PROCESS INCOMPLETE Explanation The database being recycled is currently in an uncommitted state due to an incomplete object archival or migration process as indicated in the message Processing of the utility is terminated Action The recycle utility will not process a database when another incomplete update process is still outstanding Ensure that the outstanding archival or migration process is run to completion before rerunning the recycle utility OTS03035 INTEGRITY FAILURE IN STORAGE LEVEL s SPACE MANAGEMENT
481. ntered on this panel will be used during creation of the journal dataset VSAM ESDS for the database being defined Note that panel OTSN4303 differs from the other AMS control panels in that only one CI size parameter is specified This is due to the fact that the journal dataset is an ESDS and consequently does not contain an index component NearArchive 2 5 Access Method Services Control Primary index name gt Primary index control Primary all Secondary al Volume serial number Unit of allocation ocation value Vv Vv location value Vv Loi oi tt oll vV Data CI size Index CI size gt Delete b fore define gt _ Y N Press EN TER after all After all the primary index wil details have been entered correctly database definition parameters have been accepted l be allocated and initialized Fig 3 3 Access Method Services control panel OTSN4302 3 OTSN4304 the journal archive database AMS control panel This panel will only be displayed if both the audit control facility and journal archiving were enabled on panel OTSN4300 Values entered on this panel will be used during creation of the journal archive database primary index dataset VSAM KSDS Panel OTSN4302 is illustrated in figure 3 3 Each of the above panels will contain some or all of the following fields ASM for S 390 v2 5 User Manual
482. ntry On exit may contain a value giving additional information after an exception condition Database name Name of database to be accessed This four character identifier should specify the last four characters of the CICS file control entry for the primary index of the database to be queried the first four characters are always set to OTAS ASM for S 390 v2 5 User Manual D 19 Primary key primary key of NearArchive object to be retrieved The length k of this entry should be equal to the primary key length specified during database initialization Archival date archive date in format YYMMDD of NearArchive object to be retrieved If the archive date on entry is set to 000000 NearArchive will return the oldest object with the specified primary key If the archive date on entry is set to 999999 NearArchive will return the newest object with the specified primary key value In each of these cases the archival date field on return from NearArchive will contain the actual archive date of the retrieved object TSQ name the name of the temporary storage queue in which NearArchive will place the logical records from the retrieved NearArchive object Secondary key not used for this request code Usage Notes 1 The temporary storage queue to be used by NearArchive to hold a retrieved object will be created by NearArchive if it did not exist prior to the request If the temporary storage queue was already in e
483. nual 3 4 used for data retrieval and dataset recovery purposes This procedure also allows enabling or disabling of the NearArchive disaster recovery option This option enables all tape datasets in a NearArchive database to be accessed from a specified backup copy identifier in cases where an entire database is unavailable 5 Convert a database created with an earlier release of the product for use with version 2 5 V2 5 of ASM for S 390 will reject requests to process any pre v2 5 database which has not been converted for use with this release This option will allow a pre v2 5 database to be automatically converted via the TSO ISPF database administration dialog Note that no tape dataset access or conversion is required during the database conversion process This chapter provides detailed information regarding each of the above procedures 3 1 Definition of a New NearArchive Database To enter the NearArchive database administration facility select the appropriate option from your main ISPF application menu Consult the person s responsible for installing and implementing ASM for S 390 on your system for precise details on how to invoke the NearArchive database administration facility on your TSO ISPF system NearArchive database definition processing may be initiated by entering option 3 from the main database maintenance facility menu OTSN4000 and entering the name to be used for the database s primary index dataset
484. ny subsequent access to that dataset will be satisfied from the primary dataset copy Note that volumes in recovery status which have been marked with an X copy i e unavailable volumes will not be processed by this utility This utility should be used to recover individual tape cartridge volumes which have become unavailable due to media failure or for some other reason and also to recover all tape datasets in a NearArchive database after loss of a complete database ASM for S 390 v2 5 User Manual 7 70 7 8 1 Functions The NearArchive database recovery utility performs the following functions e Processes all recovery control entries in a single storage level or all storage levels of a NearArchive database e For each tape dataset which is in recovery status with a copy identifier of B C or D the utility will recreate the primary dataset A copy The existing primary dataset will be uncataloged prior to recovery The utility will recover from the backup copy identified in the recovery control entry unless the COPYFULL execution parameter is specified in which case it will use the backup copy identified in this parameter In these circumstances this backup copy will be used to recover all datasets which are in recovery status irrespective of which copy has been designated for recovery control via the NearArchive database administration process in TSO ISPF e The utility will recover
485. o been defined for the database being regressed then the file should also contain the following AMS parameters DELETE DEFINE hlq SPACENL1 CLUSTER NAME hlq SPACENL1 SHR 2 3 VOL XXXXXX REC 1000 1000 RECSZ 24 24 N UMBERED DELETE hlq MIGCNTLX EFINE CLUSTER J NAME hlq MIGCNTLX C 3 MODEL h1lq MIGCNTL RECSZ k 16 k 16 where hlq and xxxxxx are as defined above and k is the database primary keylength OTASIDC2 The name of the second AMS parameter input file This must be a sequential disk dataset with record format FB fixed blocked and a logical record length of 80 bytes This file is used to supply AMS parameters to enable the utility to rename the existing space management file and to rename the newly created space management file to that of the existing file for each storage level in the database being regressed The file must be allocated prior to execution of the utility and should be initialized prior to use with the following AMS parameters E old sl0 space mgmt filename q SPACEMLO EWNAME old sl0 space mgmt filename MO DATA ME oOld sl0 space mgmt filename DATA 0 IX EF old sl0 space mgmt filename IX ENLO E hlq SPACEMLO ENLO DATA E hlq SPACEMLO DATA eos Ze
486. ob will become available when that job terminates and may be acquired by NearArchive during allocation retry processing If no drive becomes available before the number of allocation retries has been exhausted NearArchive will fail the application request with a dynamic allocation error code 8 22 Database Initialization Messages OTS49001 RETURN CODE xx RECEIVED FROM ISPF yyyyyyyy REQUEST ACCESSING RESOURCE aaaaaaaa Explanation Return code xx has been received from the ISPF dialog manager during execution of ISPF request yyyyyyyy Action Refer to IBM documentation on ISPF dialog manager processing for details of the return code Take the appropriate corrective action and retry the ISPF request OTS49002 ERROR X xxyy RECEIVED aaaaaaaa RECORD bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb IN DATASET eecceeeccceeeececececececececeeeececeececcecce Explanation A VSAM I O error has occurred when processing a NearArchive system dataset Some or all of the following operands may appear xx the return code from the VSAM I O request yy the reason code from the VSAM I O request aaaaaaaa the process being performed This may take the following values READING WRITING ASM for S 390 v2 5 User Manual 8 134 UPDATING DELETING bbbb bbbb describes the record on which the operation is being performed eccc cccc the dataset name Processing is terminated Action Refer to IBM documentation o
487. obtain help information regarding panel definition entries press PF1 once more If this is the first storage level defined for the NearArchive database other than the base storage level 0 the Access Method Services AMS control panel OTSN4306 will be displayed to allow customization of AMS parameters used to define the NearArchive database s migration control dataset OTSN4306 NearArchive V2 5 Access Method Services Control COMMAND gt Primary index name gt Migration dataset control Vv Volume serial number Unit of allocation Primary allocation value Secondary allocation value CI size Vv Vv a vV Vv Delete before define gt _ Y N ER after all details have been entered correctly Fig 3 13 Access Method Services control panel OTSN4306 The AMS control panel for migration control dataset definition is illustrated in figure 3 13 The migration control dataset is automatically defined during definition of the first storage level for a NearArchive database after the base storage level 0 This dataset is an entry sequenced VSAM dataset ASM for S 390 v2 5 User Manual 3 48 A description of the content and usage of all fields displayed on panel OTSN4306 may be found in section 3 1 3 The migration control dataset for a NearArchive database will consist of fixed length records each of length k 32 bytes where k is the database s prima
488. ocedures 2 32 NEARARCHIVE DATABASE DEFINITION AND MAINTENANCE 3 1 3 1 Definition of a New NearArchive Database 3 5 3 1 1 Base Database Definition 3 7 3 1 2 Storage Level 0 Definition 3 12 3 1 3 Access Method Services Control 3 21 3 1 4 System Dataset Sizing 3 25 3 2 Maintenance of a NearArchive Database 3 28 3 2 1 Base Database Maintenance 3 29 3 2 2 Secondary Index Maintenance 3 34 3 2 3 Storage Level Maintenance 3 45 3 3 Browse a NearArchive Database Definition 3 49 3 4 Recovery Control Processing 3 50 3 4 1 Volume recovery unavailable volume processing 3 52 3 4 2 Set Disaster Recovery 3 56 3 4 3 Unset Disaster Recovery 3 57 3 5 Pre v2 5 Database Conversion Processing 3 57 3 5 1 Increase maximum primary index record size 3 59 THE NEARARCHIVE PROGRAMMING INTERFACE 4 1 4 1 Invoking NearArchive 4 3 4 2 The NearArchive program interface 4 4 4 3 NearArchive Request Codes 4 7 4 3 1 Request Code 40 Connect to a NearArchive Database 4 8 4 3 2 Request Code 41 Query a NearArchive Index 4 14 4 3 3 Request Code 42 Retrieve an Object Record 4 23 4 3 4 Request Code 43 Retrieve a Complete Object 4 28 4 3 5 Request Code 44 Write a Data Record 4 31 4 3 6 Request Code 46 Identify Secondary Key 4 34 4 3 7 Request Code 47 Delete an Object 4 37 4 3 8 Request Code 48 Commit Updates 4 39 4 3 9 Request Code 49 Disconnect a NearArchive Database 4 42 BATCH PROCESSING 5 1 5 1 Invoking NearArchive from
489. olumes and a maximum of 16 777 214 blocks See table E 1 for examples of capacity for different devices and blocksizes Implementation requires SMS volumes and ACS routines Dataclas Storclas for K copy allocation CAPACITY Gb 28k blksize 1k blksize 2 track 34 track PS non SMS 3390 3 2 8 1 7 9 3 7 a9 EFDS 3390 3 2 8 1 7 9 8 4 5 1 Striping 3390 3 44 8 16 7 9 134 16 7 Table E 1 Maximum disk K copy capacity by file type device type and blocksize E 2 Disk K Copy Blocksize Considerations To maximize utilization of disk space you should consider carefully the choice of disk blocksize for each NearArchive database Under no circumstances should you exceed half track blocksize 23 476 for 3380 27 998 for 3390 Additionally keep in mind that when written to disk NearArchive blocks are not shared between archived objects That is each object will occupy 1 or more unique blocks Therefore the optimum blocksize would be one that is slightly larger than average object size not to exceed the upper limit of half track blocksize Additional considerations apply to EFDS While ASM for S 390 writes variable blocked records logically SMS writes fixed length blocks physically expanding short blocks to the actual blocksize with padding bytes For example if blocksize were set to 1000 and an object of 1020 is archived 2 blocks of 1000 each would be written to disk essentially ASM for
490. on code of 4 will be generated and processing will continue normally Otherwise execution of the utility will be terminated Action Due to differences in block identification structure a 3590 format tape volume may not be restored to a 3490 ASM for S 390 v2 5 User Manual 8 95 format tape volume If this condition has occurred ensure that volumes of the same device type are used for tape input and output and rerun the job A 3490 format tape volume may be restored to a 3590 format volume but performance may be degraded significantly when retrieving objects directly from the backup volume should the primary volume be placed in recovery status at some future date To avoid this condition ensure that volumes of the same device type are used for tape input and output OTS13029 CAPACITY MISMATCH OUTPUT DUPLEX xx GB VOLUME HAS LESS CAPACITY THAN INPUT yy GB VOLUME Explanation There is a volume capacity mismatch between the backup volume being processed and the volume being restored xx and yy identify the input and output tape volume capacities respectively If the NODEVCHECK execution parameter is specified a condition code of 4 will be generated and processing will continue normally Otherwise execution of the utility will be terminated Action The NearArchive database recovery utility requires that a tape volume used for the primary dataset being restored is not of lower capacity than the volume contain
491. on procedures 2 11 2 1 Install distribution libraries ASM for S 390 v2 5 is distributed on a standard labeled magnetic tape cartridge in SMP E RELFILE format The cartridge has a serial number of OTS250 The distribution tape will contain the following datasets File Dataset name 1 SMPMCS 2 STK SOTS250 F1 3 STK SOTS250 F2 4 STK SOTS250 F3 5 STK SOTS250 F4 ASM for S 390 v2 5 User Manual Contents SMP E modification control statements for installation of the product SMP E JCLIN file Partitioned dataset in IEBCOPY UNLOAD format containing JCL for use during product installation ASM for S 390 distribution load library ASM for S 390 ISPF panel 2 4 File 10 11 S1 Dataset name Contents library STK SOTS250 F5 ASM for S 390 ISPF message library STK SOTS250 F6 ASM for S 390 ISPF skeleton JCL library STK SOTS250 F7 ASM for S 390 sample source code library STK SOTS250 F8 ASM for S 390 IVP load library STK SOTS250 F9 ASM for S 390 IVP JCL library STK SOTS250 F10 ASM for S 390 IVP test data To install ASM for S 390 perform the following steps 1 Copy the installation JCL file 3 from the distribution tape to disk The following JCL may be used for this purpose EXEC PGM IEBCOPY SYSPRINT DD SYSOUT SYSIN DD DUMMY SYSUT1 DD DISP OLD KEEP UNIT unit name VOL RETAIN SER OTS250 LABEL 3 SL EXPDT 98000
492. on the tape drive after all outstanding retrieval requests have been completed This will improve retrieval performance for subsequent accesses to that volume Volumes not in this category will be automatically dismounted after use irrespective of the tape drive retention value specified in the preceding field Refer to section 6 4 1 of this manual for additional information on this topic Enter the range of ages in days which is to be used to control this processing Each value must be a 1 5 character numeric identifier in the range 0 65535 The value specified for the end of the age range must be greater than or equal to the value specified for the start of the age range If omitted a value of 0 is used for start and end values This value will mean that no tape volumes in this database will be retained on a drive during online object retrieval irrespective of the value specified in the preceding field 3 9 Audit trail on Optional entry Enter Y to enable the audit trail facility for this database This will cause all updates to the database to be logged in the database s journal dataset This dataset will be automatically created during database definition processing if the audit trail facility has been requested and the event will be recorded in the newly created journal file Enter N to disable the audit trail facility for this database If omitted a value of N is used for this entry audit trail facility disab
493. ons For batch and TSO applications gives the maximum number of formatted entries each k 24 bytes in length for compact queries k 32 bytes for extended queries or 6 bytes for volume serial number queries where k is the primary key length of the database which the application can accept in the data buffer field On return from NearArchive this field gives the actual number of formatted entries in the data buffer field On entry contains the full or generic secondary key value to be queried supplementary code 1 not 0 Unused on entry for primary key queries A full or generic secondary key value may be specified in this field Generic key specifications consist of a string of characters of length 0 to s 1 bytes where s is the secondary keylength followed by an asterisk and trailing spaces if required The total field length must always be equal to the keylength of the secondary index specified in supplementary code 1 e g if secondary index 05 has been defined for a database with key length of 6 characters a genericsecondary key length of 3 could return different primary keys for the following secondary key values ABC ABCD ABCDE ABCDEF etc A generic key specification consisting of a single 4 18 asterisk followed by s 1 spaces will cause NearArchive to return all objects in the database which are indexed in the specified secondary index
494. onsist of up to eight storage levels each storage level containing up to 65 535 individual tape datasets i e a maximum of 524 280 tape cartridge volumes per database e Sequential disk datasets Up to 256 datasets may exist for each primary tape dataset if disk K copy processing has been enabled during object archival Each dataset will contain a copy of one or more objects from the corresponding primary tape dataset Disk datasets are automatically deleted by the NearArchive object management or database maintenance utilities when no longer required e A primary index This is a VSAM KSDS which contains one variable length record for each unique primary key value in the database ASM for S 390 v2 5 User Manual 2 10 e One or more secondary indexes Each secondary index is a VSAM KSDS Up to 99 secondary indexes can be defined per NearArchive database e From one to eight space management datasets The space management dataset is a VSAM KSDS containing information about tape volume utilization for an individual storage level within a NearArchive database A maximum of eight space management datasets will be required per database Each space management dataset will contain one variable length record per tape cartridge volume in the corresponding storage level in the database e One database journal dataset This is a VSAM ESDS which is used to log all updates to a NearArchive database if the audit trail facility is enabled f
495. or that database The journal dataset is created when the audit trail facility is first enabled The minimum dataset configuration required for a version 2 NearArchive database consists of the following e One or more single volume tape datasets e A primary index dataset e One space management dataset All the above VSAM datasets are created and initialized automatically via the NearArchive database administration facility in TSO ISPF Tape and sequential disk datasets will be created automatically by ASM for S 390 during the batch archival process A full description of the NearArchive TSO ISPF database administration facility and its use in defining and maintaining a NearArchive database is given in chapter 3 of this manual 2 7 Batch implementation No special procedures are required for implementation of ASM for S 390 for batch archival and retrieval The only requirement is that the NearArchive request stub OTASP100 is linked into each batch program that requires access to the database in order to satisfy external references generated by the high level CALL interface used for ASM for S 390 requests ASM for S 390 v2 5 User Manual 2 11 In addition the NearArchive load library created in section 2 1 needs to be specified in the STEPLIB or JOBLIB concatenation for batch archival or retrieval jobs or else to be present in the system linklist concatenation Programs link edited with a prior version of OTASP100 do not
496. orage level to the database add a new secondary index to the database amend an existing secondary index definition ASM for S 390 v2 5 User Manual 3 3 OTSN4000 COMMAND gt NearArchive V2 5 ENTER OPTION Database Maintenance Facility Option gt Primary index name gt Browse database definition Update database definition Base database initialization Recovery control Pre v2 5 database conversion oa BUNE l Enter required option and press ENTER C Copyright StorageTek Corp 1999 2001 Fig 3 0 database administration entry panel OTSN4000 3 Browse a NearArchive database definition A NearArchive database administrator will be able to browse an existing NearArchive database definition to display the following details base database definition values e definition of each storage level in the database definition of all secondary indexes defined in the database volume recovery entries in each storage level of the database 4 Maintain recovery control entries for the database This procedure allows the database administrator to define amend or delete a recovery control entry in any storage level in the database Recovery control entries are created by the database administrator when a tape cartridge volume becomes unavailable due to media failure or loss These entries are used to specify backup copies to be ASM for S 390 v2 5 User Ma
497. parameter interface block e Ifa NearArchive object contains multiple logical records issue repeated retrieve object record requests for the object Each request will return the next logical record for the identified object e For direct retrieval requests when all logical records belonging to the NearArchive object have been returned by ASM for S 390 a return code of 30 will be passed back to the calling application in response to the next retrieve object record request In this case the calling application should identify the next NearArchive object to be retrieved and issue a retrieve object record request specifying the primary key and archive date of the new object Retrieval of all logical records for the new objects may then be performed through repeated retrieve object record calls as specified above e For sequential retrieval requests the first logical record of the next sequential NearArchive object in the database will be returned by ASM for S 390 in the above circumstances In this case the object s primary key and archive date will be updated in the NearArchive parameter area to correspond to that of the new object The application may then continue to issue retrieve object record requests to proceed with sequential processing of the database e Note that an application may switch from direct to sequential processing of a database and vice versa by altering the parameters in the re
498. pe or disk reader task queue e Timestamp 3 the time that the request was read from its request queue by the tape or disk reader task e Timestamp 4 the time that control was returned to the calling application after all records in the retrieved object had been written to CICS temporary storage The intervals between successive timestamps in the SMF record will correspond to the following components in the CICS object retrieval process 1 Timestamp 2 Timestamp 1 This is the time taken for ASM for S 390 to validate a request and add it to a tape or disk reader task queue 2 Timestamp 3 Timestamp 2 This is the time the request spent in the tape or disk reader task queue 3 Timestamp 4 Timestamp 3 This is the time taken by the tape or disk reader task to locate the object and copy it to CICS temporary storage 4 Timestamp 4 Timestamp 1 This interval gives the total response time for ASM for S 390 to process the object retrieval request ASM for S 390 v2 5 User Manual 6 31 This page is intentionally left blank ASM for S 390 v2 5 User Manual 6 32 CHAPTER 7 NearArchive Utilities ASM for S 390 v2 5 User Manual This page is intentionally left blank ASM for S 390 v2 5 User Manual 7 2 ASM for S 390 incorporates a number of batch utilities which provide a range of support facilities for controlling and maintaining a NearArchive database and its operating environment
499. piry date value may be entered for each storage level but not both If both entries are omitted a default retention period expiry date will be allocated by the tape management product in use on the system if present Optional entries Values entered in these four fields are used by ASM for S 390 when dynamically allocating primary or backup copies of new tape datasets in storage level 0 in this NearArchive database to control whether a tape volume with the Sun Oracle Volsafe data protection feature is to be used for the new tape dataset Enter Y if Volsafe is required for the corresponding tape copy or N if Volsafe is not required ASM for S 390 will ensure that the 3 15 Recycle threshold Autouncat during recycle Disk compress threshold ASM for S 390 v2 5 User Manual Volsafe feature is present or absent depending on the value of the corresponding field when allocating a scratch tape in storage level 0 in the database Allocation will be rejected if the Volsafe status of the scratch volume does not match that requested A default value of N is used if no field entry is made Optional entry Enter a value giving the recycle threshold percentage of active objects on a tape cartridge volume in storage level O in this NearArchive database This should be a numeric value in the range 0 99 If the percentage of active objects on any volume falls below this level that volume will be eligible for recycl
500. pleted processing xx is the highest condition code encountered during program execution Action No action necessary OTS04001 ERROR X xxyy RECEIVED OPENING FILE aaaaaaaa DATASET bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb Explanation An open error has occurred opening the VSAM file aaaaaaaa bbbbb bbbbb is the dataset name xx and yy are the return and reason codes from the VSAM open macro Processing is terminated Action Refer to IBM documentation for details of the VSAM return and reason codes Take the appropriate corrective action and restart the job ASM for S 390 v2 5 User Manual 8 49 OTS04002 INVALID RESTART SETTING IN EXEC PARAMETERS Explanation The RESTART parameter on the EXEC statement is invalid Action Examine the operand specified for the RESTART parameter on the EXEC statement Correct the parameter and rerun the job OTS04003 INVALID PRINT SETTING IN EXEC PARAMETERS Explanation The PRINT parameter on the EXEC statement is invalid Action Examine the operand specified for the PRINT parameter on the EXEC statement Correct the parameter and rerun the job OTS04004 INVALID EXEC PARAMETER FOUND Explanation An unidentifiable parameter has been specified on the EXEC statement Action Examine the parameters specified on the EXEC statement Correct the parameters and rerun the job OTS04005 ERROR X xxyy aaaaaaaa bbbbbbbbbbbbbbbbbbbbbb IN FILE ceeeecce dddddddddddddddddddddd
501. preceding data record passed to NearArchive for archival For explicit identification the interface parameters will identify the secondary key explicitly Call parameters should be set as follows Request code This must be set to the value 46 for all identify secondary key requests Return code Not used on entry to NearArchive This field will contain a 2 character numeric value on return from NearArchive indicating the result of the call Refer to chapter 8 of the manual for a description of all possible return codes Supplementary On entry must contain a half word binary value in code 1 the range 1 99 which specifies the identifier of the secondary index to be updated This index must already have been created via the NearArchive database administration dialog in TSO ISPF On return this field may contain a value giving additional information after an exception ASM for S 390 v2 5 User Manual 4 34 condition Supplementary On entry must be set as follows code 2 Database name Primary key pointer Object archive date TSQ name Object start position ASM for S 390 v2 5 User Manual 0 use automatic secondary key identification rules as defined during secondary index initialization to extract the secondary key from the immediately preceding data record that was presented to NearArchive for archival 1 the value of the secondary key to be used is supplied in the data area in the
502. processing in the control region the operator should enter the transaction identifier OT24 on a CICS terminal ASM for S 390 v2 5 User Manual 6 13 NearArchive processing will then be unavailable in the control region or from any other CICS regions which may be linked to the control region via a MRO cross memory or IRC connection Refer to chapter 8 for a description of messages returned from this request 6 5 NearArchive Operator Interface In order to enable system operators to monitor the status of NearArchive tape retrieval processing a CICS operator interface function is supplied with the product CICS operator interface processing runs within the NearArchive control region and is invoked via the supplied transaction OT26 The NearArchive CICS operator interface is available in line entry processing mode or in full screen processing mode In line entry processing mode the CICS operator interface provides the following facilities e The ability to dynamically increase or decrease the active value of the MAXDRIVE parameter during CICS operation e The ability to dynamically increase or decrease the active value of the MAXQLEN parameter during CICS operation e The ability to dynamically increase or decrease the active value of the MAXDISK parameter during CICS operation In full screen processing mode the CICS operator interface provides the following facilities e A formatted summary of the statu
503. ptional when creating full volume or incremental tape backup datasets and is used to override automatic identification of tape datasets to be backed up by the utility If this DD entry is not present for tape backup dataset processing the backup utility will automatically back up all tape datasets in the selected database which have been updated or newly created since the last execution of the backup utility for that database If this DD entry is in use the dataset specified in the entry should be a sequential dataset with record format FB and a logical record length of 80 bytes One record must be present for each tape dataset to be backed up by the utility Each record must have the following format Offset Length Description 0 44 Name of primary tape dataset to be backed up This name should be in the correct format for the primary copy of a tape dataset i e hlq Gnnnnn for datasets in storage level O of a database ASM for S 390 v2 5 User Manual 7 65 Offset Length Description hlq Ax Gnnnn for datasets in other storage levels where hlq is the database high level qualifier x 1s the stg lev nnnnn is the volume seq no 44 36 Unused 7 7 3 Condition Codes OTASP110 will set a condition code on completion This code may take the following values 0 the utility has been executed successfully 4 a warning condition has been encountered during execution of the utility bu
504. qual in length to the primary keylength of the database being processed and should identify the primary key value at which processing is to begin If specified the utility will start processing the index at the main index entry MIE record containing this primary key value or the MIE record containing the next highest primary key value if the specified key is not present in the database If this parameter is omitted processing will start from the beginning of the index file ASM for S 390 v2 5 User Manual TT ENDKEY The ENDKEY parameter is used to control the point in the index at which the sequential scan process is to end The value y specified in this parameter must consist of a string of characters equal in length to the primary keylength of the database being processed and should identify the primary key value at which processing is to end If specified the utility will end processing of the index after processing the main index entry MIE record containing this primary key value or the MIE record containing the next lower primary key value if the specified key is not present in the database If this parameter is not specified then processing of the utility will continue until the number of MIE records specified in the COUNT parameter has been processed or until end of file is reached if the COUNT parameter is not specified If the ENDKEY parameter is specified then the COUNT parameter may not also be sp
505. quest Term id and User id These fields identify the CICS user making this request The last but one line of this display screen is used for displaying error and information messages The following keys may be used to control the operator interface procedure from this screen ASM for S 390 v2 5 User Manual 6 25 PF3 This will exit from the detail display screen and cause the main operator interface menu to be re displayed PF7 This will scroll backward to display the previous set of requests for this task when there are more than 12 requests queued PF8 This will scroll forward to display the next set of requests for this task when there are more than 12 requests queued ENTER If the task number displayed at the top of the screen has been updated formatted details of the new task will be displayed If the entered task number is invalid or does not exist an error message will be displayed If no task number has been entered details of the existing task will be updated and redisplayed 6 5 5 Alter NearArchive Configuration After selecting option 5 from the main menu the following screen will be displayed NearArchive V2 5 YYYY MM DD Online configuration update Enter configuration changes below Maximum length of request queue allowed Maximum number of drives to be allocated Maximum number of disk reader tasks Retrieved object retention period mins Maximum wait time for tape requests mi
506. quest for a database which was updated successfully during the previous archival procedure will be rejected by NearArchive with a return code of 18 see chapter 8 for a full description of NearArchive return codes 3 Use the archive date over ride field in the rerun open call request code 11 if the archive date specified by the calling application in the parameter interface area for write data record calls request code 13 during rerun processing differs from that specified for the same calls during initial failed processing This can occur for example if an application uses the system run date to identify NearArchive objects Objects archived during a failed archival run will be identified by the run date of the failed run re archiving these objects during rerun processing will cause them to be identified with a new archive date NearArchive will treat these objects as new archived items and generate new index entries for them leaving the old index entries created during the failed archival run in place These old index entries will no longer be valid and any attempt to access data via them will fail The archive over ride date is provided to allow the date supplied by such applications in write data record calls during rerun processing to be automatically over ridden so that the original archival date may be re specified This will ensure correct re use of index entries during a rerun and avoid errors due to red
507. queue identified in a CICS object retrieval request for storage of the retrieved object will be automatically deleted by NearArchive if it already exists when the new v2 4 API is used A retrieved object will continue to be appended to an existing temporary storage queue when the old pre v2 4 API is used e Modifications have been introduced in the way that the TSQDELETE initialization parameter is serviced A value of 0 for this parameter will now force NearArchive to retrieve objects from tape even if the object exists in CICS temporary storage The default value for this parameter has been changed to 1440 minutes Refer to section 2 8 6 for more information on this enhancement 1 3 New in version 2 3 The following enhancements were introduced in version 2 3 of NearArchive e Backup and recovery processing has been enhanced to provide an incremental backup recovery facility This will reduce backup volumes and execution times when processing large capacity primary ASM for S 390 v2 5 User Manual 1 6 tape volumes In addition a new speed option has been added to the backup utility to reduce execution times for full volume backup processing e Automatic detection of tape device type tape volume capacity This removes the need for explicit definition of tape device type during database definition processing and ensures that tape duplexing and backup recovery processing does not fail due to differing tape volume capacities
508. queues containing retrieved objects if a non zero value for the TSQDELETE initialization parameter has been specified see section 2 8 6 for a ASM for S 390 v2 5 User Manual 4 30 discussion of this facility If the TSQDELETE parameter is set to zero then it is the responsibility of the calling application to delete the temporary storage queue used to hold a retrieved NearArchive object 3 All tape and disk access operations will be performed from the NearArchive control region If an application is not executing in a NearArchive control region its executing CICS region must be linked to a NearArchive control region using standard CICS Multiple Region Operation MRO linkage facilities Refer to section 2 7 for further information regarding NearArchive and MRO Note that use of MRO facilities is not mandatory for NearArchive operation 4 The NearArchive control region must be initialized prior to retrieval requests being issued by applications from within that region or from within any connected MRO region Refer to chapter 6 for details regarding initialization of the NearArchive control region NearArchive will set a return code of 21 for retrieval requests which have been issued prior to NearArchive control region initialization 5 NearArchive will set a return code of 04 and supplementary code 1 of 4 if the object being retrieved contains more than 32 767 records In these circumstances a string of temporary storage queue
509. r OTASSVC from the distributed NearArchive load library to SYS1 LPALIB or any other library in the LPA list c The allocated SVC number should be used during definition of any new NearArchive database via the NearArchive ISPF database maintenance facility see chapter 3 of this manual Note that a re IPL with the CLPA option will be required to activate the new user SVC processing 2 2 2 Update Pageable Link Pack Area In order to prevent general access to the user SVC installed in the previous section program OTASP055 from the NearArchive product library MUST be installed in the OS 390 pageable link pack area PLPA To do this move member OTASPO55 from the unloaded NearArchive distribution library to a library in the LPA list and re IPL the system with the CLPA option Note that it is essential that OTASP055 be moved from the NearArchive product library and not merely copied i e OTASP055 must be removed from the NearArchive product library Failure to observe this requirement will cause ASM for S 390 to fail with a system 047 abend Also note that installation of OTASPOS55 in the MLPA rather than the PLPA will cause ASM for S 390 to fail with an S047 abend 2 3 Update NearArchive authorization code s Before using ASM for S 390 the product must be authorized to run on the customer s processor s One or more 8 byte authorization codes are supplied with the product in the accompanying documentation Any update or refresh
510. r failure Duplicate entries are ignored by the utility Number of duplicate secondary index updates A duplicate secondary index update may occur if the utility has been rerun following an earlier failure No action is taken by the utility when a secondary index entry already exists The sum of totals b c and d should be equal to the total number of records read from file OTASS080 a Error or warning messages generated during execution of the utility will be written to the SYSPRINT dataset All messages will have the message identifier OTS080xx where xx is a numeric value in the range 00 99 Refer to chapter 8 of this manual for a description of all messages issued by the secondary index update utility 7 6 6 Utility Failure and Restart Considerations There are no special restart considerations for rerunning the secondary index update utility after a failure has occurred The job may be rerun as normal after the failing error condition has been rectified Any secondary index updates performed during the failed run will not be re processed by the utility Each occurrence of this condition will cause the number of duplicate secondary index updates total to be incremented by 1 This total is displayed in the summary totals report produced at end of run Note that the secondary index update utility must be executed successfully for each secondary index being updated asynchronously before further object archival processi
511. r secondary index for a NearArchive database Supports single and double byte character sets Retrieve the first next record from a NearArchive object batch or TSO applications only Retrieve a complete NearArchive object CICS applications only Write the first next record in a data object to a NearArchive database batch or TSO applications only ASM for S 390 v2 5 User Manual 4 7 46 Add a secondary index entry for a NearArchive object batch or TSO applications only 47 Delete a NearArchive object 48 Commit updates to a NearArchive database batch or TSO applications only 49 Disconnect from a NearArchive database batch or TSO applications only Each of the following types of request will be discussed individually in the remainder of this section of the manual Issues which are specific to batch or TSO archival and retrieval applications are discussed separately in chapter 5 of the manual Issues which are specific to CICS applications are discussed separately in chapter 6 of the manual 4 3 1 Request Code 40 Connect to a NearArchive Database A database connect call must be issued by a batch or TSO application prior to accessing a NearArchive database for input output or input output processing Database connect calls never need to be issued by CICS applications Connection to a NearArchive database is established for all CICS applications using CICS table entry definitions Call parameters sho
512. rArchive database should be given READ access authority to the dataset profile Alternatively the supplied user exit module OTASUXO1 can be replaced to implement customer specific security processing for accessing a database and its objects Refer to section 2 8 for information on implementing external security processing via the security user exit 5 1 3 Database design considerations When modifying existing applications to interface with ASM for S 390 or developing new applications the following points should be noted e If more than one data record is to be archived per NearArchive object then it may be necessary to be able to identify types of data record on retrieval It may be possible to perform this identification from the data content However if this is not possible it will be necessary to add a prefix to the data prior to archival This prefix should be passed to NearArchive as an integral part of the data to be archived and the length of the data record as specified in the parameter block should include the length of the prefix NearArchive will then treat both prefix and data as one data record ASM for S 390 v2 5 User Manual 5 5 on recall the prefix will be presented to the caller along with the archived data in exactly the same format as that passed to NearArchive during the archival process e The record prefix should include at least two sections The first should identify the record type e g code A for re
513. racters and be in the range 1 to 65535 If entered the end sequence number must not be less than the start sequence number If the end sequence number is not entered it will be set equal to the start sequence number Copy id This field specifies the copy identifier B C D or X of the volume recovery control entry For copy identifiers B C or D this identifies the backup copy to be used for retrieval of data from the tape sequence numbers in the entry and for recovery of primary database volumes See section 4 7 1 for a description of NearArchive tape backup copies and their identifiers For copy identifier X this entry indicates that the associated range of volumes is to be placed into unavailable status ASM for S 390 will return a resource unavailable condition to any application which issues a retrieval request for an object on any of these volumes Any update of copy identifier on this panel will be rejected by ASM for S 390 The only exception to this is for entries consisting of underscore characters as described for the start and end sequence number fields above As before the underscore characters may be updated with the copy identifier of the new recovery control entry The copy identifier must consist of the characters B C D or X After entering the appropriate selection character s to identify entries to be processed and or adding a new entry by up
514. raise an archiving busy condition return code 21 to the caller In order to avoid any delays due to excessive waits from outstanding operator replies it is recommended that some sort of automated operator reply processing should be implemented on the system under which ASM for S 390 is operating This should be set to automatically reply CANCEL to the IEF238D message Users may then be informed immediately that NearArchive is currently busy and that the request should be re submitted later e Ifa tape volume is unavailable for allocation at the time of the online retrieval request due to its being currently allocated to a batch retrieval request ASM for S 390 will generate an archiving busy condition return code 21 e Use of the online processing drive retention parameters as specified during database initialization or maintenance processing will enable users to identify tape cartridge volumes within a NearArchive database which are not to be automatically dismounted after all active retrieval requests have been processed Subsequent requests for retrieval of data from this category of volume may then be processed more rapidly by eliminating the need to mount ASM for S 390 v2 5 User Manual 6 9 and load a tape cartridge in order to access the requested data See chapter 3 of this manual for a description of the definition and use of these parameters e In order to allow normal CICS termination of the Near
515. rchive Index Print Utility 7 1 1 Functions 7 1 2 JCL Requirements 7 1 3 Condition Codes 7 1 4 Running the Utility 7 1 5 Utility Processing Reports 7 1 6 Utility Failure and Restart Considerations 7 2 OTASP020 the NearArchive Tape Scan Utility 7 2 1 Functions aD 5 6 5 6 5 8 5 12 5 21 5 21 5 23 5 24 6 1 6 3 6 3 6 6 6 7 6 8 6 9 6 9 6 10 6 11 6 12 6 12 6 13 6 13 6 14 6 15 6 17 6 19 6 23 6 26 6 29 6 30 7 1 7 6 7 6 7 6 7 9 7 9 7 9 7 11 7 12 7 12 ASM for S 390 v2 5 User Manual 7 2 2 JCL Requirements 7 12 7 2 3 Condition Codes 7 14 7 2 4 Running the Utility 7 15 7 2 5 Utility Processing Reports 7 15 7 2 6 Utility Failure and Restart Considerations 7 16 7 3 OTASP030 the NearArchive Database Maintenance Utility 7 17 7 3 1 Functions 7 18 7 3 2 JCL Requirements 7 20 7 3 3 Condition Codes 7 24 7 3 4 Running the Utility T29 7 3 5 Operator commands 7 26 7 3 6 Utility Processing Reports 7 27 7 3 7 Utility Failure and Restart Considerations 7 27 7 4 OTASP040 the NearArchive Object Management Utility 7 29 7 4 1 Functions 7 30 7 4 2 JCL Requirements 7 31 7 4 3 Condition Codes 7 35 7 4 4 Running the Utility 7 36 7 4 5 Operator commands 7 37 7 4 6 Utility processing reports 7 37 7 4 7 Utility Failure and Restart Considerations 7 39 7 5 OTASP070 the NearArchive Journal Maintenance Utility 7 40 7 5 1 Functions 7 40 7 5 2 JCL Requirements 7 41
516. rchive object will ever exist for a single primary key value a dummy date value may be specified in this field This dummy date may then be specified explicitly during retrieval or the NearArchive retrieve oldest newest object facility may be used to ensure that the single NearArchive object for a specified primary key ASM for S 390 v2 5 User Manual 4 33 is retrieved see section 4 3 3 and 4 3 4 for a description of NearArchive object retrieval requests However any dummy date used must still have a valid date value in the format YYYYMMDD 5 A return code of 00 with supplementary code 1 value of 4 will be returned to the calling application if disk K copy processing has been enabled for the database storage level being updated but NearArchive was not able to create a disk copy of the object The object will have been successfully stored on primary and duplex if enabled tape 4 3 6 Request Code 46 Identify Secondary Key This call is used by a batch or TSO application program to identify implicitly or explicitly a secondary key that should be used to index the data object currently being archived See section 1 3 1 for a description of secondary indexing in a NearArchive database For implicit identification the interface parameters will specify that automatic secondary key identification as defined during secondary index initialization should be used to extract the secondary key from the immediately
517. recovery enabling request To confirm the request enter the identifier of the NearArchive database backup copy to be used during disaster recovery processing B C or D and press ENTER Once accepted disaster recovery processing will be enabled for the NearArchive database and all object retrievals for that database will be satisfied from the database backup copy whose identifier was entered above The recovery control menu panel OTSN4400 will then be re displayed Note that setting of disaster recovery processing for a database will over ride recovery control entries for individual volumes in any storage level in that database To cancel the request from panel OTSN4402 press PF3 Disaster recovery processing will not be enabled for the NearArchive database and the recovery control menu panel OTSN4400 will be re displayed Refer to section 4 7 of this manual for a full description of NearArchive backup and disaster recovery processing ASM for S 390 v2 5 User Manual 3 56 3 4 3 Unset Disaster Recovery To disable disaster recovery processing for a NearArchive database select option 3 from the recovery control menu panel OTSN4400 and press ENTER Disaster recovery processing must already be enabled for the database When the request is accepted disaster recovery will be disabled for that database and the recovery control menu panel OTSN4400 will be re displayed After disabling disaster recovery for a NearArchive data
518. rejected Data length a half word binary field which must contain the length of the data record being archived ASM for S 390 v2 5 User Manual D 6 Data area this should contain the data record to be archived to the database Usage Notes 1 A NearArchive object can consist of one or more logical records One write data record request must be issued for each record in a NearArchive object NearArchive uses the primary key and archive date specified in the interface parameter area for this call to identify the NearArchive object for which the record being written is a component 2 All records to be archived as part of a single NearArchive object must be presented to NearArchive contiguously i e in successive calls NearArchive will create a new primary index entry for a data object when it detects that all records in that object have been presented i e on change of primary key or archive date in the call interface parameter area As primary index entries for a NearArchive object must be unique any subsequent call which specifies the same primary key and archive date will be rejected by NearArchive with a return code of 17 duplicate key 3 The length of the data record to be archived must not exceed the maximum blocksize of the database as specified during database initialization processing 4 Specification of an archival date in the interface parameter area is mandatory its omission will cause NearArchive to re
519. report will be written to the SYSPRINT dataset giving details of all incremental backup datasets which have been created during execution of the utility 7 7 2 JCL Requirements The following JCL may be used to execute the NearArchive database backup utility EP1 EXEC PGM OTASP110 REGION 4M PARM TYPE FULL INCREMENTAL COPY B C D K LEVEL n ALL UNITPRI XXXXXXXX UNITDUP XXXXXXXX SPEED RECOVERY NODEVCHECK TEPLIB DD DSN NearArchive load library DISP SHR TASV100 DD DSN Database primary index name DISP SHR SYSPRINT DD SYSOUT The following optional EXEC parameters may be specified TYPE This optional parameter is used to control execution of the utility The following operands may be specified FULL The utility is to execute in full volume backup mode Full volume backups will be taken of all primary tape datasets selected for backup processing This is the default value INCREMENTAL The utility is to execute in incremental backup mode A primary and optionally duplex incremental backup dataset will be created for each primary tape dataset selected for backup processing ASM for S 390 v2 5 User Manual 7 61 If no TYPE parameter is specified a default value of TYPE FULL is used COPY This optional parameter is used to control which full volume backup copy is to be created during execu
520. reported e Total number of main index entry MIE records processed e Total number of live objects printed e Total number of logically deleted objects printed e Total number of supplementary index entry SIE records processed not present if NOSIE is specified in the execution parameters or if no SIE records have been processed Error or warning messages generated during execution of the utility will be written to the processing summary report All messages will have the ASM for S 390 v2 5 User Manual 7 10 message identifier OTSO10xx where xx is a numeric value in the range 00 99 Refer to chapter 8 of this manual for a description of all messages issued by the index print utility 7 1 6 Utility Failure and Restart Considerations There are no special considerations for rerunning the utility after an earlier failure The job used to execute the utility may be resubmitted without modification when the cause of the original failure has been identified and rectified ASM for S 390 v2 5 User Manual 7 11 7 2 OTASP020 the NearArchive Tape Scan Utility The NearArchive tape scan utility will sequentially scan a tape dataset from within a NearArchive database and create a report containing formatted details of each NearArchive object in the tape dataset The tape scan utility is primarily intended to be used for diagnostic purposes when a problem has been detected accessing objects in the database or with general data
521. request The field is sub divided into two sub fields as follows Bytes 0 1 This is a half word binary field which should contain the maximum number of objects i e maximum number of items in the target TSQ to be generated by NearArchive in response to a query request This must be a binary value in the range 0 32767 If the field contains low values or EBCDIC spaces the default value of 32767 is used If the number of objects satisfying a query request exceeds the maximum specified in this field NearArchive will generate a return code of 04 on return to the calling program The target TSQ will contain the identifiers of the first n objects satisfying the query request where n is the maximum value set on entry to NearArchive On return from NearArchive for return codes 00 or 04 this field will contain the actual number of items in the target TSQ Bytes 2 5 The remainder of the archive date field is not used for this request code TSQ name the name of the auxiliary temporary storage queue which NearArchive will create to hold the formatted index entries to be returned from the query request Secondary key specifies the secondary search key if supplementary code 1 is not 0 Unused for primary key queries A full or generic secondary key value may be specified in this field Generic key specifications consist of a string of characters of length 0 to s 1 bytes where s is the
522. rmation request panel OTSN4224 A secondary index definition may be deleted via option 3 on the secondary index maintenance panel OTSN4220 if it does not contain any entries i e there are no active objects in the database which are indexed by the selected secondary index The secondary index deletion confirmation panel OTSN4224 will be displayed if a secondary index has been accepted for deletion To continue with secondary index deletion processing press ENTER To cancel the secondary index request enter an END command in the command line and press ENTER or press the PF3 key The secondary index maintenance panel will then be re displayed with an UPDATE ABORTED message When secondary index deletion processing has been confirmed ASM for S 390 will remove the secondary index definition from the database and automatically delete the associated secondary index dataset via an internal call to IDCAMS On successful completion of this process the secondary index maintenance panel will be re displayed ASM for S 390 v2 5 User Manual 3 43 If an error occurs during deletion of the secondary index dataset an error panel will be displayed to allow viewing of IDCAMS output messages Error messages should be noted and the appropriate corrective action taken before retrying the secondary index deletion request In these circumstances it is likely that the secondary index definition will have been successfully removed from the
523. ro request Action Refer to IBM OS 390 macro documentation for a description of the error code Take the appropriate corrective action before repeating the request If no apparent reason for the failure can be identified contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 124 OTS26310 GETMAIN ERROR nnn UPDATING TERMINATED Explanation An error has been received allocating OS 390 storage when increasing the value of MAXDRIVE or MAXDISK nnn gives the decimal error code received from the GETMAIN macro request Action Refer to IBM OS 390 macro documentation for a description of the error code Take the appropriate corrective action before repeating the request If necessary increase the amount of OSCOR storage allocated to the NearArchive control region If no apparent reason for the failure can be identified contact your NearArchive product support representative OTS26311 INTERNAL ERROR IN REDUCING MAXDRIVE Explanation An internal error has occurred reducing the value of the MAXDRIVE initialization parameter Action Contact your NearArchive product support representative OTS26312 REQUESTED UPDATE COMPLETED SUCCESSFULLY Explanation The requested modification to the NearArchive control region initialization parameters has been completed successfully Action None This is an information message OTS26313 INVALID TSQDELETE ENTERED TRY AGAIN Explanation An
524. roduce B and D copy datasets this utility should be automatically run after creation or update of a NearArchive database via a batch archival procedure If more than four copies of a NearArchive tape dataset are required additional copies may be created using a physical i e block by block copy utility It is important that the manual copying of a tape dataset should be performed by a utility that operates at the physical i e block level rather than the logical i e record level in order to preserve the internal blocking structure used by ASM for S 390 This can be achieved using ASM for S 390 v2 5 User Manual 5 15 IEBGENER with DCB over rides in the JCL to ensure copying at the physical level as follows BACKUP EXEC PGM IEBGENER T1 DD DSN primary tape dataset name DISP OLD VOL SER xXxxxxx UNIT 3480 DCB RECFM U BLKSIZE bbbbb DD DSN backup tape dataset name DISP NEW CATLG VOL SER yyyyyy UNIT 3480 DCB RECFM U BLKSIZE bbbbb SYSPRINT DD SYSOUT SYSIN DD DUMMY where bbbbb is the maximum block size of the database as specified during database initialization It is important to note that standard NearArchive duplexing and backup facilities will record details of all backup copies in the database index These details are used during retrieval of data from backup copies after loss of a primary dataset and in recovery of primary copi
525. rogram function or attention key has been pressed during operator interface processing Action Retry the request using the correct key ASM for S 390 v2 5 User Manual 8 117 OTS26106 NO FURTHER BACKWARD SCROLLING POSSIBLE Explanation A request has been made to scroll backwards through the list of reader tasks on the reader task summary screen OTSN261 using the PF7 key but the first reader task is already displayed Action None The current OTSN261 screen is re displayed OTS26107 NO FURTHER FORWARD SCROLLING POSSIBLE Explanation A request has been made to scroll forwards through the list of reader tasks on the reader task summary screen OTSN261 using the PF8 key but the last reader task is already displayed Action None The current OTSN261 screen is re displayed OTS26109 INVALID SELECTION TRY AGAIN Explanation An invalid selection character has been entered against a reader task on the summary display screen OTSN261 Only the selection characters S P and F upper or lower case are permitted Action Re enter the request using the correct selection character OTS26110 TASK NOT FOUND REQUEST IGNORED Explanation An error has occurred attempting to locate a task Action None The current OTSN261 screen is re displayed OTS26111 TASK ALREADY BEING TERMINATED Explanation A purge request has been entered for a task which is already being terminated in response to an earlier purg
526. rol Table FCT for the primary or secondary index being queried Refer to section 2 8 for a description of NearArchive CICS control table entry requirements 4 3 3 Request Code 42 Retrieve an Object Record This call is issued by a batch or TSO application to retrieve the next data record from a NearArchive object Supplementary code 1 is used to indicate whether a sequential or direct read is required For a sequential read the next logical record stored physically on the tape is retrieved For a direct read a change of primary key or archive date in the parameter area will cause that NearArchive object to be located and its first data record retrieved Subsequent direct reads using the same key and date values will cause successive data records from that NearArchive object to be retrieved For direct reads return code 30 is used to indicate that all records belonging to a NearArchive object have been retrieved The application may then continue to issue direct or sequential reads as required Request code 42 should not be used by CICS applications Request code 43 read complete object should be used instead Call parameters should be set as follows Request code This must be set to the value 42 for all read object record requests Return code Not used on entry to NearArchive This field will ASM for S 390 v2 5 User Manual 4 23 Supplementary code 1 Supplementary code 2 Database name
527. ror message will have been written to the SYSPRINT 12 serious error has occurred during utility processing Execution of the utility has been terminated An error message will have been written to the SYSPRINT dataset ASM for S 390 v2 5 User Manual 7 35 7 4 4 Running the Utility Prior to executing the object management utility the following database definition parameters should be set as required Data retention period in the base database definition panel OTSN4300 or base database amendment panel OTSN4210 The length of time in years and days for which objects are to be retained in the NearArchive database should be entered in these fields The object management utility uses these values to identify objects which are to be expired Entering a retention period value of 0 years and 0 days the default setting will suppress automatic expiry of objects from the database e Migrate to next storage level in the storage level amendment panel OTSN4231 for all storage levels up to that specified in the OUTLEVEL execution parameter Enter the length of time in years and days for which objects are to be resident in each storage level of the database The object management utility will use these values to identify objects which are to be migrated from the source storage level to the target storage level Objects which are older than the sum of the migration periods for all storage levels up to but not including the tar
528. rrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS21500 EIBRESP xxx RECEIVED FOR FUNCTION X yyy Explanation A CICS command failure occurred during command execution The response xxx and function codes yyy are as specified in the Exec Interface Block EIB Action Refer to CICS documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS21501 ABEND xxxx RECEIVED DURING NEARARCHIVE DELETE PROCESSING Explanation An abend with code xxxx has occurred during CICS object deletion processing Action Refer to CICS documentation for details of the abend and corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS22000 EIBRESP xxx RECEIVED FOR FUNCTION X yyy Explanation A CICS command failure occurred during command execution The response xxx and function codes yyy are as specified in the Exec Interface Block EIB Action Refer to CICS documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS22001 ERROR xx REASON X yyyyzzzz RECEIVED FROM TAPE DISK READER SUB TASK Explanation An error has been received from a tap
529. rror and information codes respectively from the dynamic allocation request Action Refer to IBM documentation on dynamic allocation processing for a description of the error and information codes Take the appropriate corrective action and retry the ISPF request OTS49008 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa HAS NOT BEEN CONVERTED FOR USE WITH THIS RELEASE OF NEARARCHIVE Explanation The dataset identified in the message is a pre version 2 5 NearArchive database primary index dataset Action The NearArchive ISPF database administration dialog is unable to process pre version 2 5 databases All such databases must be converted for use with this release of the product using the database conversion procedure from within the NearArchive database administration dialog in TSO ISPF Refer to chapter 3 of this manual for a description of this procedure OTS49009 ERROR X xxxx RECEIVED OPENING CLOSING FILE Yyyy y yyy Explanation An error has been encountered attempting to open or close a VSAM dataset xxxx gives the hexadecimal value of the error code returned from VSAM open close processing yyyy yyyy gives the name of the VSAM dataset being processed Action Refer to IBM documentation on VSAM macro processing for a description of the displayed open close error code Take the appropriate corrective action and retry the request ASM for S 390 v2 5 User Manual 8 136 OTS49010 NEARARCHIVE DATA
530. rt to a previous release of the product after installing version 2 5 then any database which has been converted for use by this release will need to be regressed for use with the older release This regression is performed by program OTASP032 the database regression utility Note that the regression utility will not be able to process a v2 5 database if more than 2 storage levels have been defined If it is required to regress such a database then the database primary index and secondary indexes if defined and space management dataset s should be restored to their state prior to definition of the new storage levels before running the regression utility on the database Following successful completion of the regression utility an additional step may be required to reduce the primary index dataset maximum record length if this was altered during product installation processing C 1 Functions The database regression utility performs the following functions e Creates a new space management file one for each storage level in the converted database in pre v2 5 format e Sequentially processes the primary index of the database being regressed and converts the index back into v2 2 v2 3 or v2 4 formats depending on EXEC parameter value e Initializes the new space management file s created above e Renames the existing space management file s then renames the newly created space management file s to that of the renamed sp
531. ry in the file Action Enable disk copy processing for the appropriate storage level via the NearArchive database administration dialog and rerun the utility ASM for S 390 v2 5 User Manual 8 84 OTS11053 ERROR IN NOTE PROCESSING ON OTASK100 RETURN CODE X xx LAST BLOCK ID OBTAINED yyyyyyyy Explanation Error code xx has been received retrieving a block identifier from the input tape volume yyyyyyyy gives the identifier of the last block successfully retrieved by the utility Processing of the current dataset is terminated and continues with the next entry in the OTASBKUFP file Action Refer to IBM documentation on the NOTE macro for a description of the error code displayed in the message Take the appropriate corrective action and rerun the backup request OTS11054 ERROR IN NOTE PROCESSING ON OTASK200 RETURN CODE X xx LAST BLOCK ID OBTAINED yyyyyyyy Explanation Error code xx has been received retrieving a block identifier from the output disk dataset when COPY K has been specified in the EXEC parameters yyyyyyyy gives the identifier of the last block successfully retrieved by the utility Processing of the current dataset is terminated and continues with the next entry in the OTASBKUP file Action Refer to IBM documentation on the NOTE macro for a description of the error code displayed in the message Take the appropriate corrective action and rerun the back
532. ry keylength Each record is used to identify a single NearArchive object The dataset must be large enough to hold as many records as the maximum number of NearArchive objects which are to be migrated between storage levels in a single execution of the NearArchive object management utility OTASP040 Press ENTER after all required entries have been made on this panel After all entries have been accepted the new storage level will be defined After successful completion of the storage level definition process the NearArchive storage level maintenance menu panel OTSN4230 will be redisplayed 3 3 Browse a NearArchive Database Definition To browse an existing NearArchive database definition enter the name of the database s primary index dataset on the main database maintenance facility menu OTSN4000 and select option 1 browse database definition The following series of panels will be displayed OTSN4100 browse database definition This panel will display base database definition parameters which apply to all defined storage levels in the NearArchive database OTSN4101 browse secondary index definition One panel will be displayed for each secondary index in the NearArchive database If no secondary indexes have been defined no OTSN4101 panel will be displayed OTSN4102 browse storage level definition One panel will be displayed for each storage level in the NearArchive database These will give details of th
533. s RECYCLE This parameter is used in conjunction with the COMPRESS parameter to control the type of processing to be performed by the utility The following parameter values may be selected YES the utility is to perform tape dataset recycle processing This is the default value NO the utility is not to perform tape dataset recycle processing COMPRESS This parameter is used in conjunction with the RECYCLE parameter to control the type of processing to be performed by the utility The following parameter values may be selected YES the utility is to perform disk copy dataset compress processing All disk copy datasets associated with each primary tape dataset in the range set or defaulted by the STARTSEQ and ENSEQ parameters will be processed to check if they are candidates for compression COMPRESS YES may not be specified if RECYCLE YES has also been specified NO the utility is not to perform disk copy dataset compress processing This is the default value COMPRESS NO may not be specified or allowed to default if RECYCLE NO has also been specified STARTSEQ This parameter is used to specify the tape dataset sequence number at which scanning for eligible volumes datasets for ASM for S 390 v2 5 User Manual 7 22 recycling and or compressing is to begin If more than one storage level is being processed by the utility as controlled via the LEVEL par
534. s on the primary tape volume which are eligible for disk residency will be copied to disk e OTASP130 the database recovery utility Thedatabaserecovery utility is used to recreate one or more primary copy tape datasets in a NearArchive database from designated backup ASM for S 390 v2 5 User Manual 1 21 copies A combination of full volume and incremental backup datasets may be used when reconstructing a primary volume dataset Refer to chapter 7 of this manual for a detailed description of the above utility programs ASM for S 390 v2 5 User Manual 1 22 CHAPTER 2 Installation and Implementation Procedures ASM for S 390 v2 5 User Manual 2 1 This page is intentionally left blank ASM for S 390 v2 5 User Manual 2 2 This chapter describes the activities required to install and implement ASM for S 390 for system use On completion of these procedures NearArchive databases may be defined see chapter 3 for details of this procedure and data may be archived and retrieved to and from these databases see chapters 4 to 6 for details of database access from application programs The following checklists provide a list of activities which should be performed during initial ASM for S 390 installation and implementation or when upgrading from an earlier release of NearArchive Use the appropriate checklist to control the implementation process A full description of each activity is provided in the sections indicated in
535. s of all currently initialized tape and disk reader tasks within the NearArchive control region e A detailed formatted display of the status of any one of the currently initialized tape or disk reader tasks in the NearArchive region including details on all requests queued for processing by that task e The ability to purge or force purge any one of the currently initialized tape or disk reader tasks from the formatted task summary display screen ASM for S 390 v2 5 User Manual 6 14 e The ability to dynamically increase or decrease the active value of the MAXDRIVE parameter during CICS operation e The ability to dynamically increase or decrease the active value of the MAXQLEN parameter during CICS operation e The ability to dynamically increase or decrease the active value of the MAXDISK parameter during CICS operation e The ability to dynamically increase or decrease the active value of the TSQDELETE parameter during CICS operation e The ability to dynamically increase or decrease the active value of the TAPEWAIT parameter during CICS operation e The ability to dynamically modify the active value of the TIMEOUT parameter during CICS operation The NearArchive operator interface may only be invoked from within an initialized NearArchive control region Any attempt to use this facility from another region or from within a control region which has yet to be initialized for retrieval will be rejected 6 5 1 Invokin
536. s prior to clearing the contents of the NearArchive database s journal dataset If enabled entries will be archived to the database s journal archive database This is a special NearArchive database which is automatically defined and initialized when journal archiving is first enabled fora NearArchive database ASM for S 390 v2 5 User Manual 7 45 The journal maintenance utility may be used to perform either of the following two functions 1 Perform analysis and maintenance of a NearArchive database s live journal dataset The utility will produce a detailed and or summary analysis of journal entries depending on the PRINT parameter setting and clear the contents of the journal dataset on successful completion The journal dataset will then be reset and available for use during NearArchive database update operations 2 Perform an historical analysis on a NearArchive database s archived journal entries for a specified date range This option is enabled through the use of the DATE keyword parameter in the EXEC card see section 7 3 2 JCL requirements The two processing options are mutually exclusive and are controlled through specification of the DATE keyword in the job EXEC parameters 7 5 5 Utility Processing Reports The following reports will be written by the journal maintenance utility to the SYSPRINT dataset 1 Execution parameter report This report summarizes execution parameters as specified on the JCL EXEC
537. s unloaded during the product installation procedure see chapter 2 OTASV100 The name of the primary index of the NearArchive database to be processed by the utility The utility will only process one NearArchive database for each execution SYSPRINT The destination of the utility report file If required the report may be written to a sequential dataset with record format FBA and a logical record length of 133 bytes ASM for S 390 v2 5 User Manual 7 23 SYSOUT The destination of the print report issued by the internal sort performed during disk compress processing This entry is only required if COMPRESS YES is specified OTASS030 This is an optional entry which may be used to identify the dataset required by the utility for retaining restart formation during execution of a recycle process for the NearArchive database identified in the JCL If specified it must be a pre defined disk dataset with the following attributes Record format fixed blocked FB Logical record length 24 bytes Blocksize any multiple of 24 bytes The dataset must be large enough to contain a single 24 byte record A unique restart dataset is required for each NearArchive database to be processed by the utility The contents of this dataset should not be modified in any way during or between executions of the database maintenance utility The contents will be reset by the utility on successful completion of database maintenance processin
538. s used for this entry Optional entry Enter the 1 8 character unit name to be used when creating disk K copy datasets in this storage level ASM for 5 390 will automatically create a K copy dataset when creating each new primary tape dataset during object archival processing This dataset will be used to store disk copies of objects which have been stored in the corresponding primary tape dataset When a disk copy of an object exists NearArchive batch and online retrieval processing will always attempt to retrieve that copy first If disk retrieval fails for any reason then retrieval of the tape copy of the object will continue as normal If no entry is made in this field then disk copy processing will not be enabled for the storage level being defined Optional if disk unit name is not blank must be blank otherwise Enter a 1 5 character numeric identifier in the range 0 36525 This value will control the length of time in days for which the disk copy of an object will be retained after initial storage in this storage level The disk copy of the object will be automatically deleted by the object management utility when this retention period has been exceeded A value of 0 indicates that the disk copy is to be retained permanently In this case the disk copy will only be deleted when the entire object is expired by the object management utility as controlled by the object retention period specified in base data
539. s will have been created by NearArchive to hold all records from the archived object Refer to chapter 6 for a discussion of the NearArchive temporary storage queue stringing facility 6 If a disk copy exists for an object which is to be retrieved in addition to a tape copy then NearArchive online retrieval processing will always access the disk copy If this access fails for any reason NearArchive will automatically retrieve the tape copy of the object in the standard manner 4 3 5 Request Code 44 Write a Data Record This call is issued by a batch or TSO application to write the first or next data record in an object to a NearArchive database Call parameters should be set as follows Request code This must be set to the value 44 for all write data record requests Return code Not used on entry to NearArchive This field will contain a 2 character numeric value on return from NearArchive indicating the result of the call Refer to chapter 8 of the manual for a description ASM for S 390 v2 5 User Manual 4 31 Supplementary code 1 of all possible return codes Not used on entry On return this field may contain a value giving additional information after an exception condition Supplementary Not used on entry On return this field may code 2 Database name Primary key pointer Object archive date TSQ name Object start ASM for S 390 v2 5 User Manual contain a value giving addition
540. satisfying the query criteria where n is the maximum number set on entry Action None Processing may continue normally No records retrieved during partial object retrieval using the segment co ordinates supplied in the request ASM for S 390 v2 5 User Manual 8 6 Return Supp Supp Description code code 1 code 2 Action Inform the user that no data meets the partial object retrieval requirements or retry the request with the correct co ordinates End of object reached during partial object 2 retrieval before processing the number of records specified in the segment co ordinates supplied in the request Action Inform the user that an incomplete segment has been retrieved or retry the request with the correct co ordinates Multiple temporary storage queues have been 4 used to contain the retrieved data because there were more than 32 767 records in the object or object segment being retrieved Action The application should sequentially process all temporary storage queues in the string in order to access all data for the retrieved object or object segment Refer to chapter 6 for information on the NearArchive temporary storage queue stringing facility This is a combination of the conditions 6 identified by supplementary code 1 settings of 4 and 2 Refer to the above description of both these values of the supplementary code 1 field for information on the required actions 12 0 0 The record length
541. se a number of NearArchive system datasets must be defined in the FCT of the NearArchive control region Refer to section 2 8 for a description of all CICS table definition requirements Note that a NearArchive CICS control region is enabled and disabled for NearArchive operation independently of any one particular database i e a control region need only be enabled once irrespective of the number of different databases to be accessed 6 4 Starting and Stopping NearArchive During CICS Operation The NearArchive CICS control region is normally initialized at CICS start up time and quiesced at CICS shut down via entries defined in the CICS PLT s However NearArchive control region processing may be stopped or started at any time during normal CICS operation ASM for S 390 v2 5 User Manual 6 12 This is performed via the supplied transactions OT23 and OT24 Issuing transaction identifier OT23 in a NearArchive control region will initialize that region for archive recall Issuing transaction identifier OT24 will disable archive recall in that region If any changes are required in the configuration of any of the databases being accessed via ASM for S 390 e g changes in the value of the drive retention parameters it is not necessary to quiesce the control region It is sufficient to close the primary index for the database to be amended in the NearArchive control region update the database definition via the NearArchive ISPF data
542. se identifier and the object primary key and archive date will identify the object being accessed ASM for S 390 v2 5 User Manual 2 28 Request code 03 Access a database definition from the NearArchive TSO ISPF database administration application This request will be passed to the user exit program when browsing updating or creating a database definition The access type parameter field will be used to identify the type of access required This will take the value 1 when browsing a database definition 3 when updating a database definition and 4 when creating a new database definition The 44 character primary index dataset name will be passed in the parameter list to identify the database definition being accessed Request code 04 Access the CICS control region configuration via the supplied control region operator interface transaction OT26 This request will be passed to the user exit program when displaying or modifying the status of the control region configuration The access type parameter field will be used to identify the type of access required This will take the value 1 when display the control region configuration status and 3 when modifying the control region Status An 84 byte parameter area will be passed to the user exit at each invocation to allow the user program to permit or deny access to the requested resource The parameter area will have the following format Offset Length Type Descriptio
543. secondary keylength followed by an asterisk and ASM for S 390 v2 5 User Manual D 16 trailing spaces if required The total field length must always be equal to the keylength of the secondary index identified in supplementary code 1 NearArchive will return each object whose secondary key value begins with the character string preceding the asterisk e g if secondary index 05 has been defined for a database with keylength of 6 characters a generic secondary key specification of ABC VV could return the following primary key values ABCVVV ABCDVV ABCDEV ABCDEF etc A generic key specification consisting of a single asterisk followed by s 1 spaces will cause NearArchive to return all objects in the database which are indexed in the specified secondary index For successful query index requests a temporary storage queue with an identifier as specified in the call interface parameters will have been created by NearArchive This will contain one item for each index entry satisfying the query criteria Index entries will appear in the sequence specified by the calling application Each item will be k 16 bytes in length where k is the database primary keylength and will have the following format Offset Length Type Description 0 k char Primary key of NearArchive object If the query was based on secondary key this field will contain the primary key of a NearArchive ob
544. sing It is used to specify the date in format YYYYMMDD to be used to over ride archive dates supplied in the application s call parameter interface for request code 44 4 11 Offset Length Type Description write object data record calls during rerun processing see usage note 3 below for a discussion of this facility The NearArchive rerun archive over ride date facility is not enabled if this field is set to spaces or binary zeroes If specified it must contain a valid date between 1 January 1950 and 31 December 2049 16 4 Char This field is only needed when connecting to a database with access code 1 input access or 3 input output access It is used to specify the last 4 characters of the DD name to be used by NearArchive when dynamically allocating a tape or disk dataset for object retrieval The first four characters of the DD name are always set to OTAS A default value of T100 is used if this field is set to spaces or low values 20 2 Bin Storage level to be updated update access only 22 2 Reserved for future use Usage Notes 1 Applications issuing a database connect call for output processing should be capable of establishing whether a normal or rerun open request is to be submitted e g from an EXEC or other parameter value 2 NearArchive will reject a normal output connect access codes 4 or 5 request for a database which is in an uncommitted state by setting
545. so that all requests to the same volume are processed consecutively The location dataset sequence number and block identifier of any NearArchive object may be identified from the formatted entries returned via a query index request code 41 call to NearArchive b During dynamic allocation of tape files for batch retrieval it is possible that a required tape volume is already allocated for an online retrieval request or to another batch retrieval job In this case the allocation request will fail However the NearArchive retrieval routines will recognize this occurrence and will wait for one minute before re issuing the allocation request The number of allocation retries may be controlled by the application via the allocation retry limit field in the database open request The default for this value is 30 ASM for S 390 issues message OTS35201 to the system log for each failed allocation in these circumstances this message will identify the number of retries left No user intervention is required during this procedure However it may mean that batch retrieval jobs will take a little longer to complete if this type of tape volume contention is encountered c Allocation recovery may occur when there are no available tape drives online to the system on which the batch retrieval program is running This will be manifested through the display of an IEF238D operator reply message If this happens the system operator shoul
546. ssage identifier which begins with the characters OTS followed by a 5 character numeric identifier NearArchive messages may be displayed on the system log in a NearArchive report file in the CICS CSMT transient data queue or on a CICS display terminal Messages displayed in the CICS CSMT destination will include a date and timestamp after the message identifier NearArchive sets a two character return code in response to each NearArchive request issued via the application program interface to indicate the result of the request Additional error information for unsuccessful requests may be returned in two half word supplementary code fields in the program interface This chapter documents all NearArchive request codes all return and supplementary code values and all messages categorized by NearArchive component ASM for S 390 v2 5 User Manual 8 3 8 1 NearArchive Request Codes code All requests to NearArchive for archival and retrieval of data are made using the NearArchive application program interface Each request is identified by a two character numeric value Requests may be accompanied by additional values of one or two half word supplementary code fields This section lists request and supplementary codes used by version 2 5 of NearArchive Full details on request code usage are available in chapter 4 of this manual A is used in the appropriate column to indicate that a supplementary request
547. ssed 52 2 bin Sequence number within database of tape or disk dataset being processed 54 4 bin Segment number of disk dataset being processed in range X 0000 to X 00FF 56 8 2 Reserved for future use ASM for S 390 v2 5 User Manual 8 141 8 24 4 Request section The request section starts at the offset specified in the record descriptor section of the SMF record It gives information about the request processed by the NearArchive batch or CICS retrieval processor It has a variable length of k 70 bytes where k is the primary keylength of the database being processed as specified in the preceding database section The SMF record will always contain one request section Offset Lengt Format h 0 8 bin 8 8 bin 16 8 bin ASM for S 390 v2 5 User Manual Description Request start timestamp This gives the date and time that the request was received by NearArchive It has the format bytes 0 3 time in hundredths of a second since midnight that request processing started bytes 4 7 date that request processing started in packed decimal format OcyydddF where F is the sign CICS queue timestamp This gives the date and time that the retrieval request was added to a CICS reader queue CICS retrievals only this timestamp will be equal to the request start timestamp for batch retrievals It has the format bytes 0 3 time in hundredths of a second since midnight that the request was in
548. st request section in the record 36 2 bin Length of request section This is the length in bytes of a single section This will be k 70 bytes where k is the primary keylength for the NearArchive database being processed as specified in the database section 38 2 bin The number of request sections present in the record always 1 40 16 a Reserved for future use ASM for S 390 v2 5 User Manual 8 140 8 24 3 Database section The database section starts at the offset specified in the record descriptor section of the NearArchive SMF record It gives information about the database being processed for object retrieval It has a fixed length of 64 bytes Only one database section will be present per SMF record Offset Lengt Format Description h 0 1 bin CICS tape or disk reader task Number This will be 0 for batch retrieval requests and non zero for CICS retrieval requests 1 1 bin Processing flag CICS requests only This gives information about the CICS reader task at the time of SMF record creation This byte will always contain low values for batch retrieval requests Flag Meaning X 80 A task purge request has been issued X 20 Tape to be retained on drive after all outstanding requests processed tape reader tasks only 2 4 char Identifier of NearArchive database being processed 6 2 bin Primary keylength of NearArchive database being processed 8 44 char Name of tape or disk dataset being proce
549. statement or as defaulted 2 Journal entry analysis report A summary or detailed journal entry analysis report may be produced by the utility A summary report is produced if the PRINT SUMMARY parameter is specified in the job EXEC parameters or is allowed to default This gives daily and overall totals for the number of journal entries in the following categories archived objects objects deleted via batch request e objects deleted via CICS request object deleted via dynamic backout during archival processing expired objects e objects moved by the database maintenance utility ASM for S 390 v2 5 User Manual 7 46 objects migrated by the object management utility e enabling disabling of the audit trail facility enabling disabling of the journal archive facility A detailed report is produced if the PRINT DETAIL parameter is specified in the job EXEC parameters In addition to the summary details identified above the detail report will also list the following information for each journal entry e date and time of entry gives the date and time that the entry was created e type of operation gives the type of operation which caused the entry to be created The categories are as identified in the summary report description above storage level the database storage level in which the processed object was located e tape dataset sequence number the sequence number of the tape dataset in the a
550. stem messages for additional information regarding the open failure Take the appropriate corrective action and rerun the recovery utility ASM for S 390 v2 5 User Manual 8 92 OTS13014 DATASET aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa VOLSER bbbbbb cccc dddddddddddddddddddddddddddddd Explanation Action This informational message is printed on completion of recovery processing for each tape volume The following variables will appear in this message aaaaa aaaaa the name of the tape dataset being processed bbbbbb the tape volume serial number cccc normal completion error occurred dddddddddd the action taken and may contain the following values OLD PRIMARY DATASET UNCATALOGED NEW PRIMARY DATASET RECOVERED AND CATALOGED NEW PRIMARY DATASET NOT CATALOGED No action necessary OTS13015 ERROR X xxyy READING INDEX ENTRY RECORD Explanation Action An error has occurred when reading a main index entry record from the NearArchive database s primary index dataset xx and yy are the hexadecimal return and reason codes respectively Processing is terminated Refer to IBM documentation on VSAM macro processing for a description of the return and reason codes Take the appropriate action and restart the job If no cause of the error can be identified contact your NearArchive product support representative OTS13016 PROCESSING STORAGE LEVEL S a bbbbbbbbbbbbbbbb Explan
551. subsequent time after the cause of the original failure has been rectified The NearArchive dynamic backout facility is enabled during batch archival processing by including the following DD card in the JCL used to execute the procedure OTASLOG1 DD DSN amp amp OTASLOG1 DISP NEW UNIT xxxxxxxx SPACE CYL x y Parameters in this card should be set as follows e DDname This must have the value OTASLOG1 e DSN Any temporary or permanent dataset name may be used e DISP Enter DISP NEW if a temporary dataset is being used Otherwise enter DISP SHR if an existing permanent dataset is being used e UNIT This is required if DISP NEW is specified This parameter should specify a disk unit esoteric name or device type e SPACE This is required if DISP NEW is specified Enter values for the primary and secondary allocations x and y as appropriate The dynamic backout log dataset will contain one record for each object which has been successfully archived since the last commit point Each record will be k 6 bytes in length where k is the primary keylength of the database being updated The log dataset should be large enough to contain the maximum number of objects which are likely to be archived between commit points 5 2 2 2 Recovery without dynamic backout If a batch archival process fails while the NearArchive database that is being updated is connected for update and
552. sure that disk copy processing for the storage level containing the identified dataset is enabled via the NearArchive database administration dialog and rerun the utility at a later time OTS03043 BLOCK COUNT MISMATCH CREATING L COPY OBJECT FOR DISK DSN xxxx xxxx Explanation The disk copy of an object being processed during disk compression processing does not contain the number of blocks identified in its index entry Processing of the utility is terminated with condition code 12 Action This error indicates a possible data integrity problem with the disk copy dataset The dataset should be re created using the NearArchive database backup utility OTASP110 Execution of the database maintenance utility may then be restarted OTS03044 DISK COMPRESS TERMINATED FOR DSN xxxx xxxx ABEND CODE X yyy Explanation System abend yyy has occurred during disk compression processing The disk dataset being processed is closed normally and processing of the utility continues Some objects from the uncompressed dataset may not be present on the compressed dataset Retrieval of these objects will be satisfied from tape Action Refer to IBM documentation for a description of the system abend code If the failure occurs due to lack of ASM for S 390 v2 5 User Manual 8 41 disk space during compress processing make more disk space available for NearArchive use and recreate the disk copy dataset using the NearArchive d
553. synchronous update processing as described above The utility will process all updates for a single secondary index as saved in file OTnnxxxx during archival processing sort the updates into the most efficient processing sequence and perform all necessary secondary update processing The asynchronous update process is complete for an individual secondary index on successful completion of phase 2 processing Implementation of asynchronous secondary index update processing may reduce the overall amount of I O activity required to index objects during archival to a NearArchive database depending on the structure of the objects the order in which they are presented to NearArchive for archival and the way in which secondary index entries are generated during archival processing This may provide the following benefits ASM for S 390 v2 5 User Manual 7 52 e During archival processing random I O to the NearArchive secondary index VSAM KSDS for synchronous secondary index update processing will be replaced by sequential I O to the asynchronous secondary index dataset non VSAM for all secondary indexes which have been scheduled for asynchronous update This is likely to reduce the overall I O activity during batch archival processing and improve job turnaround times e The secondary index update utility will sort all index updates in order to improve efficiency of updating the NearArchive secondary index by processing the file in s
554. t with record format FBA and a logical record length of 133 bytes SYSOUT The destination of the sort report file OTASS080 The name of the sequential dataset allocated to file OTnnxxxx during batch archival processing where nn is the identifier of the secondary index to be processed during execution of the utility ASM for S 390 v2 5 User Manual 7 54 OTASS081 This entry should identify a disk dataset which is to be used to hold output from the internal sort of file OTASS080 A temporary dataset may be specified as illustrated in the above JCL Alternatively a permanent dataset may be pre allocated in this case the dataset must be in variable blocked format with a maximum logical record length of 276 bytes RECFM VB LRECL 276 any appropriate blocksize may be chosen The OTASS081 dataset must be at least as large as the input OTASS080 dataset This dataset will contain one record for each secondary index update entry Each record will be k s 10 bytes in length where k is the primary keylength of the database being processed and s is the keylength for the secondary index being processed The space allocation values a and b as illustrated in the above JCL should be chosen to ensure that the dataset is large enough to contain all secondary index update entries created during execution of the corresponding batch archival process SORTWKnn One or more SORTWKnn DD cards may be presen
555. t archival open requested but previous archival run completed successfully Action Terminate processing Reset application controls to perform normal database open and rerun job Unable to add index entry index record full where nn 00 for the primary index and a non zero value in the range 01 99 to identify the corresponding secondary index No further objects with the primary secondary key value specified in the call interface parameters may be added to the database Action Terminate processing Run the NearArchive object management utility OTASP040 to expire objects which have exceeded the database retention period This will release space used in the database s primary secondary index dataset and allow objects to be added to the database One or more resources are not available to satisfy an object retrieval request Supplementary code 1 contains a numeric value which identifies the unavailable resource MAXDRIVE is currently at its maximum value CICS retrieval only Action The online retrieval request should be retried at a later time MAXQLEN is currently at its maximum value CICS retrieval only Action The online retrieval request should be ASM for S 390 v2 5 User Manual 8 10 Return Supp Supp Description code code 1 code 2 retried at a later time Volume containing object is in unavailable status X copy recovery control status Action None
556. t becomes full or if the maximum blockcount per dataset has been exceeded If creation of a new disk dataset fails for any reason or the maximum number of 256 disk copy datasets per primary tape dataset has been reached then execution will continue with the next dataset name entry in the OTASBKUP file ASM for S 390 v2 5 User Manual 7 67 Refer to chapter 3 for a description of NearArchive database definition and maintenance procedures In full volume backup mode the backup utility will always copy the complete contents of a tape dataset from the start of the file This is independent of the actual amount of data added to the file during execution of the batch archival or utility procedure Any full volume backup dataset already in existence after previous execution of the backup utility will be automatically uncataloged and may be returned to the appropriate scratch pool In addition any incremental backup datasets which were already in existence for the primary copy being backed up will be automatically uncataloged The utility will report on all tape cartridge volumes released and or uncataloged in this manner In incremental backup mode the backup utility will copy all objects which have been added to the primary tape dataset since the preceding execution of the utility A new incremental backup dataset is always created by adding 1 to the sequence number of the latest preceding incremental backup dataset during execution of the
557. t in the JCL to specify external sort work files which are to be used during internal sort processing Refer to documentation on the sort product in use on the host installation for detailed information on how to specify these entries If no SORTWKnn DD cards are present in the JCL the sort program will perform an in core sort Sufficient virtual storage should be assigned to the region in order to allow the internal sort to execute successfully ASM for S 390 v2 5 User Manual 7 55 7 6 3 Condition Codes OTASP080 will set a condition code on completion This code may take the following values 0 the utility has been executed successfully 4 awarning condition has been encountered during processing of the utility A warning message will have been written to the SYSPRINT dataset Execution of the utility has terminated normally 8 an error condition has been encountered during processing of the utility An error message will have been written to the SYSPRINT dataset Execution of the utility has terminated normally 12 a serious error condition has been encountered during processing of the utility An error message will have been written to the SYSPRINT dataset Execution of the utility has terminated abnormally 7 6 4 Running the Utility The utility should be executed once for each outstanding asynchronous secondary index update following successful completion of an object archival procedure i e once for each OTnn
558. t in the data buffer length field For version 2 5 the data buffer must contain a single database name list entry This 24 byte entry should have the following format Offset Length 0 4 ASM for S 390 v2 5 User Manual Type Description Char Name of database to be connected This field specifies the last 4 characters of the DD name of the database primary index as specified in the JCL used to execute the batch or TSO application see chapter 5 for a description of batch and TSO JCL requirements The first 4 characters of the DD name must always be set to the value OTAS A default value of V100 DD 4 9 Offset Length ASM for S 390 v2 5 User Manual Type Bin Description name of OTASV100 is used for the database name if this field is set to spaces or binary zeroes Access request type 1 Open for input processing This request will only allow database query and object retrieval requests to be issued by the application Open for input output processing This request will allow database query and object retrieval and deletion requests to be issued by the application Open for normal output processing This request will allow secondary key identification commit and object storage and deletion requests to be issued by the application It will cause NearArchive to start writing data to the last tape cartridge volume in the database Open for normal output processing on a new tape
559. t of the call Refer to chapter 8 of the manual for a description of all possible return codes On entry specifies the disposition of the tape dataset in use when the disconnect request was issued as follows 0 unload the last tape cartridge volume used after closing the database l leave the last tape cartridge volume used mounted at load point 2 leave the last tape cartridge volume used mounted at its current position On return this field may contain a value giving additional information after an exception condition Not used if a database is connected for input or input output processing For databases connected for output processing indicates whether database updates are to be committed during disconnect processing as follows 4 42 0 commit all updates during disconnect 1 do not commit updates during disconnect On return this field may contain a value giving additional information after an exception condition Database name Name of database to be disconnected This should be identical to the database name specified or defaulted in the corresponding connect database request A default value of V100 DD name of OTASV100 is used for the database name if this field is set to spaces or binary zeroes Primary key Not used for this request type pointer Object archive Not used for this request type date TSQ name Not used for this request type Object start Not used for this reques
560. t processing has continued A warning message will have been written to the SYSPRINT dataset 8 an error condition has been encountered during execution of the utility but processing has continued An error message will have been written to the SYSPRINT dataset 12 a serious error has occurred during execution of the utility An error message will have been written to the SYSPRINT dataset Execution of the utility has been terminated 7 7 4 Running the Utility Prior to executing the database backup utility the following database definition parameter should be set as required e Duplex during backup in the storage level definition panel OTSN4301 or amendment panel OTSN4231 Backup duplexing should be enabled via one of the above panels if any of the following processing options is required l When executing in full volume backup mode if no COPY execution parameter has been supplied a duplex backup D copy ASM for S 390 v2 5 User Manual 7 66 dataset will be created in addition to the standard primary backup B copy dataset 2 When executing in incremental backup mode a duplex J copy incremental backup dataset will be created in addition to the standard primary I copy incremental backup dataset In both processing modes if duplexing is enabled each copy may be directed to separate physical locations in order to provide the required level of recoverability and data availability in t
561. t type position Object length Not used for this request type Data buffer length Not used for this request type Data buffer Not used for this request type Usage Notes 1 Use supplementary code 1 to control handling of the tape cartridge volume in use when the disconnect request was issued If the database is to be re opened for further processing it may be more efficient to suppress unloading of the tape cartridge volume by setting a non zero value in supplementary code 1 When processing a database in input or input output mode subsequent access to a tape volume which has not been dismounted after use requires that the tape DD name specified in the database name list with the connect request should be identical to that used in the previous connect request ASM for S 390 v2 5 User Manual 4 43 2 When a database has been connected for output access set supplementary code 2 to 0 to commit all updatesduring disconnect processing This request should only be issued when output processing has been successfully completed Rerun of an archival process is not possible after updates have been successfully committed when disconnecting the database Applications should set supplementary code 2 to a value of 1 if an error has occurred during the archival process which will necessitate a rerun The application may then be rerun after the cause of the error has been rectified If the NearArchive dynamic backout facility has not been e
562. t your NearArchive product support representative OTS13040 ERROR READING INCREMENTAL BACKUP INPUT TAPE PROCESSING TERMINATED Explanation An input output error has been received during processing of an input incremental backup tape dataset Execution of the utility will be terminated Action Review the system or job log for additional system messages regarding the I O error Take the appropriate corrective action and rerun the job If no apparent cause for the error can be determined contact your NearArchive product support representative OTS13041 REQUESTED BACKUP COPY x NOT FOUND FOR THIS DATA SET PROCESSING TERMINATED Explanation A primary tape dataset is currently in recovery control status in the NearArchive database being processed by the recovery utility and has been selected for recovery ASM for S 390 v2 5 User Manual 8 99 processing However the backup dataset copy identifier specified in the COPYFULL execution parameter for the utility does not exist Processing of the utility is terminated Action Check the reason that the identified full volume backup dataset does not exist If necessary modify the COPYFULL execution parameter to specify the correct backup dataset identifier and rerun the utility OTS13042 OLD DATASET REMAINS CATALOGED NEW TAPE IS EMPTY AND NOT CATALOGED Explanation This message accompanies message OTS13041 when a backup dataset does not exist for recov
563. ta within a NearArchive database A copies held onsite and available for automatic handling via the Automatic Cartridge System hardware These copies will be used for normal database access requests e C copies held onsite on shelf storage These copies will be used to recover individual primary volumes due to media failure e B copies held offsite These copies will be used to provide database access when the primary copies are unavailable due to serious hardware failure or unavailability of the prime data center disaster recovery Incremental backups of the latest partially filled volume in the database may be held offsite this will avoid the requirement for repeated full volume backups of the same primary tape volume after each database update operation and of continual shipment of new full volume backups offsite and recall of old uncataloged full volume backups from the offsite location The offsite incremental backups will be automatically uncataloged when a full volume backup is taken of the latest volume in the database after it is filled to its required capacity in this case the full volume backup may be moved offsite and the uncataloged incremental backup volumes recalled from the offsite location ASM for S 390 provides standard facilities for access and recovery of data in the above circumstances Refer to section 7 5 of this manual for a description of the NearArchive database backup utility OTASP110 To p
564. taset for one or all storage levels in the database to identify tape cartridge volumes whose level of active objects has fallen below the recycle threshold defined for that database via the database administration ISPF dialogs and disk copy datasets whose level of active disk copy objects has fallen below the compress threshold defined for that storage level see chapter 3 The range of volumes to be scanned in each storage level in the database may be controlled through use of the STARTSEQ and ENDSEQ execution parameters e Ifthe FORCE execution parameter has been specified all current datasets in a storage level will be selected for recycling and or disk compression depending on EXEC parameter e If RECYCLE YES has been specified or defaulted in the EXEC parameters the utility will move all active objects from each tape dataset meeting the recycle criteria and add them to the end of the NearArchive database e If COMPRESS YES has been specified or defaulted in the EXEC parameters the utility will compress each disk dataset meeting the compress criteria by removing unused space occupied by expired or deleted disk copy objects ASM for S 390 v2 5 User Manual 7 18 e The utility will produce a report giving details of tape volumes recycled and disk datasets compressed in the above manner This report may be used by tape cartridge library administrators to control the status of recycled tape cartridge volumes
565. ted Action This message indicates an internal NearArchive error condition Retain any other messages issued during utility execution and report the error to your NearArchive product support representative OTS11061 TAPE ALLOCATION RETRY ENTERED RETRY LIMIT NOW nnnnn Explanation The utility was unable to allocate a device for an output tape volume Allocation will be retried after 1 minute nnnnn gives the number of retries remaining The utility will terminate if allocation is not successful after this number of retries Action Make a tape device available for allocation by the utility prior to the retry limit being reached The utility will then continue with normal execution Otherwise rerun the utility when there are sufficient devices available for execution ASM for S 390 v2 5 User Manual 8 86 8 11 Batch Archival Request Processor Messages OTS12002 ERROR OPENING OTASBKUP DATASET Explanation An error has occurred opening the OTASBKUP sequential disk dataset during batch archival processing Action Consult any other available system messages for additional information about the error NearArchive processing continues but no dataset backup information will be recorded The NearArchive database backup utility will be unable to execute after completion of this batch archival process Take the appropriate actions to ensure that the error does not re occur OTS12003 ERROR OPENING OTASLOG1 DATASET D
566. ter or have been allowed to default to these values This is an invalid combination of parameters Execution of the utility terminates with condition code 12 Action Modify the EXEC parameters as required and rerun the job OTS03041 OTS03041 RESTART DETECTED RESTART FLAG X xx IS NOT VALID Explanation Restart of a failed execution of the utility has been requested but the contents of the restart dataset are invalid Execution terminates Action If a DD entry for file OTASS030 is present in the JCL ensure that the dataset specified in this entry is the same as that specified in the JCL for the previous failed execution of the utility If it is ensure that this dataset has not been modified in any way If no DD entry for file OTASS030 is present in the JCL ensure that the restart dataset named hlq RECYCLP where hlq is the high level qualifier defined for the NearArchive database being processed has not been ASM for S 390 v2 5 User Manual 8 40 modified in any way If no apparent cause for the error can be identified contact your NearArchive product support representative OTS03042 DISK COPY PROCESSING NOT ENABLED IN STORAGE LEVEL FOR DSN xxxx xxxx Explanation A disk dataset has been selected for compression but disk copy processing has been disabled for the database storage level containing the dataset Disk compression is not performed and processing of the utility continues Action En
567. ter interface block used for communication between NearArchive and the calling application and nn is the length of the parameter interface block passed to NearArchive The parameter interface block has the following format Offset Length Type 0 2 12 12 k 18 k 26 k 2 2 Char Char Bin Bin Char Char Char Char Char ASM for S 390 v2 5 User Manual Description Request code Return code from NearArchive Supplementary request return code 1 Supplementary request return code 2 Database name last 4 characters of CICS FCT entry for the database primary index dataset Primary key of NearArchive object to be retrieved where k is keylength specified at database initialization time Archive date of NearArchive object to be retrieved in format YYMMDD Name of temporary storage queue to be used to hold logical records from retrieved NearArchive object Search key to be used in secondary index query request where s is secondary keylength as defined during secondary index initialization D 13 NearArchive accepts the following request codes for processing a NearArchive database from a CICS application Code 21 22 23 Function Query database index primary or secondary Retrieve NearArchive object into main or auxiliary temporary storage queue Delete NearArchive object from database D 2 1 Request Code 21 Query Index A query index request is
568. tercepted bytes 4 7 date that the request was intercepted in packed decimal format OcyydddF where F is the sign CICS reader start timestamp This gives the date and time that the request was first processed by the CICS reader task CICS retrievals only this timestamp will be equal to the request start timestamp for batch retrievals It has the format 8 142 Offset Lengt Format Description h bytes 0 3 time in hundredths of a second since midnight that the request was first processed bytes 4 7 date that the request was first processed in packed decimal format OcyydddF where F is the sign 24 8 bin Request end timestamp This gives the date and time that processing for this request was completed by NearArchive It has the following format bytes 0 3 time in hundredths of a second since midnight that request processing ended bytes 4 7 date that request processing ended in packed decimal format OcyydddF where F is the sign 32 2 char Return code 34 2 bin Supplementary return code 1 36 2 bin Supplementary return code 2 38 4 bin Identifier of tape or disk block containing object 42 2 bin Number of tape or disk blocks used to hold object A value of X FFFF in this field indicates a block count gt 65535 44 1 char Residency indicator T tape D disk 45 1 bin Storage level 0 7 46 8 char Requester s jobname 54 8 char Requester s user identifier For CICS retriev
569. termination of utility execution The utility will checkpoint all current update activity and terminate processing normally The object management process may be continued at any subsequent time via normal execution of the object management utility OTS04098 UNABLE TO OPEN SYSPRINT DATASET Explanation Action An error has occurred opening the SYSPRINT dataset Refer to other available system messages to discover the cause of the open failure Correct the error and resubmit the job ASM for S 390 v2 5 User Manual 8 55 OTS04501 ERROR X xxyy RECEIVED OPENING FILE aaaaaaaa DATASET bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb Explanation An error has occurred opening the VSAM dataset aaaaaaaa bbbbb bbbbb is the dataset name xx and yy are the return and reason codes from the VSAM open macro Processing is terminated Action Refer to IBM documentation for details of the VSAM return and reason codes Take the appropriate corrective action and restart the job OTS04505 ERROR X xxyy aaaaaaaa bbbbbbbbbbbbbbbbbbbbbb IN FILE ceeeecece dddddddddddddddddddddddddddddddd Explanation An error has occurred when processing a VSAM dataset Some or all of the following operands may appear xx is the return code from the VSAM I O macro yy is the reason code from the VSAM I O macro aaaaaaaa is the process being performed This may take the following values READING WRITING UPDATING DELETING
570. the database again 7 For direct processing requests the disk K copy of an object will always be retrieved if it exists If disk retrieval fails for any reason NearArchive will retrieve the object from tape as normal For sequential processing requests NearArchive will always access the tape copy of an object whether a disk copy exists or not The ASM for S 390 v2 5 User Manual 4 27 order in which objects are accessed during sequential processing will be governed by the physical order of storage of objects on tape If a direct retrieval request is satisfied from the disk copy of an object and is then followed by a sequential retrieval request NearArchive will access the next object stored in physical sequence following the tape copy of the object which had been directly retrieved Sequential processing will continue by retrieving tape copies of objects from that point onwards 4 3 4 Request Code 43 Retrieve a Complete Object A single retrieve object request is issued by a CICS application in order to retrieve from a NearArchive database all logical records for a specified NearArchive object Logical records are returned by NearArchive to the application as separate items in the temporary storage queue whose identifier is supplied by the application in the NearArchive parameter interface area One item will exist in the temporary storage queue for each logical record which is contained in the specified NearArc
571. the page A page may be revised due to a new software release a fix to be applied to existing software or an additional feature added to the software Where a documentation update requires insertion of additional pages each additional page number will be suffixed by an insert number When you receive updates to the manual insert the revised pages and discard any outdated material Note that this material is proprietary please treat it as documentation confidential to your company ASM for S 390 v2 5 User Manual I 8 I 5 Page numbering The page numbering scheme for this publication works as follows Document and chapter titles appear on every page The chapter title is printed on the page header and the document title is printed on the page footer Pages are numbered consecutively within chapters and each page number is preceded by the chapter number e g page 1 1 indicates Chapter 1 Pagel ASM for S 390 v2 5 User Manual I 9 This page is intentionally left blank ASM for S 390 v2 5 User Manual 1 10 CHAPTER 1 System Description ASM for S 390 v2 5 User Manual This page is intentionally left blank ASM for S 390 v2 5 User Manual 1 2 1 1 System Overview Oracle s ASM for S 390 product is a database management system intended to facilitate the archival of inactive data to tape and optionally disk storage and to enable the retrieval of this archived data in a batch or online process
572. the dataset name NearArchive uses the following convention when allocating names for tape datasets within a NearArchive database HLQ xy Gnnnnn where HLQ is the high level dataset name qualifier used for generating system dataset names for the NearArchive database as defined during database definition processing x is the copy identifier A B C or D 6229 y isthe storage level identifier 0 or 1 and nnnnn is the dataset sequence number in the range 00001 65535 Note that the xy dataset name qualifier is not present for primary A copy datasets in storage level 0 of a NearArchive database The start and end sequence numbers used in a volume recovery control entry may be derived from the name of the dataset which is contained on the tape cartridge volume for which recovery control processing is enabled Any update of start and end sequence numbers on this panel will be rejected by ASM for S 390 The only exception to this is for entries consisting of underscore _ characters A single entry of this type will be displayed e if there are no current volume recovery controls in this storage level of the database e if a selection of I insert entry has previously 3 54 been entered In this case the underscore characters may be updated with the start and end sequence numbers of the new recovery control entry Each sequence number must contain 1 5 numeric cha
573. this amount of contiguous disk storage is not available when extending a disk copy dataset during object archival processing ASM for S 390 will close the current disk copy dataset and attempt to allocate a new disk copy dataset for storage of disk copies of objects being archived to the associated primary tape copy dataset 3 19 Dataset blocksize Maximum blockcount per segment ASM for S 390 v2 5 User Manual Optional if disk unit name is not blank must be blank otherwise Enter a 1 8 character numeric identifier in the range 9 32760 giving the blocksize that will be used when allocating new disk K copy datasets in this storage level This value does not need to be the same as that specified for tape blocksize in this storage group nor does it need to be larger than the longest record to be archived in an object in this NearArchive database This allows the most appropriate disk blocksize to be selected for the geometry of the disk volume on which the K copy dataset will be created If no entry is made in this field a default value of 23 468 bytes half track blocking on a 3380 device is used Optional if disk unit name is not blank must be blank otherwise Enter a 1 7 character numeric identifier in the range 0 9999999 giving the maximum number of data blocks to be written to any one disk K copy dataset segment in this storage level of the database A value of 0 in this field indicates that ther
574. this procedure OTS04020 INVALID VALUE SPECIFIED ON THE INLEVEL OUTLEVEL PARAMETER OR STORAGE LEVEL DOES NOT EXIT Explanation The storage level identifier specified in the INLEVEL OUTLEVEL execution parameter does not correspond to a defined storage level Action Examine the operand specified for the INLEVEL OUTLEVEL parameter on the EXEC statement Correct the parameter and rerun the job ASM for S 390 v2 5 User Manual 8 54 OTS04021 BOTH INLEVEL AND OUTLEVEL PARAMETERS MUST BE SPECIFIED OR BOTH OMITTED Explanation Action One but not both of the INLEVEL or OUTLEVEL EXEC parameters has been specified Both parameters must either be specified or both omitted Correct the EXEC parameters and rerun the job OTS04022 THE INLEVEL AND OUTLEVEL PARAMETERS MUST NOT BE MODIFIED ON A RESTART RUN Explanation Action A restart run is taking place but the value of the INLEVEL or OUTLEVEL parameters specified on the EXEC statement or not the same as those specified for the original failing run Ensure that the INLEVEL and OUTLEVEL parameter specifications on the EXEC statement are identical to those specified on the failing run Correct the parameter s and rerun the job OTS04097 NEARARCHIVE OBJECT MANAGEMENT UTILITY TERMINATING IN RESPONSE TO OPERATOR REQUEST Explanation Action The utility is acknowledging receipt of an operator STOP command for early
575. tically re used by ASM for S 390 during archival of new objects to that database The NearArchive database maintenance utility must be executed to reclaim tape space occupied by deleted objects in a NearArchive database This utility will recycle tape cartridge volumes whose level of active objects falls below a threshold set by the NearArchive database administrator Recycled volumes will be released from the database and may be returned to the appropriate scratch tape cartridge pool All updates to a NearArchive database may optionally be logged to the System Management Facility SMF datasets This facility is activated by the NearArchive database administrator Customer processes may be used to produce statistical analyses from this information Up to four copies of all tape datasets in a NearArchive database may exist These copies are identified within ASM for S 390 as follows 1 A copy This is the primary dataset created by ASM for S 390 when objects are written to a database ASM for S 390 v2 5 User Manual 1 8 2 B copy This is a copy of the primary A copy created by the NearArchive database backup utility 3 C copy This is a duplex copy of the primary A copy which may optionally be created concurrently with the A copy when objects are written to a NearArchive database 4 D copy This is a duplex copy of the B backup copy which may optionally be created concurrently with the B copy by the NearArchive d
576. ties provided by the CICS print management software this corresponds to asynchronous background retrieval of archived data as opposed to synchronous foreground retrieval which is the case with the ASM for S 390 online retrieval facility The above discussion is not applicable when retrieving the disk copy of an archived object All such objects may be retrieved without any specific requirement for support of automated tape processing If required disk copies may be kept of all objects in a NearArchive database This will remove altogether the requirement for automated tape processing facilities when accessing objects in an online processing environment In order to optimize performance of data retrieval ASM for S 390 allows users to adjust online tape retrieval operation to match the requirements of any individual application Users should pay particular attention to the following areas in order to optimize online tape processing performance a The amount of data held per tape cartridge volume MAXBLKCT database initialization parameter In general reducing the amount of data held per tape volume will reduce the average time taken to locate a NearArchive object and consequently reduce the average response time for online data retrieval However the number of tape library storage cells required to contain all volumes of a NearArchive database will increase proportionately b The maximum number of tape drives to be allocated by Near
577. tion Refer to IBM documentation on VSAM macro processing for details of the reason code Take the appropriate corrective action and restart the job OTS13002 STORAGE LEVEL a DOES NOT EXIST IN THIS DATABASE PROCESSING TERMINATED Explanation Storage level a has been specified on the job s EXEC statement parameter but does not exist in the NearArchive database Action Check the LEVEL parameter on the EXEC parameter Correct and rerun if necessary OTS13003 INVALID EXEC PARM aaaaaaaaaaaaa Explanation An invalid parameter has been specified on the EXEC statement Processing is terminated Action Refer to chapter 7 of this manual for EXEC parameter specification Make the appropriate corrections to the EXEC parameters and restart the job OTS13004 DD CARD MISSING IN JCL FOR OTASV100 Explanation The JCL DD statement for the NearArchive database s primary index dataset OTASV100 has not been specified in the execution JCL Action Correct the JCL and resubmit the job OTS13006 UNABLE TO GETMAIN STORAGE FOR xxxx BUFFER Explanation A request for buffer storage in the job s private area has been denied by the operating system xxxx may take the following values PCR Processing Control Record SLC Storage Level Control record MIE Main Index Entry record TAPE Tape data buffers Action Increase the REGION size for the job or jobstep and resubmit the job ASM for S 390 v2 5 User Manual 8 90 OTS1
578. tion Codes OTASPO010 will set a condition code on completion This code may take the following values 0 the utility has been executed successfully 4 a warning condition has been encountered during processing of the utility but execution of the utility continued A warning message will have been written to the SYSPRINT dataset 8 an error condition has been encountered during processing of the utility but execution of the utility continued An error message will have been written to the SYSPRINT dataset 12 a serious error has occurred during processing of the utility Execution of the utility has been terminated An error message will have been written to the SYSPRINT dataset 7 1 4 Running the Utility There are no special considerations relating to execution of the index print utility The utility may process a primary index file which is being updated by another concurrent NearArchive process However in these circumstances the contents of the formatted print report may not be accurate 7 1 5 Utility Processing Reports The following reports will be written by the index print utility to the SYSPRINT dataset ASM for S 390 v2 5 User Manual 7 9 1 Execution parameter report This will summarize the values of the execution parameters specified or defaulted for execution of the utility 2 Formatted index entry report This report will contain one entry for each object index entry encountered during sequential scann
579. tion is illustrated in figure 3 9 It contains the following fields Primary index This field gives the name of the database s name primary index dataset as entered on panel OTSN4000 The contents of this field may not be amended Secondary index The identifier of the secondary index to be no updated as entered on the secondary index maintenance menu panel OTSN4220 The contents of this field may not be amended Volume serial Optional entry Enter the serial number 1 6 ASM for S 390 v2 5 User Manual 3 40 number Unit of allocation Primary allocation value Secondary allocation value Data CI size Index CI size ASM for S 390 v2 5 User Manual alphanumeric national or special characters of the disk volume on which the dataset is to be created This parameter may be omitted if the volume is to be automatically selected by the operating system Optional entry Enter one of the following values which is to be used to identify the unit of allocation specified in the primary and secondary allocation value fields CYL allocation is to be performed in cylinders TRK allocation is to be performed in tracks REC allocation is to be performed in records If this entry is omitted a default value of CYL is used i e primary and secondary allocation units are specified in cylinders Mandatory entry Enter the number of allocation units as entered or defaulted in the preceding field to be used for al
580. tion of the utility in full volume backup mode This parameter is not permitted when TYPE INCREMENTAL has been specified The following operands may be specified B The utility is to create or re create a primary backup B copy dataset C The utility is to create or re create a duplex C copy dataset D The utility is to create or re create a duplex backup D copy dataset K The utility is to create or re create disk K copy datasets When this option is specified identification of the tape datasets to be backed up must be supplied via the OTASBKUP DD entry Also the LEVEL parameter should not be used with this option A warning message will be issued by the utility in these circumstances and the EXEC parameter will be ignored If this parameter is omitted the utility will create a primary full volume B copy backup dataset and optionally a duplex full volume D copy backup dataset Control over creation of the duplex backup dataset is via the duplex during backup setting during database creation or update processing in NearArchive database administration processing under TSO ISPF see chapter 3 If this field is set to Y the utility will automatically create a duplex backup dataset during full volume backup processing when no COPY parameter is supplied If this field is set to N no duplex backup dataset will be created under these conditions ASM for S 390 v2
581. tion parameters have been specified The object management utility requires update access to the NearArchive database being processed and consequently will not execute if the database is already open for update processing by another job Inactive tape space within a NearArchive database which is occupied by objects which have been expired or migrated or disk space occupied by objects whose disk copies have been expired may be reclaimed through execution of the NearArchive database maintenance utility OTASP030 This utility should be run periodically after completion of the object management utility in order to minimize the overall tape and disk storage required by a NearArchive database 7 4 5 Operator commands Execution of the utility may be terminated at any point by entering the following command through the system console STO P jobname where jobname is the name of the job used to execute the object management utility The utility will acknowledge receipt of this command via message OTS04097 or OTS04597 and perform normal termination processing All database updates performed by the utility prior to termination will be committed Utility processing may be continued at any subsequent time via normal job execution 7 4 6 Utility processing reports The following reports will be written by the object management utility to the SYSPRINT dataset These reports will be written whether running in actual mode or simu
582. to a media problem with the primary tape dataset that dataset should be re created by one of the following methods 1 If a duplex C copy tape dataset was created during the batch archival or utility procedure this dataset may be used to restore the primary A copy dataset This may be done using the NearArchive database recovery utility OTASP130 Refer to section 7 6 for details on the use of this utility After restoring the primary tape dataset the database backup procedure may be rerun 2 Ifno duplex copy of the primary tape dataset is available it will be necessary to rerun the archival or utility procedure in order to recreate the primary dataset on a different tape cartridge volume In this case all NearArchive system datasets must be restored to their status prior to running the archival or utility job using standard disk dataset recovery software In addition the latest tape dataset in the appropriate storage level of the NearArchive database must be restored from a previous backup copy This should be done using the NearArchive database recovery utility OTASP130 Refer to section 7 6 for details on the use of this utility After successfully restoring the NearArchive database the batch archival or utility job may be re executed in order to recreate the primary tape dataset Database backup procedures should be performed as normal after completion of the rerun archival or utility job ASM for S 390 v2 5 User
583. to identify the storage level into which objects are to be migrated All objects in the source storage level as specified on the INLEVEL parameter which are older than the sum of the migration periods specified for all storage levels up to but not including the target storage level specified in this parameter will be moved from the source storage level to the this storage level If this parameter is specified then the INLEVEL parameter must also be specified The storage level specified in the OUTLEVEL parameter must have been defined in the database being processed and must be higher in value than that specified in the INLEVEL parameter If omitted the INTLEVEL parameter must also be omitted In this case no migration processing will be performed during execution of the utility ASM for S 390 v2 5 User Manual 7 33 DATE The DATE parameter may only be specified if the SIMULATE parameter is also specified It is used to simulate execution of the object management utility on a date other than the system run date The parameter may take one of the following values yyyy mm dd This specifies an explicit date for which object management processing is to be simulated This entry may contain any valid date in the format YYYY MM DD nnn or nnn nnn gives the number of days by which the system run date is to be increased or decreased to derive the date for which object management processing is to be si
584. to pressing the enter key in order to display details of any other NearArchive reader task Status This field contains a code which identifies the current status of the task being displayed This code can have the following values NULL the task has not yet been initialized WAIT the task is waiting for work BUSY the task is currently processing a request TERM the task has been terminated Proc flag This field gives additional information concerning the processing status of the identified task It can take the following values SHUT the task will shut down after all active requests have been completed MNTD for a waiting tape reader task this means that the tape dataset identified in the DSN in use field was retained on the drive after the last retrieval request was completed The next request for retrieval of data from this dataset may be processed by this task without any tape mount requirement For a busy tape reader task the tape currently being processed will not be dismounted after all queued requests have been completed This code will not occur for disk reader tasks WTMB the task is pausing during retrieval of a multi block data item to allow CICS temporary storage updating to take place Current qlen For busy tasks this field gives the number of requests currently queued for that task This number will be identical to the number of request details lines displayed via this option ASM for S 3
585. tries for uncommitted objects created during the failed run will remain in place Attempts to retrieve any such object will fail with a return code 86 This consideration is not relevant if Volsafe tape volumes are used for object storage Should any of the above issues raise problems regarding data integrity etc during restart processing for any particular application then the NearArchive database should be recovered after failure of an archival process and the entire archival process rerun normally using the procedure discussed in the next section 5 2 2 3 Asynchronous secondary index update processing Asynchronous secondary index update processing is NOT permitted if the dynamic backout facility has been enabled i e an OTASLOG1 DD card is present in the JCL used to execute the object archival process A warning message will be issued to the job log during archival processing in these circumstances and normal synchronous secondary index update processing will be performed ASM for S 390 v2 5 User Manual 5 11 There are no special considerations for restart of a failed object archival process where asynchronous secondary index update processing has been enabled NearArchive does NOT require the secondary index update utility to be executed prior to restart of the object archival procedure Existing entries in each secondary index update dataset file s OTnnxxxx will be appended with new entries created during reru
586. trieve object record call This type of access is termed skip sequential e When all retrievals from a database have been completed the database should be disconnected with a disconnect database call request code 49 A database may be disconnected at any time irrespective of whether the previous retrieval processing has completed successfully or not Figure 5 3 below illustrates the above processing sequence Identify Issue end of key and date NearArchive object P of object read Yes ww Fig 5 3 Batch retrieval procedure ASM for S 390 v2 5 User Manual 5 22 5 3 2 Operational considerations NearArchive batch retrieval processing will dynamically allocate and de allocate a single tape drive unit in response to each batch request processed In this context the following points concerning the NearArchive operational environment should be noted a There may be a substantial number of allocation and de allocation requests made per batch run with a similar number of tape mount and dismount requests To avoid excessive manual intervention and to provide a guaranteed level of service for these operations and for batch turnaround times it is recommended that NearArchive batch retrieval be implemented in an automated tape processing environment Alternatively tape mount dismount activity may be reduced by sorting the batched retrieval requests prior to processing
587. ual 5 10 The NearArchive database should be disconnected normally with commit processing supplementary code 2 0 for request code 49 following successful completion of the restarted archival process This will allow subsequent archival processes to successfully connect to the NearArchive database for normal processing The following points regarding the above process should be noted e When an application detects a failure condition during an archival procedure the NearArchive database should be disconnected without commit processing supplementary code 2 1 for request code 49 Disconnecting a NearArchive database in any other manner automatically commits all updates and will cause any subsequent restart connect request to be rejected with return code 18 e An application should ensure that all objects which were presented to NearArchive after the last commit point prior to the point of failure during a failed archival procedure should be re presented during the restarted archival run Tape storage and index entries for these objects will be re used during the restarted process effectively rolling back uncommitted database updates made during the failed run For non Volsafe volumes tape storage occupied by uncommitted objects will always be overwritten during a restart run Failure to re archive uncommitted objects will mean that the tape storage occupied by those objects will be overwritten but that the index en
588. uery have been returned NearArchive will set a return code of 00 and supplementary code 1 value of 0 Note that in this case the number of returned entries may be less than n the data length will be reset to indicate the number of returned entries m in the data area In these circumstances calling applications should only process the first m entries the contents of the remaining n m entries will be unchanged from the contents on entry to NearArchive 3 Submission of a repeat query index request for a key after all entries for the previous request have been returned and where there have been no intermediate query index calls will result in the first n items for that query being once again returned to the caller D 3 3 Request Code 32 Read data record This call is issued by an application to retrieve the next data record from a NearArchive object Supplementary code 1 is used to indicate whether a sequential or direct read is required For a sequential read the next logical record stored physically on the tape is retrieved For a direct read a change of key or date in the parameter area will cause that NearArchive object to be located and its first data record retrieved Subsequent direct reads using the same key and date values will cause successive data records from that NearArchive object to be retrieved For direct reads return code 30 is used to indicate that all records belonging to a NearArchive obje
589. uired compress threshold should be entered in the Disk compress threshold field on the NearArchive database administration facility storage level update or definition panels The NearArchive object management utility OTASP040 should always be executed prior to execution of the database maintenance utility so that primary index and space management file entries are correctly updated with details of expired and deleted objects for both tape and disk copies ASM for S 390 v2 5 User Manual 7 17 This will ensure that all database control information is up to date prior to database maintenance being performed The database maintenance utility should be used at regular intervals to process databases from which objects have been deleted or have expired in order to reduce the overall tape cartridge holding The FORCE execution parameter of the database maintenance utility may be used to force recycling of all current volumes in a database storage level and or compression of all disk copy datasets irrespective of the level of active objects on each tape or disk dataset This option may be useful after a change has been made to a storage level s tape device type in order to release all volumes created on the old device type and to re create these volumes using the new device type 7 3 1 Functions The database maintenance utility performs the following functions e Sequentially scans a NearArchive database s space management da
590. uld be set as follows Request code This must be set to the value 40 for all database connect requests Return code Not used on entry to NearArchive This field will contain a 2 character numeric value on return from NearArchive indicating the result of the call Refer to chapter 8 of the manual for a description of all possible return codes Supplementary Must be set to 0 on entry to NearArchive On code 1 return may contain additional information for an error return code Supplementary Must be set to 0 on entry to NearArchive On code 2 return may contain additional information for an error return code ASM for S 390 v2 5 User Manual 4 8 Database name Primary key pointer Object archive date TSQ name Object start position Object length Data buffer length Data buffer Not used for this request type Not used for this request type Not used for this request type Not used for this request type Not used for this request type Not used for this request type Mandatory for this request type Indicates the number of entries in the database name list contained in the data buffer field For version 2 5 this field must contain the value 1 On entry contains the database name list entries indicating the name of each database to which access is required and the type of access required Each entry is 24 bytes in length The number of entries in the list must be equal to the value se
591. ult of the call Supplementary code 1 on entry will contain a 2 byte binary value in the range 1 99 which specifies the identifier of the secondary index to be updated On exit may contain additional information after an exception condition Supplementary code 2 on entry must be set as follows 0 use automatic secondary key identification rules as defined during secondary index initialization to extract the secondary key from the immediately preceding data record presented to NearArchive for archival l the value of the secondary key to be used is supplied in the data area in the interface parameter area This must be of length s the key length for the specified secondary index as defined during index initialization ASM for S 390 v2 5 User Manual D 8 Any other value will be rejected by NearArchive with a return code of 99 On exit may contain additional information after an exception condition Primary key not used for this request code Archival date not used for this request code Data length not used for this request code Data area supp code 2 0 not used supp code 2 1 should contain the value of the secondary key to be used to index the data object being archived Usage Notes 1 The NearArchive object indexed via a secondary key entry generated from an identify secondary key call is the object whose primary key and archive date are identified in the last write data requ
592. umber of tape drives which are available for use by the NearArchive CICS control region at initialization Action No action necessary ASM for S 390 v2 5 User Manual 8 109 OTS23208 MAXDISK xxx Explanation This message displays the maximum number of disk reader sub tasks which are initialized for use by the NearArchive CICS control region at initialization Action No action necessary OTS23209 MAXQLEN xxx Explanation This message displays the maximum number of concurrent requests which NearArchive will queue for any one tape volume Action No action necessary OTS23210 TSQDELETE xxxx Explanation This message displays the value of the TSQDELETE control parameter set by the NearArchive CICS control region at initialization Action No action necessary OTS23211 TAPEWAIT xxxxx Explanation This message displays the value of the TAPEWAIT control parameter set by the NearArchive CICS control region at initialization Action No action necessary OTS23212 TIMEOUT xxxxx Explanation This message displays the value of the TIMEOUT control parameter set by the NearArchive CICS control region at initialization Action No action necessary ASM for S 390 v2 5 User Manual 8 110 8 17 Control Region Quiesce Messages OTS24001 NEARARCHIVE V2 5 NOW QUIESCED Explanation NearArchive processing has been terminated in the control region Action No action necessary OTS24002 NEARAR
593. ume Once a volume is placed in recovery status all retrievals of data from that volume will be satisfied from the backup copy identified for that recovery control entry Users should ensure that all such backup copies are available for automatic cartridge handling as required via a local or remote automatic cartridge system To restore a volume which is in recovery status the NearArchive database restore utility OTASP130 should be used see section 7 6 for a description of this utility After a tape cartridge volume has been recovered using this utility it will be automatically removed from recovery status Subsequent retrievals of data from that volume will then be satisfied from the restored primary A copy which should be available for automatic cartridge handling b Loss of Database If an entire NearArchive database becomes unavailable due to serious hardware malfunction or loss of data center the NearArchive database administrator should invoke the disaster recovery option for that database This option is enabled using the supplied TSO ISPF database maintenance dialogs by selecting option 2 from the recovery control panel OTSN4400 which is invoked via option 4 from the main NearArchive menu panel OTSN4000 See chapter 3 for a description of this facility When the disaster recovery option is enabled for a NearArchive database all retrievals will be satisfied for all tape cartridge volumes within the NearArc
594. undant index entries ASM for S 390 v2 5 User Manual D5 D 1 2 Request Code 13 Write Data Record This call is issued to write a data record to the database The standard interface format is used for this request Interface parameters should be set as follows Request code 13 Return code not required on entry This field will contain a 2 character value on return from NearArchive which indicates the result of the call Supplementary codes 1 and 2 not required on entry May contain values on return giving additional information after an exception condition Primary key should contain the primary key of the NearArchive object of which the record being archived is a component The length of this field must equal the primary keylength specified during database initialization Generic key values are not permitted NearArchive will use any change in the value of this field during successive write requests to identify the start of a new NearArchive object Archival date should contain the archival date of the NearArchive object of which the record being archived is a component This date is used in conjunction with the primary key to uniquely identify a NearArchive object for retrieval from the database NearArchive will use any change in the value of this field during successive write requests to identify the start of a new data object The date should be a valid date in the format YYMMDD Invalid dates will be
595. up request OTS11055 BLOCK COUNT MISMATCH CREATING K COPY OBJECT FOR DISK DSN xxxx xxxx Explanation The disk copy of an object being processed when COPY K has been specified in the EXEC parameters does not contain the number of blocks identified in its index entry Processing of the current dataset is terminated Action This error indicates a possible data integrity problem with the primary tape dataset If necessary the dataset should be re created using the NearArchive database restore utility OTASP130 ASM for S 390 v2 5 User Manual 8 85 OTS11056 DISK COPY TERMINATED FOR DSN xxxx xxxx ABEND CODE X yyy Explanation System abend yyy has occurred during backup processing when COPY K has been specified The disk dataset being processed is closed normally and processing of the utility continues with the next entry in the OTASBKUP file Some objects from the primary tape dataset may not be present on the disk copy dataset Retrieval of these objects will be satisfied from tape Action Refer to IBM documentation for a description of the system abend code If the failure occurs due to lack of disk space during disk copy processing make more disk space available and rerun the utility OTS11057 UNABLE TO GET VOLSER FOR NEW DUPLEX BACKUP TAPE Explanation An internal error has occurred during cataloging of a new backup or duplex backup tape dataset Processing of the utility is termina
596. upport representative ASM for S 390 v2 5 User Manual 8 115 OTS26008 NEARARCHIVE ONLINE CONTROL PROCESS ENDED Explanation Execution of the NearArchive operator interface procedure has been terminated normally after PF3 has been entered from the selection menu screen OTSN260 Action None This is an information message OTS26009 USER EXIT PROGRAM OTASUX02 NOT DEFINED TO CICS Explanation A program entry for the user exit program OTASUX02 has not been defined to CICS Action Ensure that the correct CICS table entries have been defined Refer to section 2 8 for information on CICS table definitions OTS26010 AUTHORIZATION TO PERFORM REQUESTED FUNCTION DENIED BY USER EXIT Explanation A request to change the status of the NearArchive control region has been rejected by the user exit program OTASUX02 Action None The requested action cannot be performed by the current user OTS26100 ONLY ONE SELECTION ALLOWED TRY AGAIN Explanation More than one task has been selected from the reader task summary screen OTSN261 for processing A maximum of one selection may be entered on this screen Action Select a single task for processing and press enter OTS26101 NEARARCHIVE NOT INITIALIZED Explanation The CICS operator interface facility has been invoked but the NearArchive control region has not yet been initialized Operator interface processing cannot be performed ASM for S 390 v2 5 User Manual 8 11
597. us the Shift Out SO and Shift In SI bytes If using DBCS enter the true count of bytes used and not the count of characters For example number of DBCS characters 2 number of SO bytes number of SI bytes must be less than 254 bytes NearArchive Mandatory entry Enter the user SVC number user SVC no allocated for NearArchive during the product installation procedure This must be a numeric value in the range 200 255 Consult the person s responsible for installing ASM for S 390 on your system if you are unsure of this value HLQ for this Mandatory entry Enter the high level database database qualifier to be used by ASM for S 390 when creating system datasets disk and tape for this database This field must contain from 1 30 alphanumeric characters and be a valid dataset name Data retention Optional entry Enter the length of time in years period and days for which a NearArchive object is to be ASM for S 390 v2 5 User Manual 3 7 retained in the database Enter a value of 0 years and 0 days if objects are to be retained indefinitely in the database i e no automatic expiry If no entry is made in this field a default value of 0 years and 0 days is used i e objects will not be expired System dataset Optional entry Enter a valid system unit name or unitname esoteric to be used internally by ASM for S 390 when allocating temporary disk datasets during database administration processing If no entr
598. utility will automatically checkpoint its activity during its migration processing cycle after all objects to be migrated from a single tape cartridge volume have been processed successfully If execution of the utility failed during the migration processing cycle processing will be restarted from the last successful checkpoint There is no requirement to restore any dataset prior to rerunning the utility The object management utility has built in controls to prevent normal processing by the utility of a NearArchive database after failure of the previous object management procedure for that database In these circumstances a parameter of RESTART YES must be present on the job s EXEC statement Archival of data to a NearArchive database should not be performed while completion of a cancelled object management procedure is still outstanding It is also important that a NearArchive database s migration control dataset should not be amended in any way while an object management procedure is suspended in this manner Note that as the object migration procedure may take some time to execute depending on the number of tape cartridge volumes to be processed it may be terminated by the system operator at any time via entry of a STOP command in order to allow input or input output access to the database from other jobs Execution of the object management procedure may subsequently be continued by re submitting the job for normal executio
599. v2 5 User Manual 4 19 Offset Length k 8 2 k 10 4 k 14 2 k 16 1 k 17 1 k 18 4 k 22 2 B Extended format Type Bin Bin Bin Char Char Bin Bin Description in format YYYYMMDD Number of tape blocks used to hold NearArchive object Identifier of first block on tape volume containing archived object Sequence number in database of tape dataset containing the NearArchive object Hierarchical storage level in which object is stored 0 to 7 Object residency indicator blank tape only D tape disk Identifier of first block on disk K copy dataset containing the NearArchive object object residency D only This field will contain binary zeroes if no disk copy of the object exists Number of disk blocks used to hold the object object residency D only This field will contain binary zeroes if no disk copy of the object exists For extended queries supplementary code 1 in the range 100 199 each entry is k 48 bytes in length where k is the primary keylength of the database and has the following format Offset Length 0 k ASM for S 390 v2 5 User Manual Type char Description Primary key of archived object If the query was based on primary key this field will be identical for 4 20 Offset Length k 8 k 8 4 k 12 4 k 16 2 k 18 2 k 20 1 k 21 1 k 22 4 k 26 4 k 30 2 k 32 16 C Volume serial number response AS
600. ve will not reposition to the last commit point during dynamic backout processing if Volsafe support is enabled for the primary or duplex copy dataset Uncommitted data on the Volsafe volume will not be overwritten during restart connect processing but will be ignored by ASM for S 390 and will not be accessible via the ASM for S 390 API 3 Applications which issue explicit NearArchive commit calls should ensure that updates to any other database which is being processed are also committed at the same time An application should ASM for S 390 v2 5 User Manual 4 41 have its own restart mechanism in the event of failure so that processing may be restarted from the last commit point 4 3 9 Request Code 49 Disconnect a NearArchive Database This call is used by a batch or TSO application to disconnect from a NearArchive database after all input or output processing has been completed All datasets and storage areas allocated during database connect processing will be released and any tape dataset in use by the application will be dismounted from the appropriate tape device Call parameters should be set as follows Request code Return code Supplementary code 1 Supplementary code 2 ASM for S 390 v2 5 User Manual This must be set to the value 49 for all disconnect requests Not used on entry to NearArchive This field will contain a 2 character numeric value on return from NearArchive indicating the resul
601. ving the JOB name and USER name Action This is an internal processing error Retain all information regarding execution of the utility and contact your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 52 OTS04014 INVALID DATE SETTING IN EXEC PARAMETERS Explanation The DATE parameter specified in the job execution parameters is not correctly specified Action Examine the operand specified for the DATE parameter on the EXEC statement Correct the parameter and rerun the job OTS04015 DATE PARAMETER MUST FOLLOW SIMULATE PARAMETER Explanation A DATE parameter has been specified in the job execution parameters but no SIMULATE parameter has been specified This is an invalid combination of execution parameters Action Verify whether the utility is to be executed in simulation mode or not If it is add a SIMULATE parameter to the job execution parameter If not remove the DATE parameter OTS04016 NEARARCHIVE OBJECT MANAGEMENT UTILITY HAS BEEN TERMINATED IN RESPONSE TO OPERATOR REQUEST Explanation This message is issued prior to completion of object management processing after execution of the utility has been terminated early via an operator STOP command Action None This is an information message OTS04017 INVALID VALUE SPECIFIED ON THE NEWTAPE PARAMETER Explanation The NEWTAPE parameter on the EXEC statement is invalid The parameter value must be s
602. w to update this manual 1 5 Page numbering SYSTEM DESCRIPTION 1 1 System Overview 1 2 Software Environment 1 3 NearArchive Databases 1 3 1 Identifying a NearArchive Object 1 3 2 Components of a NearArchive database 1 4 Application Program Interface 1 4 1 Batch processing 1 4 2 CICS processing 1 5 Online Access to NearArchive Databases 1 5 1 Online Response Times 1 6 NearArchive Utilities INSTALLATION AND IMPLEMENTATION PROCEDURES 2 1 Install distribution libraries 2 2 Host system modification 2 2 1 Install user SVC 2 2 2 Update Pageable Link Pack Area 2 3 Update NearArchive authorization code s 2 4 Perform TSO logon procedure changes 2 5 Perform ISPF menu changes 2 6 NearArchive database definition 2 7 Batch implementation 2 8 Online implementation 2 8 1 NearArchive control region 2 8 2 Secondary NearArchive regions 2 8 3 Multiple NearArchive Database Access 2 8 4 CICS Definitions for a NearArchive Control Region 2 8 5 CICS definitions for a secondary NearArchive region 11 I 3 I 3 I 5 I 6 I 8 I 9 1 1 1 3 1 4 1 4 1 5 1 7 1 10 1 11 1 12 1 13 1 14 1 19 2 1 2 4 2 6 2 6 2 7 2 7 2 8 2 10 2 10 2 11 2 12 2 12 2 13 2 15 2 15 2 22 ASM for S 390 v2 5 User Manual 2 8 6 CICS JCL changes 2 23 2 9 Security user exit 2 27 2 10 Conversion of pre v2 5 databases 2 30 2 10 1 Database regression 2 31 2 11 Run installation verification pr
603. with the associated primary key value An approximate estimate may be used during initial secondary index dataset allocation By monitoring secondary index usage the primary and or secondary allocation values may be amended during the life of the database ASM for S 390 v2 5 User Manual 3 44 3 2 3 Storage Level Maintenance The NearArchive storage level maintenance procedure is invoked by selecting option 3 from the database maintenance menu panel OTSN4200 This facility should be invoked in order to perform the following database maintenance activities 1 Update storage level definition This will allow amendment of storage level specific database definition parameters for a single storage level 2 Add new storage level This will allow a new storage level to be defined in the NearArchive database On selecting this option the storage level maintenance menu panel OTSN4230 will be displayed This panel is illustrated in figure 3 11 Select the option on panel OTSN4230 which corresponds to the storage level maintenance function to be performed For each option the storage level number 0 to 7 must be entered in the storage level number field For option 1 the specified storage level must already exist For option 2 the specified storage level must not already exist OTSN4230 NearArchive V2 5 Storage Level Maintenance COMMAND gt Primary index name gt Option gt _ Update storage level defi
604. x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 41 00 x0004 49 00 x0000 SUPP CODE2 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 x0000 X q m D B NAME EST EST ESI ESI EST EST ESI ESI EST ESI ESI EST EST ESI EST EST ESI ESI EST EST ESI p p p p p NEARARCHIVE VERSION 2 5 INSTALLATION VERIFICATION PROCEDURE KEY DATE REC LEN 0 Fig A5 job OTASD215 RECORD AREA TEST 12345678919930929 12345678919980930 12345678919981120 12345678920000101 12345678920020310 12345678920020310 12345678920000101 12345678919981120 12345678919980930 12345678919930929 32345679719980130 32345679519980130 32345679319980130 32345679119980130 32345678919980130 32345679719980130 32345679519980130 32345679319980130 32345679119980130 32345678919980130 CALL AUDIT REPORT YYYY MM DD HH MM 12345678919980401 12345678919981020 12345678919991231 12345678920010821 13345678919980526 12345678920010821 12345678919991231 12345678919981020 12345678919980401 13345678919980526 32345679619980130 32345679419980130 32345679219980130 32345679019980130
605. xistence NearArchive will append items to this queue for each logical record retrieved from the NearArchive database by the new request 2 NearArchive will automatically delete temporary storage queues containing retrieved objects if a non zero value for the TSQDELETE initialization parameter has been specified If the TSQDELETE parameter is set to zero then it is the responsibility of the calling application to delete the temporary storage queue used to hold a retrieved NearArchive object 3 All tape and disk access operations will be performed from the NearArchive control region If an application is not executing in a NearArchive control region its executing CICS region must be linked to a NearArchive control region using standard CICS Multiple Region Operation MRO linkage facilities Note that use of MRO facilities is not mandatory for NearArchive operation ASM for S 390 v2 5 User Manual D 20 4 The NearArchive control region must be initialized prior to retrieval requests being issued by applications from within that region or from within any connected MRO region NearArchive will set a return code of 21 for retrieval requests which have been issued prior to NearArchive control region initialization 5 The maximum number of items which may be held in a CICS temporary storage queue is 32767 NearArchive will set a return code of 23 if a NearArchive object containing greater than this number of logical records is retrieve
606. xisting tape volume in the storage level to which objects are being migrated A new tape volume will only be allocated when the volume being updated is filled to its required capacity as controlled by the maximum blockcount per volume setting for that storage level ASM for S 390 v2 5 User Manual 7 32 YES a new tape volume will be allocated in the storage level to which objects are being migrated at the start of migration processing If this parameter is omitted a default value of NO is used INLEVEL Specify the INLEVEL parameter when performing object migration processing to identify the storage level from which objects are to be migrated All objects in the storage level which are older than the sum of the migration periods specified for all storage levels up to but not including the target storage level will be moved from this storage level to the storage level specified or defaulted in the OUTLEVEL execution parameter If this parameter is specified then the OUTLEVEL parameter must also be specified The storage level specified in the INLEVEL parameter must have been defined in the database being processed and must be lower in value than that specified in the OUTLEVEL parameter If omitted the OUTLEVEL parameter must also be omitted In this case no migration processing will be performed during execution of the utility OUTLEVEL Specify the OUTLEVEL parameter when performing object migration processing
607. xplanation An error has occurred when reading the NearArchive processing control record from dataset OTASV100 xxxx and yyyy are the hexadecimal return and reason codes from the VSAM GET macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job If no apparent cause of the error can be identified contact your NearArchive product support representative OTS07005 NEARARCHIVE DATABASE IS NOT AT THE CORRECT LEVEL Explanation The database index supplied in the OTASV100 DD entry is a pre version 2 5 index The NearArchive Journal maintenance utility cannot process pre version 2 5 databases Processing is terminated ASM for S 390 v2 5 User Manual 8 61 Action Pre version 2 5 databases must be converted for use with this release of the product Database conversion is performed via the database administration process in TSO ISPF Refer to chapter 3 of this manual for information on the database conversion process OTS07006 ERROR DURING VALIDATION OF THE EXEC PARAMETER DATE Explanation An invalid DATE parameter has been encountered in the EXEC parameters Processing of the utility is terminated Action Ensure that a correct value for the DATE parameter is supplied in the EXEC parameters and rerun the job OTS07007 DATABASE OPEN CALL TO OTASP100 FAILED RETURN CODE aa SU
608. xxx RECEIVED FOR FUNCTION X yyy Explanation A CICS command failure occurred during command execution The response xxx and function codes yyy are as specified in the Exec Interface Block EIB Action Refer to CICS documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS20501 ABEND xxxx RECEIVED DURING NEARARCHIVE RETRIEVAL ROCESSING Explanation An abend with code xxxx has occurred during CICS retrieval processing Action Refer to CICS documentation for details of the abend and corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS21000 EIBRESP xxx RECEIVED FOR FUNCTION X yyy Explanation A CICS command failure occurred during command execution The response xxx and function codes yyy are as specified in the Exec Interface Block EIB Action Refer to CICS documentation for details of the function and response codes Take appropriate corrective action Contact your NearArchive support representative if there is no apparent reason for the error OTS21001 ABEND xxxx RECEIVED DURING NEARARCHIVE RETRIEVAL PROCESSING Explanation An abend with code xxxx has occurred during CICS retrieval processing ASM for S 390 v2 5 User Manual 8 103 Action Refer to CICS documentation for details of the abend and co
609. xxxx DD card in the JCL used during object archival processing Each separate execution of the utility should specify the name of the corresponding secondary index update dataset as specified in the OTnnxxxx DD card for batch archival in the OTASS080 DD entry Following successful execution of the utility the contents of the OTASS080 file will be deleted and the file reset for use by the next object archival process for that database Further archival of objects to a database will not be permitted until all outstanding asynchronous secondary index updates have been completed via execution of the secondary index update utility It should be noted that use of the NearArchive dynamic backout facility is not permitted if one or more secondary indexes are to be updated asynchronously during object archival processing See section 4 5 3 for further discussion of this issue ASM for S 390 v2 5 User Manual 7 56 a b c d 7 6 5 Utility Processing Reports The following reports will be written by the secondary index update utility to the SYSPRINT dataset A summary totals report will be issued at successful or unsuccessful end of processing giving the following information Total number of records read from file OTASS080 Number of secondary index entries updated Number of duplicate entries read from file OTASS080 A duplicate entry may exist when object archival processing has been restarted following an earlie
610. xxxxxxx DATASET Explanation An error has occurred attempting to open the sequential dataset with filename xxxxxxxx Execution of the utility is terminated with condition code 12 Action Refer to other available system messages for more information on the cause of the error Make the appropriate corrections and rerun the job ASM for S 390 v2 5 User Manual 8 73 OTS08098 UNABLE TO OPEN SYSPRINT DATASET Explanation An error has occurred opening the SYSPRINT dataset Action Consult other available system messages for additional information on the error Make the appropriate corrections and rerun the utility 8 10 Database Backup Utility Messages OTS11000 NEARARCHIVE BACKUP UTILITY COMPLETED WITH RETURN CODE xxx Explanation This informational message is issued when the database backup utility has completed processing xx is the highest condition code encountered during program execution Action No action necessary OTS11001 OPEN FAILED FOR OTASV100 RETURN CODE X xx ERROR CODE X yyyyyyyy Explanation An error has occurred when opening the NearArchive primary index OTASV100 xx and yyyyyyyy are the hexadecimal return and reason codes from the VSAM OPEN macro Processing is terminated Action Refer to IBM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job OTS11002 UNABLE TO GETMAIN STORAGE FOR DATA
611. xy Gnnnnn where HLQ is the high level dataset name qualifier used for generating system dataset names for the NearArchive database as defined during database definition processing x is the copy identifier A B C or D y is the storage level identifier 0 to 7 and nnnnn is the dataset sequence number in the range 00001 65535 ASM for S 390 v2 5 User Manual 5 13 Note that the xy dataset name qualifier is not present for primary A copy datasets in storage level 0 of a NearArchive database Users may utilize this naming standard to automatically control tape cartridge creation and storage locations for each set of backup copies of a NearArchive database In addition the NearArchive backup utility may be used to create one or more incremental backup datasets for each primary tape dataset An incremental backup dataset will contain all objects stored on the corresponding primary tape dataset since last execution of the backup utility for that database Up to 9999 incremental backup datasets may be created for each primary tape dataset These datasets may be created on different tape devices from those used to create the corresponding primary dataset and may be multi volume if necessary In addition up to two copies primary and duplex of each incremental backup dataset may exist Incremental backup datasets will have a dataset name of the form HLQ Gnnnnn xymmmm where HLQ is the high level
612. y be automatically deleted by ASM for S 390 through use of the TSQDELETE control region parameter When this parameter is set to a non zero value of n in the range 1 1440 ASM for S 390 will automatically delete each TSQ used for storage of a recalled NearArchive object n minutes after that object was last accessed Any request to access a NearArchive object which has been previously recalled will be automatically satisfied from the TSQ used to store that recalled object until such time as the TSQ is deleted by the NearArchive TSQ housekeeping facility This facility will improve performance for repeated access to individual objects g Dynamic load balancing When dynamic load balancing is enabled for a database storage level ASM for S 390 v2 5 User Manual 1 18 ASM for S 390 will automatically retry a retrieval request using a designated backup copy volume when access to a primary volume has failed due to a resource unavailable condition Use of this facility will improve performance and throughput for batch and online retrieval requests where backup database copies are available for automated processing h Internal request queuing If a request for retrieval of an object from tape cannot be immediately processed due to the unavailability of one or more resources ASM for S 390 can optionally queue the request internally until sufficient resources are available to process the request or until a user spec
613. y index dataset xx and yyyyyyyy are the hexadecimal return and reason codes respectively from the VSAM GET macro Processing is terminated Action Refer to IBM VSAM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job OTS11010 WRITE ERROR FILE aaaaaaaa RETURN CODE X xx REASON CODE X yyyyyyyy Explanation An error has occurred writing a main index entry record to the NearArchive database s primary index dataset xx and yyyyyyyy are the hexadecimal return and reason ASM for S 390 v2 5 User Manual 8 76 codes respectively from the VSAM PUT macro Processing is terminated Action Refer to IBM VSAM documentation on VSAM macro processing for details of the return and reason codes Take the appropriate corrective action and restart the job OTS11011 KEY bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb Explanation This message accompanies message OTS11010 to identify the primary key of the object being processed when the error occurred Only the first 60 characters of the primary key are printed for databases whose primary keylength exceeds this value Action See message OTS11010 OTS11014 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbb eceecececeecececeececececcece Explanation This informational message is printed on completion of processing for each tape volume aaaaa aaaaa the name of the tape dataset being processed
614. y is available to the job via the STEPLIB or JOBLIB DD statements or from the system linklist concatenation Error deleting NearArchive program module from virtual storage Action None This is a warning code However multiple instances of this condition during job execution may cause problems with virtual storage availability If the problem persists inform your NearArchive product support representative ASM for S 390 v2 5 User Manual 8 19 Return Supp Supp Description code code 1 code 2 codes Supplementary code gives the identifier of the file on which the error occurred see description of file identifiers in section 8 2 1 Supplementary code 2 gives the hexadecimal return and reason codes X aabb from a failed VSAM open processing request Action Terminate processing Refer to IBM VSAM macro documentation for a description of the return X aa and reason X bb codes as described below X 04 s An error has occurred X 08 issuing a VSAM OPEN X 0C macro X 10 An error has occurred issuing a SHOWCAT macro X 14 An error has occurred issuing a BLDVRP macro X 18 An error has occurred issuing a DLVRP macro Take the appropriate corrective action before resubmitting the job Internal NearArchive processing error An internal logic error has been detected during NearArchive operation Action Terminate processing Retain any other information issued by the failing appli
615. y is made in this field a default value of SYSALLDA will be used Retain tapes on Optional entry Enter the number of minutes for drive which tape volumes in this database are to be retained on a drive during online retrieval CICS processing after all retrievals have been processed This must be a numeric value in the range 0 1439 A value of 0 the default indicates that tapes are not to be retained on a drive after use If a non zero value is specified in this field ASM for S 390 will not automatically dismount a tape volume which satisfies the age range retention criteria as specified in the following field on the panel after all outstanding retrievals to that volume have been completed The volume will instead be automatically dismounted when the tape volume has been unreferenced for the length of time specified in this field Age range of Optional entry This field is used in conjunction tapes retained with the preceding field on the panel to control the on drive disposition of a tape cartridge volume after all outstanding requests for retrieval from that volume have been completed during online retrieval CICS processing If a non zero tape drive retention period has been specified in the preceding field volumes containing one or more objects whose age as ASM for S 390 v2 5 User Manual 3 8 ASM for S 390 v2 5 User Manual determined by object archive date falls within the range specified here will be retained
616. y key simply type the key in the primary key field and press Enter Any primary key from the call audit report may be selected To select by secondary index key the secondary key field and the sec index no field should contain the secondary key and secondary index number respectively The secondary indexes defined during the IVP process are as follows Secondary Index 01 Key length 5 Start position 1 Record number 1 Secondary Index 50 Key length 8 Start position 1 Record number 0 Secondary Index 99 Key length Idi Start position 6 Record number ALL The following secondary keys may be used during the IVP process If required secondary keys for each secondary index may be determined from the call audit report using the above index definitions Any of these may be selected for retrieval ASM for S 390 v2 5 User Manual A ll Secondary index 01 DATA Secondary index 50 SECSO 01 SEC50 05 Secondary index 99 SEGMENT 1 SEGMENT 2 SEGMENT 3 etc SEGMENT 11 SEGMENT 12 SEGMENT 13 The IVP routines will display a screen giving the primary key and archive date of each archived object which meets the selection criteria Select any one item of archived data for retrieval by entering an S upper or lower case in the selection column next to the chosen date The IVP will reject any invalid or mult
617. y other region connected by the CICS Multiple Region Operation MRO facility The maximum number of tape volumes which may be processed concurrently by a NearArchive control region is set by the current value of the MAXDRIVE initialization parameter This value is established during NearArchive control region initialization processing from the corresponding parameter value in the OTASS100 parameter file The default value is 4 The MAXDRIVE setting may be altered during CICS operation via the NearArchive CICS operator interface function see section 6 6 for a description of the NearArchive CICS operator interface ASM for S 390 v2 5 User Manual 6 10 If the maximum number of tape drives to be used as set by MAXDRIVE is currently allocated for processing of other tape cartridge volumes a request for retrieval from a new tape volume will be rejected with return code 21 If ASM for S 390 has allocated the maximum number of tape drives to be used as set by MAXDRIVE but one or more of the mounted tape cartridge volumes are not currently being processed due to their being retained on the drive after last use as specified by the online processing drive retention parameters for a database then ASM for S 390 will dismount the least recently used volume in order to satisfy the new request This request will proceed normally but will experience some additional delay due to the need to dismount another tape cartridge volume before t
618. yyy Explanation A CICS command failure occurred during command execution The response xxx and function codes yyy are as specified in the Exec Interface Block EIB Action Refer to CICS documentation for details of the function and response codes Take appropriate corrective action ASM for S 390 v2 5 User Manual 8 106 Contact your NearArchive support representative if there is no apparent reason for the error OTS23006 INITIALIZATION ERROR xxxx Explanation A general error has been received from initialization processing Action Contact your NearArchive product support representative OTS23007 RETURN ERROR xxxx FOR ORAB ALLOCATION Explanation Allocation of the NearArchive request anchor block in the OS 390 CSA has failed The error code may take the following values 4 Internal request error Action Contact NearArchive support 8 GETMAIN request has been denied by operating system Action Increase the size of the OS 390 CSA and retry the request 12 FREEMAIN request has been denied by the operating system Action Contact NearArchive support 16 a Module OTASP055 was not found during GETMAIN processing or b A system abend has been intercepted by the CSA allocation routines Action Check system messages in the job log for details of the abend code In particular if abend S047 has been received from module OTASP055 ensure that this module does not reside outside the PLPA e g on t
619. zation parameter The request will be terminated Action Consult any other available NearArchive system error messages for additional information regarding this condition If no apparent cause for the timeout can be identified contact your NearArchive customer support representative OTS25401 GETMAIN ERROR SMF PROCESSING WILL BE DISABLED FOR DISK READER TASK nnn Explanation Insufficient virtual storage is available in the CICS region to satisfy a GETMAIN request by disk reader task nnn SMF recording of object retrieval activity by that task will be disabled until the task is restarted Action Increase the amount of available below the 16Mb line in the CICS private area for OS 390 non CICS storage requests by adjusting CICS initialization parameters and restarting CICS OTS25002 RC xx SC1 X yyyy SC2 X zzzz FROM SMF WRITE SMF RECORDING DISABLED Explanation A request to write an SMF record by a disk reader task has been rejected by the NearArchive SMF processing component with the return and supplementary codes displayed in the message SMF recording of object retrieval activity by that task will be disabled until the task is restarted If the return code 14 an error was received from the SMF write request In these circumstances ASM for S 390 v2 5 User Manual 8 113 supplementary code contains the error code from the SMFWTM macro Action For return code 14 refer to IBM document
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 (959.44 KB/PDF) PNOZ mc1p - LC Automation USB-1149.1/1E User`s Manual Toshiba Mini 3D Sound Bar Speaker w/ Subwoofer isel - PSPCI operating instructions Copyright © All rights reserved.
Failed to retrieve file