Top Banner

Click here to load reader

ADABAS V82 Jim Poole 2010 Adabas V82 by Jim Poole

Dec 15, 2015

ReportDownload

Documents

  • Slide 1

ADABAS V82 Jim Poole 2010 Adabas V82 by Jim Poole Slide 2 2 TOPICS (V8.2.2) 01. COMPATIBILITIES 02. CONVERSION 03. LOWER CASE FIELD NAMES 04. REMOVING UNIQUE DESCRIPTOR FLAG 05. SMF RECORDS 06. ADASAV FILE RANGE (FILE=,FMOVE=) 07. NEW AC EXTENTS 08 DATE/TIME EDIT MASKS DT= 09. TIME ZONE SUPPORT TZ= 10. DST DAYLIGHT SAVINGS INDICATOR 11. SYSTEM FIELDS 12. LOGICAL REMOVAL OF DESCRIPTORS 13. LOGICAL REMOVAL OF FIELDS 14. ADADBS MODFCB FILEREADONLY 15. ADADBS ONLINVERT FNDEF option 16. SVC PERFORMANCE 17. ADARES PLCOPY more plogs 18. ADARUN LOGWARN 19. ADADBS ADDPLOG,DELPLOG 20. ADARES REGENERATE/BACKOUT 21. ADARUN NPLOG/NWORK1 22. WORK I,II,III USE Adabas V82 by Jim Poole Slide 3 3 TOPICS (V8.2.2) 23. ADASEL NEW FEATURES 24. ADAZIN (NEW) MAINT AND SVC INFO 25. ADARUN SRLOG, PLOG SPANNED RECORDS 26. ADARUN PREFSTDD 27. ADADBS FUNCTIONS. FILE LOCK NOT REQUIRED 28. REVIEW OF IN PARALLEL 29. INFOBUFFERSIZE,DEVENTLOG 30. ADARUN LOGVOLIO 31. CLOG DSECT UPDATED FOR Sx ALGORITHM 32. ADAREP PPT 33. ADAREP XML 34. ADAREP CHANGES 35. DDPRINT CHANGES 36. ADARUN V64BIT 37. ADARUN LARGEPAGE 38. ACBX 64 BIT SUPPORT 39. LOB ENHANCEMENTS 40. OP CMD NWCONNECT FOR ENTIRE NETWORK 41. ADAWRK TRANSACTION NUMBERS 42. SHARED HOLD STATUS 43. SMGT CHANGE 44. RI COMMAND CHANGES Adabas V82 by Jim Poole Slide 4 4 01. COMPATIBILITIES WORKS WITH ALL CURRENT V8 SAG PRODUCTS WCP V6.2.1 NAT V4.2.5 SQL V2.4.1 PRD V4.5.2 PAC V2.6.1 AVI V8.1.2 ACE V6.6.4 COR V8.1.2 ? Earlier Versions / ? Other Products ? CA-APAS compatible, apply Z51047 NON-SAGPRODUCTS ADASTRIP >5.0.2P new release CA-APAS exploit features Q4 2010 SVC, AOS (LATER) EXCEPTIONS PREDICT NEW FEATURES UNKNOWN Adabas V82 by Jim Poole Slide 5 5 01. COMPATIBILITIES (ADASAV) YES: RESTORE/RESTONL FILES=/FMOVE V81 to V82 NO: RESTORE/RESTONL FILES=/FMOVE V82 to V81 (V82 LOADLIB) Adabas V82 by Jim Poole Slide 6 6 02. CONVERSION NOTE 1: V82 SVC IS UP/DOWN COMPATIBLE. V81 SVC IS NOT NOTE 2: V82 AOS IS UP/DOWN COMPATIBLE. V81 AOS IS NOT NOTE 3: V81 ADALINKS ARE UP/DOWN COMPATIBLE NOTE 4: Zapped CA-APAS IS NOT DOWN COMPATIBLE STEPS: 1.INFRASTRUCTURE TO V82: SVC, AOS, CA-APAS 2.CONVERT DATABASES (STANDARD ADACNV) (PLOGS not needed) 1.CONVERT ADALINKS (BATCH, CICS, ETC) Adabas V82 by Jim Poole Slide 7 7 03. LOWER CASE FIELD NAMES 926 field names ( 26 * 36 10 )3214 field names ( 52 * 62 10 ) PRIOR V82 V82 ADACMP FNDEF='01,AA,10,A,DE,UQ' ADACMP FNDEF='01,Aa,10,A' ADACMP FNDEF='01,aa,10,A' ADACMP FNDEF='01,aA,10,A' WHEREVER FNDEFs ARE USED (ADACMP, ADADBS, ADAINV Field Description Table I I I I Level I Name I Length I Format I ------I------I--------I--------I 1 I AA I 10 I A I 1 I Aa I 10 I A I 1 I aa I 10 I A I 1 I aA I 10 I A I ADAREP / AOS ADARUN MSGCONSL=UPPER ADARUN MSGDRUCK=MIXED ADARUN MSGPRINT=MIXED ! ADARUNS ! Adabas V82 by Jim Poole Slide 8 8 04,05,06 QUICKIES: NOUQ, SMF, ADASAV FILE Range 04. REMOVING UNIQUE DESCRIPTOR FLAG ADADBS CHANGE FILE=42,FIELD='AA',OPTION=NOUQ (not available in AOS) 05. SMF RECORDS ADARUN SMF=NO/YES (SMF89,SMFDETAIL,SMFINTERVAL,SMFRECNO,SMFSUBSYS) 06. ADASAV FILE RANGE (FILE=,FMOVE=) ADASAV FILE=100-120 Adabas V82 by Jim Poole Slide 9 9 07. NEW AC EXTENTS NEW AC EXTENTS WILL ATTEMPT TO BE CONTIGUOUS 15686 - 15686 1 8391 AC 43 DAT911 15687 - 53988 38302 8391 UNUSED 0 DAT911 V81 ADAREP 11473 - 11473 1 8391 AC 43 DAT911 15686 - 15686 1 8391 AC 43 DAT911 15687 - 53988 38302 8391 UNUSED 0 DAT911 V81: ADD 1000 RECORDS, RUN ADAREP 15686 - 15687 2 8391 AC 43 DAT911 15688 - 53988 38302 8391 UNUSED 0 DAT911 V82: RELOAD FILE, ADD 1000 RECORDS, RUN ADAREP DOES NOT WORK WITH ADADBS/AOS (STARTRABN=) Adabas V82 by Jim Poole Slide 10 10 08. DATE/TIME EDIT MASKS DT= Default Edit Mask or Programming Edit Mask for Adabas Fields. PART OF DB FDT (DFLT) OR CHANGE IN DIRECT CALL FB FORMAT/LEN NAME B P U Description DATE 4 5 8 Z'YYYYMMDD' TIME 3 4 6 Z'HHIISS' DATETIME 6 8 14 Z'YYYYMMDDHHIISS' TIMESTAMP - 11 20 Z'YYYYMMDDHHIISSXXXXXX' NATTIME 6 7 13 NATURAL T FORMAT (.1 SECS SINCE YEAR ZERO) NATDATE 3 4 7 NATURAL D FORMAT DAYS SINCE YEAR ZERO) UNIXTIME 4 6 10 FOR UNIX (SINCE 1970.01.01) XTIMESTAMP 8 8 18 FOR UNIX (SINCE 1970.01.01) CURRENT FORMATS Adabas V82 by Jim Poole Slide 11 11 08. DATE/TIME EDIT MASKS DT= TO CREATE: ADACMP FNDEF='01,D1,20,U,DT=E(TIMESTAMP)' ADACMP FNDEF='01,D2,14,U,DT=E(DATETIME)' ADACMP FNDEF='01,D3,06,B,DT=E(DATETIME)' ADADBS NEWFIELD FILE=42, FNDEF='01,Z3,20,U,DT=E(TIMESTAMP)' STORED IN UTC (UNIVERSAL TIME CODE) FORMAT (GMT) NOTE: PREDICT 4.6 DOES NOT SUPPORT! Adabas V82 by Jim Poole Slide 12 12 08. DATE/TIME EDIT MASKS DT= DATE/TIME IN PROGRAM 2010.03.12 16:06:32.2938579 '01,D1,20,U,DT=E(TIMESTAMP)' PROGRAM FB=RETURNS RB= D1. 20100312160632938579 D1,08,U,E(DATE). 20100312 D1,06,U,E(TIME). 160632 D1,14,U,E(DATETIME). 20100312160632 D1,13,U,E(NATTIME). 0634355427929 D1,07,U,E(NATDATE). 0734207 D1,10,U,E(UNIXTIME). 1268409992 D1,18,U,E(XTIMESTAMP). 001268409992938579 Adabas V82 by Jim Poole Slide 13 13 08. DATE/TIME EDIT MASKS DT= 1.TO USE EDIT MASKS IN FB, FIELD MUST BE DEFINED WITH DT= 3. FOR FULL DETAIL, SEE NEW MANUAL: "Date-Time Edit Masks Reference NOTE: Conversions Between Date-Time Representations (READ / UPDATE) 2. TRUNCATION/FILLING MAY OCCUR BETWEEN MASKS EG. '01,D2,14,U,DT=E(DATETIME) FB=D2,20,U,E(TIMESTAMP). RB=20100312160632000000 ELSE RspCode 41 Adabas V82 by Jim Poole Slide 14 14 08. DATE/TIME EDIT MASKS DT= TO ADD/REMOVE IF '01,D1,20,U,DT=E(TIMESTAMP) REMOVE WITH: ADADBS CHANGE FILE=43,FNDEF='01,D1,20,U' IF '01,D1,20,U ADD WITH: ADADBS CHANGE FILE=43, FNDEF='01,D1,20,U,DT=E(TIMESTAMP)' 1. CANNOT CHANGE FROM ONE EDIT MASK TO ANOTHER 2. MASK MUST HAVE CORRECT FORMAT/LENGTH. ELSE RspCode 55 Adabas V82 by Jim Poole Slide 15 15 09. TIME ZONE SUPPORT TZ= ENHANCE EDIT MASK ON DT= FIELDS UTC/GMT ADABAS LOCAL TIME NUC DATETIME TIMESTAMP NATTIME UNIXTIME XTIMESTAMP FDT OPTION FOR TZ= FIELDS Adabas V82 by Jim Poole Slide 16 16 09. TIME ZONE SUPPORT TZ= ZONEINFO or OLSON DATABASE www.twinsun.com/tz/tz-link.htm America/Chicago, AMECHICA,, US/Central America/Denver, AMEDENVE, America/Shiprock, Navajo US/Mountain America/Los_Angeles, AMELOSAN,, US/Pacific America/New_York, AMENEWYO,, US/Eastern SEE ADABAS SOURCE (TZINFO) America/Indiana/Indianapolis, AMEININD,, America/Fort_Wayne America America/Indiana/Knox, AMEINKNO,, America/Knox_IN US/Indiana-Starke America/Indiana/Marengo, AMEINMAR,, America/Indiana/Petersburg, AMEINPET,, America/Indiana/Tell_City, AMEINTEL,, America/Indiana/Vevay, AMEINVEV,, America/Indiana/Vincennes, AMEINVIN,, America/Indiana/Winamac, AMEINWIN,, Adabas V82 by Jim Poole Slide 17 17 09. TIME ZONE SUPPORT TZ= //STEPLIB DD //TZINFO DD DISP=SHR,DSN=TZ.LOADLIB //DDCARD DD* ADARUN MSGDRUCK=MIXED ADANUC / ADACMP JCL REQUIREMENTS RECORD-BUFFER= TZ='America/New_York' USER OP en COMMAND NOTE: TIME ZONES ARE CASE SENSITIVE NOTE: USE OF QUOTES Adabas V82 by Jim Poole Slide 18 18 09. TIME ZONE SUPPORT TZ= (examples) ADACMP TZ=America/Indiana/Vevay ' ADACMP FNDEF= ADACMP FNDEF='01,D2,14,U,DT=E(DATETIME),TZ ADACMP FNDEF= ADACMP ( 0 RECORDS or X RECORDS (note length,format,DT mask) ADADBS NEWFIELD FILE=43, FNDEF='01,D4,11,P,DT=E(TIMESTAMP),TZ' ADADBS NEWFIELD (NO //TZINFO, NO TZ= needed) NOTE: PREDICT 4.6 DOES NOT SUPPORT! Adabas V82 by Jim Poole Slide 19 19 09. TIME ZONE SUPPORT TZ= (ADAREP (DT=) Field Description Table I I I I Level I Name I Length I Format I Options I I I I ------I------I--------I--------I------------------- I I I I 1 I D1 I 14 I U I DT=E(DATE) 1 I D2 I 14 I U I DT=E(DATETIME),TZ 1 I D3 I 14 I U I DT=E(DATETIME) Adabas V82 by Jim Poole Slide 20 20 09. TIME ZONE SUPPORT TZ= 20100218220209 D2,14,U,DT=E(DATETIME),TZ UTC/GMT YYYYMMDDHHMMSS OPen RB with L1 RB=C2,8,U,E(TIME). ---------------------- -------------------- TZ='America/Chicago 160209 TZ='America/New_York 170209 TZ='America/Los_Angeles 140209 (NOTE LOWER CASE) Adabas V82 by Jim Poole Slide 21 21 09. TIME ZONE SUPPORT TZ= (Response Codes) Accessing a field option TZ but no time zone was specified in the user session. Issue the OP command with TZ= Rc 55 sub 30 Time zone not found in ADAZON directory. Rc 50 sub 31 Date-time edit mask (E(date-time-mask)) notation is only permitted for a field defined with a date-time edit mask.. Rc 41 sub 30 Adabas V82 by Jim Poole Slide 22 22 09. TIME ZONE SUPPORT TZ= (Final Thoughts) 1. There is no default timezone for a file. OPen is required (with TZ=) 2. Natural Implementation? 3. Change in timezones, change in file. 4. TZ flag can only be added/removed if File empty: ADADBS CHANGE FILE=43,FNDEF='01,D2,14,U,DT=E(DATETIME) ADADBS CHANGE FILE=43,FNDEF='01,D2,14,U,DT=E(DATETIME),TZ' 6. CPU Overhead. 5. UQE Opend with TZ is not deleted if TNAE exceeded. Adabas V82 by Jim Poole Slide 23 23 CPU DT= vs TZ DO 400K L1s against A. Field B. Field with DT= C. Field with DT=, TZ (no IO, no overlap) RUN 1 2 3 4 A B C 7%. Increase in CPU for field access Adabas V82 by Jim Poole Slide 24 24 10. DST DAYLIGHT SAVINGS INDICATOR ADACMP COMPRESS, DECOMPRESS FOR TZ FIELDS ADACMP TZ='America/New_York',DST The two-byte daylight savings indicator directly follows the date-time value in uncompressed input and specifies the hexadecimal value of the daylight saving time offset from standard time in seconds. X0000 OR X0E10 (DECIMAL 3600) Adabas V82 by Jim Poole Slide 25 25 11. SYSTEM FIELDS Create Adabas fields on a file that are automatically updated by Adabas with respect to inserts (N1,N2) and updates (A1). Note that deletes (E1) are not recorded (if the record is deleted then so is the Adabas system field). CONCEPT AN ADABAS FIELD BUT ONLY THE NUC CAN UPDATE IT Adabas V82 by Jim Poole Slide 26 26 11. SYSTEM FIELDS (RULES) 1. IF USER TRIES TO UPDATE, NOTHING. (NO RESPONSE CODE) 2.ADABAS UPDATES CONTENTS WHEN COMMAND (N1,N2,A1) IS EXECUTED, NOT AT ET 3.IF THE UPDATES ARE BACKED OUT (TIMEOUT,BT), CONTENTS ARE BACKED OUT. 4. FIELDS ARE DEFINED AS 'SY' IN THE FDT AND ADAREP. 5. A CR FLAG INDICATES FIELD IS ONLY CHANGED WHE

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.