Banner
 
 

Flex Library Software Changes

 
540.16 Protect DFH attributes
Thu, August 12 2010

Various disk file header attributes such as DFHLOCATION, DFHCATALOGED etc. now return consistent values for a all disk files when used in a FLAT search.

540.15 Stop error msgs for REM on NR files
Fri, July 16 2010

:REO will now be respected for NR files if Cat info is not asked for.

540.14 ML_AddUser Entry Point
Mon, July 12 2010

Add Export of ML_AddUser Proc.

540.13 Internal change - LGBUFF declaration
Thu, July 8 2010

Internal Metalogic change.

540.12 Return quoted FILEID nodes
Tue, July 6 2010

Previously, the FILEID function did not quote file name nodes that should have been i.e. the level "ABC.TXT" would have been returned as ABC.TXT by FILEID. This behaviour has been corrected.

In FLEX usage, expressions such as FILEID("A/B/C",0) and FILEID(FILENAMEID,0), where the target did not have a usercode, would have always returned the usercode of the caller. FLEX now returns an empty string in such circumstances and is compatible with SUPERVISOR behaviour.

540.11 MCPDisplayToStandard
Fri, May 28 2010

OPAL Zip functions use MCPDisplayToStandard.

540.10 Internal change only
Wed, May 19 2010

Use declaration of STEP_DIR in Include/Meta

540.09 Support for ZIP and UNZIP methods and functions
Mon, May 3 2010

Preliminary support for ZIP and UNZIP functions, ZIPFILE and UNZIPFILE methods in both SUPERVISOR and FLEX.

540.08 Store additional processor loop information
Thu, April 15 2010

Processor loop detection within the OPAL machine now provides extra information for determining the causes of unusual loop detection.

540.07 FORMID
Wed, April 7 2010

Add FORMID.

540.06 Support MYSELF(INPUTPARAM)
Fri, April 2 2010

MYSELF(INPUTPARAM) returns the text of the FILES command.

540.05 Clarify FETCHIMAGEHEADERS error
Fri, March 26 2010

Previously, if a FILES request was handled for a CD image file but no matching files were returned, FLEX would correctly display a 'No files' found message but also a confusing 'Invalid container or Image' display even though the image was valid. This error message has been removed.

540.04 Avoid security violation with :Flat
Wed, March 17 2010

If a non privileged user used the :Flat option , a security violation was logged. A non privileged user can scan their own directory using :flat. An attempt to scan a directory other than their own will return an error but no security violation will be logged.

540.03 Add #[NoLook] to flex
Sun, February 28 2010

A new lookup function, #[NOLOOK], was recently added to Supervisor and has now been added to Flex. It allows text strings that have embedded lookups to be displayed to the screen or printed without FLEX performing substitution. This is particularly useful for displaying or printing lines of Opal read from files using the .Read method.

For example:

  SHOW("#[NOLOOK] #[SUB] #[CAN]")   would show
   #[SUB] #[CAN] instead of the highlight characters.

540.02 Support new InputParam attribute
Thu, January 21 2010

INPUTPARAM Returns the text of the most recent command.

Ex REP HEAD INPUTPARAM Followed by FILES =BoB= ON DEV:FL Would return FILES =BoB= ON DEV:FL followed by the list of files

540.01 Better error message if container is missing
Wed, December 16 2009

Previously a command like FILES (*)= IN CONT would return an error like:

#8103 FLEXLIB:CATALOG/DIR not available

The more informative message like:

#8103 FLEXLIB:Container/LibMaintDir not available

is now returned.

530.25 Support functions as statements in Opal
Thu, August 6 2009

Support for Opal version 530.62

530.24 Internal change only
Wed, June 17 2009

Support new attributes VSVER and VSORIGINALREFS.

530.23 Fix At Host Loads
Tue, May 26 2009

Load AT <hostname> did not set the Kind correctly in it was not a request for a specific unit number.

530.22 Fix = AT
Wed, March 11 2009

FILES AT <host> no longer assumes * if no usercode is explicit.

530.21 Simplify RULES MANAGER handling
Thu, March 5 2009

The handling of the RULES MASTER or RULES MANAGER command in FLEX Inquiry has been improved. Please refer to FLEX DNote 530.36 for more information.

530.20 Use SYS_USDATES for default USDATES option
Mon, February 23 2009

Previously, for FLEX sites that did not use the RULES system, there was no obvious mechanism to apply a system-wide setting for the USDATES option held in FLEXSOPTIONSFORME files.

For FLEX use where no valid FLEXSOPTIONSFORME files exist, as long as the Magus SYS_USDATES configuration variable has been set to the value TRUE, any new options file will automatically set the OP USDATES option to TRUE. Note that SYS_USDATES may be set via the 'System' screen from a CONFIG run of the INSTALL utility.

Further, if a RULES CREATE is subsequently performed, the Full Flex setting of USDATES (as seen from the DEFAULTS menu) will be automatically use the SYS_USDATES setting.

530.19 Keyed and BL/PACK Tape Niggles
Wed, February 18 2009

Fixes minor niggles with searches for BL/PACK or Conditioned Key tapes.

530.18 :FAST with MT/CD/IN
Mon, February 16 2009

FetchTapeDirectory is used if a :FAST search is done on MT, CD. It is simulated for containers, allowing use of CopyWrite exotica, hybrid CDs, CD images, Zip and Tar archives.

530.17 CopyWrite Loads
Fri, February 6 2009

MLFlatReader now supports returning Backup information on non-Library/ Maintenance CDs, looking at the FAST in an unknown container, and forcing the use of CopyWrite to access containers or CDs.

An abbreviated header will be used in a sorted FLAT search. This means that the DFHIMAGE attribute will not return the full header if used in the report parts of FamilyManager rules or in reports with :FL,-UNSO.

530.16 Add Backup Refs For Lib Maint Tapes/CDs
Tue, January 27 2009

MLFlatReader will return a dummy backup entry if in an MT/CD or LibMaintDir search. This allows Flex to do e.g.

F (*) MT 27:CAT LOAD (*)= on FLEX=(MT)

 

530.15 Insert_UserType
Fri, December 19 2008

Internal Change.

530.14 Large BACKUP
Mon, December 1 2008

If a BACKUP of a large number of files which exceeded the LIBRARY/MAINTENANCE list limits was done, it would fail in MCP code, possibly with a Memory Dump, instead of returning an error indication.

530.13 ML_LibMaint
Mon, November 24 2008

Backup options and ML_LibMaint.

530.12 Replace COPYWRITE_CATSN by FLEX_DFSERIALNO
Fri, November 21 2008

Previously, the Magus config variable COPYWRITE_COPYCATSN was used to control the allocation of Disk Farm volume serial numbers for FLEX. This variable has now been renamed to FLEX_DFSERIALNO for clarity reasons and COPYWRITE_COPYCATSN is not used by FLEX.

530.11 Fix rules text for old code
Mon, October 27 2008

Version 530.09 introduced a bug in the Rules text reported by Familymanager. If the Rules were created with a version of Opal older than 52033 then the rules text reported would be nul or corrupted. Old code now works correctly.

530.10 Internal change only
Tue, October 7 2008

Needed to match changes in OPAL/PD/GLOBALMEM

530.09 Internal change only
Mon, July 21 2008

Internal Metalogic change.

530.08 Correct SECURITYGUARD handling
Mon, July 14 2008

The change described in DNote 530.06 had the side-effect of causing FLEX to randomly return incorrect values for attributes such as SECURIYGUARD,NOTE and RELEASEID. This problem was only observed with GETSTATUS-only requests and is now fixed.

530.07 Changes for OPAL resequence
Tue, July 1 2008

Internal Metalogic change.

530.06 Support for DFHIMAGE attribute
Thu, June 12 2008

A new attribute called DFHIMAGE has been implemented for both FLEX and SUPERVISOR (PD context). DFHIMAGE returns an image of the Disk File Header of the selected file. By default, this is returned in JavaScript array format with each header word in hexadecimal format delimited by commas. For example:

 [128,'3F3F0A4003E8','801000000000','000000000052',...]

The first entity in the array indicates the size of the header in words.

530.05 Internal change only
Tue, June 10 2008

Internal change

530.04 Fix USERMIXLIST attribute
Fri, May 30 2008

Usage of the USERMIXLIST attribute for both FLEX and SUPERVISOR's PD context caused what should have been a list of value mix numbers to be returned as '0,0,0...' or cause the calling OPAL to fault with an INVALID INDEX. This problem is now fixed; the attribute PDUSERMIXLIST was unaffected by this fault.

530.03 Control WFL usage
Fri, May 2 2008

This DNote supports the change described in FLEX DNote 530.05 for the control of the WFL function.

530.02 Do not update timestamp using CONTAINER
Fri, February 22 2008

FLEX will no longer change the USETIME attribute of files that it searches when the CONTAINER attribute is being checked.

530.01 Correct LOAD error messages
Tue, January 8 2008

Previously, the FLEX LOAD command would show corrupt and incorrect information messages if an individual requested file was already resident. FLEX would also show inconsistent behaviour when attempting to load generation 0 of a file with generation 1 already resident. These problems have been resolved.

520.27 Internal change
Mon, December 3 2007

Use INCLUDE/META

520.26 Allow Catalogs, Archives and Flat Dirs
Fri, November 16 2007

The container file specified in the Flex Inquiry syntax F x IN <title> can now be a directory. The search will be chosen according to the file found: SYSTEMDIRFILE :FLAT Catalog, Archive :LIN Access :FAST

This is an alternative to the MAINT ALT syntax in Flex, but can be used from Supervisor. Note that the :LIN and :FAST options do not change the default handling.

520.25 FetchFH
Thu, November 8 2007

Internal change to FetchForeignHeaders Directory request.

520.24 FLEX/LIBRARY | Fix File&Dir Lib Maint Searches
Wed, November 7 2007

When a Flex Inquiry Files command used a Library/Maintenance interface, such as FetchTapeHeaders, it would only return files in the specified directory, but not the root file. For example, F ABC MT 33 would return ABC/D but not the file ABC.

This is consistent with Library/Maintenance, but not with the usual file search convention in the MCP and Flex.

Flex will now return both, but some searches may be a little slower as a result. Searches affected are: F x IN <CD Image> F x IN <Disk Farm> F x .. AT <hostname> F x CD <unitno> and F x ON y (CD) where the CD is in Lib/Maint format F x MT <unitno> and F x ON y (MT)

Handling of AT <hostname> and some error message handling have been integrated with other searches, saving 110 source records.

520.23 Fix VL Backup Atts in Supervisor
Mon, October 22 2007

Backup atts from the Vol. Lib. can now be requested independently of Catalog Block atts.

A spurious value is no longer reported in some cases for BACKUPKIND of a non-existant backup.

520.22 Support for Myself(LastDir)
Tue, October 16 2007

Support for The Lastdir mnemonic of the Myself attribute as described in Opals/GSTableGen note 520.52

520.21 PD Object Length
Wed, October 3 2007

A length word has been added to the PD object. This fixes 3 low probability bugs and slightly reduces CPU and memory requirements. For now, the format is being kept compatible in case an older program links to a newer Library.

520.20 Fix One File PDs from Supervisor
Fri, August 31 2007

Single file PD Context requests passed from Supervisor will no longer wait for the end of the Flex task to display the results.

520.19 Fix early SELECT terminations
Tue, July 17 2007

FILES requests from FLEX Inquiry will now not terminate unexpectedly early for certain kind of SELECT conditions with FILES:FLAT requests.

520.18 FProc
Fri, July 13 2007

No Flat Error when F_Proc quit requested.

520.17 Wrap or CopyWrite
Thu, July 12 2007

Flex assumed that a FileKind = DATA file with FileStructure = STREAM was a Wrapped Container, when it could be a CD Image. Flex now tries to process the container, and if an error occurs, it then calls CopyWrite.

520.16 Make FLEX SELECT work again
Wed, July 4 2007

The change applied in FLEX LIBRARY DNote 520.15 had the unfortunate side-effect of causing all FLEX SELECT conditions to always return TRUE. This problem has now been fixed.

520.15 Suppress FLEX displays on restricted PD context
Tue, July 3 2007

This change supports the fix discussed in SUPERVISOR DNote 520.99 to better handle SUPERVISOR PD context requests that used EVAL or DO limits. Please refer to the above not for more information.

520.14 DisplaySubKindList
Thu, June 28 2007

Implement PDSUBKINDLIST.

520.13 :Lin FileKind Error
Mon, June 25 2007

:LIN in FLEX and MergeTape could get a null FileKind after 520.11

520.12 UseDay vs Non-Resident under Cataloging
Fri, June 15 2007

When an OPAL referenced the UseDay or UseDate attributes of a Non- Resident file without the UseTS or UseTime attributes, the value returned would be NULL, even if CATALOGUSETS was valid. These attributes now return the correct values. Non-Resident Archived files did not have the problem. Note that the CATALOGUSETS and related attributes are not valid if the file is resident because their values are not updated until the file is removed.

520.11 rationalise FILEKIND Handling
Mon, June 11 2007

Handling of the properties that FLex assigned to different FILEKINDs was implemented when Flex was first starting out and has hardly changed since. As a result many 'new' FILEKINDs were treated inappropriately. The implementation was also quite inefficient, and posed problems for the Supervisor PD context.

It has now been re-written, saving about 250 cards in a full Flex compile, and reducing the average working set of Flex programs by 300 words.

520.10 Support for OPAL WRITE method
Thu, May 24 2007

This change supports the new WRITE method for OPAL string variables as described in OPAL DNote 520.64. Please refer to this note for more details.

520.09 Don't change amended TS for new backup date
Wed, May 2 2007

Support for Flex/Familymanager version 520.08

520.08 Store the version of the Opal compiler used t
Fri, March 2 2007

The version of the Opal compiler used to compile Rules is now stored in the Rules block. This will make it easier in future to determine which Rules may need to be recompiled in respones to changes in Opal.

Some preparation for Rules reporting by email has been done.

RULES OP MANAGEREMAIL will change reporting mode to be email to

  the rules manager.

RULES OP USEREMAIL will change reporting mode to be email to

  the User.

Full details will be described in Familymanager DNote 520.01.

520.07 Do not continue after script failure
Tue, February 20 2007

FLEX scripts will now gracefully abort after any OPAL failure is detected whilst executing a REPORT or SELECT. Previously, FLEX would have continued to process the next selected file which would then caused the same fault to potentially appear many times. Such errors would include CONCATENATED STRING TOO LONG, DIVIDE BY ZERO etc.

520.06 Support 1,999,999 character strings
Tue, February 20 2007

SUPERVISOR and FLEX will now both support OPAL strings up to a maximum size of 2,000,000 characters; previously this limit was 393,209. All string operations are supported by this change except for storage into PERM and CONFIG variables and this limit remains at the previous value.

520.05 Roundup
Mon, December 4 2006

Internal change only.

520.04 Fix Usage on Ex-Cat System
Wed, November 22 2006

The USAGE report without :BRIEF is now fixed on non-Cataloging systems.

520.03 Allow lower case lookups.
Fri, November 17 2006

The lookup function (#{...]) is no longer case sensitive.

520.02 Fix GSHEADER attributes
Tue, November 7 2006

Previously, using special disk file header attributes, such as DFHCATALOGED, DFHBLOCKLENGTH and PROTECTION, inside a SELECT would cause FLEX to fault with 'FAULT TERMINATION in SELECT@82024000'. This change also protects a SEG ARRAY ERROR @ (10766690) fault when handling the same subset of attributes for files with a large number of rows.

520.01 Support Opal #[$...]
Thu, October 26 2006

This change supports the extension to lookup functions, described in Opal Dnote 520.34

510.31 Allow methods on properties with variables
Mon, August 28 2006

This change supports the changes described in Opal Dnote 520.30.

510.30 :FAST Archive Search
Thu, August 17 2006

':FAST' can now be used with Archive files, either :ARC or when an Archive is a MAINT ALT CAT. As with :ARC, if '=' is given for the title family to search, all *SYSTEM/ARCHIVE files on the DL CATALOG family will be searched.

510.29 Expand FLat Sort Capacity
Tue, August 8 2006

A family with more than 300,000 files led to the FLAT SORT disk sizes being too small. All the Sort parameters in FLEX have been increased and Option(SortLimits) is now set to allow operator intervention if necessary.

A resident entry with a non-matching Archive block, will no longer return TRUE in the Archived attribute.

510.28 Move Sort_To_Volume to FLEX Inq + Arc Fixes
Tue, August 8 2006

Some minor Archive fixes for keyed searches, and a procedure used in LOAD is now in FLEX Inquiry.

Archive PGs are skipped if no SYSTEM/ARCHIVE is valid for that family.

510.27 ZAP/PG on Archiving
Mon, July 24 2006

A ZAP or PURGE on a non-Cataloging system is now treated as an ARCHIVE PURGE.

510.26 MLCatReader handles Live Archives
Sun, July 23 2006

If MLCatReader is called without an explicit name on a non-Cataloging system, it will now search the *SYSTEM/ARCHIVE/= files.

510.25 Support New :Cat Report
Wed, July 19 2006

This deletes the old LINEARCAT report, which is not needed as the CAT report works with :LINEAR.

CATALOGBLOCK now works with ARCHIVE records. If the search is :LINEAR it returns the record number just as with the Catalog. If the search is keyed, it returns the files-to-dat counter.

Cycle and Version now work correctly with linear Archive searches.

510.24 Allow MAINT ALT on Archives
Fri, July 14 2006

Flex Library now supports :LIN searches on SYSTEM/ARCHIVE files specified using the MAINT ALT command.

510.23 Re-format SameIds
Sat, July 8 2006

To support the new Flex Format and LF, FLEX uses the changed SameIds format and fixes a bug in the USAGE command. In :FLAT, problems with the LicenseKey and MP= attributes are resolved.

510.22 Support for RECORD statement
Thu, July 6 2006

The RECORD statement is now available for FLEX's REPORT BEGIN blocks and is currently only available for those FLEX customers who are also licensed for SUPERVISOR. The latest *METALOGIC/SUPERVISOR/RECORDER must be installed and SL-ed to the RECORDERLIB function.

RECORD usage is identical to that of SUPERVISOR allowing the use of a numeric subfile or REC mnemonic; the semantics are shown below:

   ---- RECORD -- [ -+- <integer> -+- ] -- ( -- <string> -- ) ----|
                     |             |
                     +- <mnemonic> +

The RECORD mnemonics are validated at compile-time and also run-time and must appear in the list returned by SUPERVISOR's TT REC NAMES command. FLEX's RECORD statement allows users to send file information or messages to SUPERVISOR's alert mechanisms (such as HOTLINE) and SUPERVISOR RECORD files.

For example:

     REP BEGIN
           RECORD [META_FILE] ("TITLE: ",TITLE);
         END;

Scripts that use RECORD must be running from sessions active under a usercode that has PU, SECDAMIN or SYSTEMUSERS status. FLEX will abort any script that attempts RECORDs from other usercodes.

510.21 Re-format Flex Directory Object
Mon, June 26 2006

Support for new format Directory object and simplify What conventions for the search entry points. Calls of File_Search no longer force Volume Library searches if only Backup Attributes that do not need them are requested. Reduces source by about 500 lines.

510.20 Fix 'MAINT MERGE FILES' for old catalog entries
Wed, June 7 2006

The MAINT MERGE FILES command, used to merge catalog information from an external catalog into the current catalog, could fail.

Either an entry with Cycle=0 or which had a backup reference of type TAPEPE could cause problems.

The command can now handle either of these cases correctly.

510.19 Support WAIT statement for FLEX
Wed, May 24 2006

This change supports the WAIT statement now available in FLEX; please refer to OPAL DNote 520.15 for more information.

510.18 Support for OPAL QUIT,EXIT and ABORT
Fri, March 24 2006

This change supports the new FLEX OPAL statements discussed in OPAL DNote 520.12.

510.17 Support OPAL REPORT blocks in FLEX
Tue, February 28 2006

This changes supports the new OPAL REPORT BEGIN capability described in detail in FLEX DNote 510.13. Key words such as BEGIN, END, CASE, WHILE and DO are now permitted from FLEX REPORTS and the MAIL and KEYIN functions have also been made available. New OPAL statements for FLEX include ODT, WFL, SHOW and DISPLAY.

510.16 Fix longnames with short levels
Wed, February 1 2006

Version 510.15 introduced a problem when handling long filenames with single levels shorter than 80 characters. This change corrects the problem.

510.15 Avoid FamilyManager syntax errors on long names
Wed, January 11 2006

This change fixes a bug in Familymanager. A filename with a single level longer than 80 characters would cause a syntax error in the Familymanager generated job. Such filenames are now handled correctly.

510.14 Make REMOVESPACES external procedure
Mon, November 21 2005

Internal Metalogic change.

510.13 Fix INV INDEX with :FAST for search of more
Thu, November 3 2005

If a :FAST search was initiated using a wildcard family specification that returned more than 9 families, FLEX would die with an INVALID INDEX at 20578400. This problem is now fixed.

510.12 Give Archive Info if Cat not available
Fri, October 28 2005

If Catalog info is not available, MLCatSearch will try and get it from the Archive. File_Search will now look up Archive info if Catalog info is requested on a :FAST call. This is quite slow because a separate GetStatus is needed for every Title.

510.11 Implement FAST Reading
Fri, September 30 2005

File_Search now has a "FAST" option which reads the FAST from the ACCESS/CATALOG, and implements FILE:FAST in Flex Inquiry.

510.10 Support for $.FILE symbolic read extension
Tue, September 27 2005

This change support the enhancement to the variable .FILE method to allow access to symbolic and data files. Please see OPAL DNote 510.24 for more information.

510.09 Protect against Supervisor only MYSELF variants
Tue, August 16 2005

This change will cause Flex to return -0 for any variants of the MYSELF attribute which only apply to Supervisor. Ex Myself(CodeVersion)

510.08 IMPLEMENT INTRINSIC FILES REPORT
Fri, July 15 2005

Small change to Load_Default_Reports to remove Files_Report etc.

510.07 DETOUR MCP COPY #FILENO PROBLEM FOR MISSING FILE RECORD
Fri, May 20 2005

This change addresses an inconsistency in the way MCP handles missing files in a LIBMAINTDIR. In tape-tape merging, MERGETAPE uses the COPY #<fileno> syntax to LOAD targeted files from a source tape; <fileno> is used directly from the appropriate file record in the LIBMAINTDIR file, if present.

Unfortunately, MCP does not use this same file number value held in the LIBMAINTDIR file and 'calculates' its own file number. When missing file records are present in a LIBMAINDIR, the MCP will not include these in the file number counting. The result of this means that, for a LIBMAINDIR with missing records, MERGETAPE loads may not actually copy the correct files.

MERGETAPE now uses the MCP numbering mechanism to specify the correct file number for loads instead of using the file number specified in the LIBMAINTDIR.

510.06 MORE PROBLEMS WITH CDIMAGE/FARM SERIAL NUMBER
Wed, April 20 2005

Corrects further problems selecting CD Image or Disk Farm serial numbers. Unusual combinations of pack volume serial numbers were required to cause the fault.

510.05 FIX POSSIBLE ERROR SELECTING NET CD IMAGE
Wed, April 20 2005

If volumes existed in the volume library with serial numbers similar to the serial numbers used for CD images or Disk Farms it was possible that the wrong serial number for a new image or farm would be used. Ex. If the prefix for images was CIN and a volume with serial CI0001 existed then CIN000 would be used for an image, even if CIN000 was already in use.

510.04 SMALL SPEED GAIN IN MLCATREADER (:LIN)
Thu, March 24 2005

Even when not used for debugging the Catalog, MLGETFASTBLKS was checking the FAST blocks in the first row. Now it will only do so under the DEBUGPAST compile-time option.

510.03 SUPPORT FLEX TAPES IN MEGABYTES
Wed, March 23 2005

This change supports reporting the size of flex tapes in megabytes.

510.02 CORRECT HANDLING OF CONTAINER/IMAGE WITH LONG FILENAME
Thu, March 17 2005

Previously, a FILES command would fail for any Unisys wrapped container whose title conformed to a long file name i.e. any file node with more than 17 characters. FLEX would have truncated the given file name and therefore fail to process the file. This problem is now fixed.

510.01 FORCE SURE DELINK AFTER EACH FLEX REQUEST
Tue, March 1 2005

FLEX LIBRARY will now automatically delink from the SURELIB library once a FLEX run has completed. Previously, FLEX LIBRARY would remain permanently connected to SURELIB unless the FLEXLIB library was manually thawed.

500.22 HANDLE EXPANDED SYSTEM DIRECTORIES
Fri, February 18 2005

If a SYSTEMDIRECTORY/001 directory file had been extended using the EXPAND command, FLEX Inquiry would fail with:

FLEXLIB: I/O error reading CATALOG/DIR

The EXPAND command allows the SYSTEMDIERCTORY file to reserve extra areas to be used for future expansion. In such circumstances, FLEX incorrectly calculated the last valid record number of the file causing it to read past EOF. This problem has now been resolved.

500.21 FIX FILE NAME TRUNCATION WARNINGS
Thu, February 10 2005

This change fixes several problems with the truncation of file title levels that have more than 17 characters. When handling such files, MCP WARNING 35 was being generated. The affected routines in FLEX/LIBRARY, used primarily by by FLEX Utility, will now handle such files correctly.

500.20 HANDLE NOT COPIED FILE RECS IN LIBMAINTDIR
Wed, December 1 2004

A PDT LD or a file search in a LIBMAINTDIR could randomly fail when encountering "NOT COPIED" records.

500.19 OPTION FOR LIBMAINTDIR FILES WHEN COPYING TO TAPE
Thu, November 18 2004

Supports an option for creating LIBMAINTDIR files when making tapes.

500.18 FIX COMPILE WITH FI ATTRIBUTES
Fri, October 22 2004

Internal Metalogic change only.

500.17 FAMILYMANAGER SCRATCHPOOL PROTECTION
Fri, September 24 2004

FAMILYMANAGER will now apply the SCRATCHPOOL setting, as provided in its parameter string, instead of unconditionally overriding with the default setting in the RULES file.

500.16 EXPIRY LIMIT FOR UNUSED SCRATCH VOLUMES
Fri, August 20 2004

FLEX/LIBRARY will now automatically VOLUME DELETE any SCRATCH volumes that were scheduled for use by a FAMILYMANAGER or MERGETAPE CD, CDIMAGE or DISK FARM copy but were not subsequently used. It is not unusual for SCRATCH volumes such as these to appear in the Volume Library for a variety of reasons (e.g. program failure, operator DS) and this mechanism provides a way to keep this structure free of excessive numbers of SCRATCH entries.

The deletion occurs if the creation date of the SCRATCH volume is more than 7 days old. The following message will be seen prior to the VOLUME DELETE:

  DELETING EXPIRED UNUSED SCRATCH VOLUME NNNNNN

Earlier releases of FLEX software also created SCRATCH volumes in the Volume Library but did not assign a creation date (a PV response shows the date as UNKNOWN for these entries). Now, when such volumes are detected, FLEX/LIBRARY will assign a creation date of today; this means that these old SCRATCH volumes will be deleted the following week. The message below will be seen:

  UPDATING CREATION DATE FOR SCRATCH NNNNNN

500.15 INTERNAL CHANGE
Fri, July 9 2004

Internal Change.

500.14 EXPORT CHECK_LMD AND CLEANUP TAPE7/9
Fri, July 9 2004

Check_LMD is a lower level procedure used by Find_LMD to search for a LIBMAINTDIR. Resources for the deimplemented TAPE7 and TAPE9 tapes are longer calculated.

500.13 SUPPORT BASEPACK ATTRIBUTE
Tue, July 6 2004

Several new FLEX attributes, BASEPACKUNIT and PDBASEPACKUNIT, have been implemented allowing the unit number of the base pack of the file family to be returned to the caller. The APL and PDAPL attributes have been deimplemented to support this change.

500.12 ADD FLEX NOCAPSULE ATTRIBUTE
Tue, June 29 2004

This change adds a new FLEX attribute, RELEASED, which reflects that a capsule on a PC Disk Farm has been released from that farm. This information can only be retrieved from the LIBMAINTDIR associated with the Disk Farm.

500.11 INCREASE LENGTH OF VALID COPY STATEMENT
Mon, June 14 2004

There is a limit on the length of a valid copy statement. Both Mergetape and Familymanager restrict copy statements to that limit. The limit used was six times less than required. It has now been increased to approximately one million to approximately six million characters.

500.10 INTERNAL CHANGE ONLY
Mon, June 7 2004

Internal change only.

500.09 ALLOW FILES COMMAND FOR DATA WRAPPED CONTAINER
Sat, May 22 2004

Previously, the FLEX Inquiry FILES command would only operate correctly for Unisys wrapped containers whose FILEKIND was CONTAINERDATA. However, valid containers with FILEKIND=DATA (e.g. for containers downloaded via the Internet) were not recognised. This behaviour has been corrected.

500.08 CHECK FOR IMAGE BACKUP REFS
Sat, May 22 2004

The CD image file residence checking performed by Flex LIBRARY routines during a FAMILYMANAGER run have been improved. Previously, if a CD image could not be found on the default image family then the associated volume would have been unconditionally marked as DESTROYED. This procedure is used prior to CD image creation during FAMILYMANAGER
operations.

This behaviour has been changed with the implementation of 'Hard Links' (please see FAMILYMANAGER Dnote 500.07 for more details) to alternate image families. FAMILYMANAGER will now mark a CD image volume as DESTROYED if the associated image file is missing AND:

1. The file does NOT have any backup references or its catalog information is invalid.
2. The file has a Hard Link but the linked file is not present on the alternate image family.

MERGETAPE, during a CD image merge, will now verify that all CD image volumes are available; a CD image volume will be omitted from any MERGE process if the associated image file is missing AND:

1. The CD image file does not have a valid Hard Link reference to an alternate image family.
2. A Hard Link reference is present but the specified family is not currently on-line or available.

When either MERGETAPE or FAMILYMANAGER check for CD image file availability, messages may be generated for any of the conditions described above:

IMAGE <Image Name> IS NON-RESIDENT BUT HAS NO HARD LINK
IMAGE <Image Name> NO RESIDENT FILE OR CATALOG ENTRY
IMAGE <Image Name> HAS HARD LINK BUT FILE NON-RESIDENT
IMAGE <Image Name> HAS HARD LINK BUT FILE IS NOT PRESENT
IMAGE <Image Name> HAS HARD LINK BUT FAMILY OFFLINE

Both CD image and Disk Farm volume average MBytes per file will now use better defaults for estimating volume sizes. Previously, these values erroneously defaulted to DLT settings.

Lastly, any output SCRATCH volume entry added by FAMILYMANAGER or MERGETAPE into the Volume Library prior to its use will now have its volume creation information updated with the current data and time. This allows any old volumes to be safely identified if they do not get subsequently used.

500.07 ALLOW FEET=0 IN FMGR TO OVERRIDE DEFAULT FEET
Wed, May 12 2004

This change allows the FEET=0 option in Familymanager to override a non zero default tape feet value.

500.06 SUPPORT NEW FAMILYMANAGER REPORT TYPE OF EMAIL
Wed, May 12 2004

This change allows Email to be specified for familymanager Reports. The email address is taken from the Email node in the Userdatafile. If no Email node exists for the user then the Email node for the rules manager will be used. If it does not exist then the report type will default to 'printed'.

500.05 SUPPORT GLOBAL PROPERTY IN OPAL VARIABLES
Wed, March 31 2004

This change supports Global variables as described in Opal Dnote 500.06

500.04 FIX TRUEBACKUPS ATT FOR NON-RESIDENT CAT ENT
Thu, March 18 2004

When used in a FLEX Inquiry non-linear (i.e. normal) FILES search, the TRUEBACKUPS cataloging attribute could have returned incorrect values for resident, non-cataloged files. This problem is now fixed.

500.03 FIND_LMD TO SUPPORT PDT LD
Fri, March 12 2004

Find_LMD is used to find a LIBMAINTDIR from the Volume Library, Volume Directory or TRIM volume info.

500.02 IMPROVED SURELIB LINKING DIAGNOSTICS
Thu, February 26 2004

FLEXLIB will now give better diagnostic display messages when library linkage errors are detected, especially when handling SURELIB requests. With the latter, the name of the current SURELIB will be displayed if the library linkage fails.

500.01 BETTER USE OF OLD CD IMAGE SERIAL NUMBERS
Mon, February 23 2004

The last serial number in a range of available serial numbers was not being allocated. If CI0001 and CI0004 were available then only CI0002 would be reused.

The volume library is now scanned at least one per day to check for serials which might be reused. Previously it was scanned after every 2000 allocations and when Flex Library was restarted.

490.15 FIX BAD CATALOG INFO IF NR ARCHIVE ENTRY
Mon, February 16 2004

On systems with both cataloging and archiving entries, it was possible for Flex to return a corrupted file TITLE attribute if the following applied:

1. The file is not resident, not cataloged but has an archive reference.

2. Any catalog attributes such as BACKUPS, BACKUPSERIAL etc. were used in a SELECT or REPORT.

This problem is now fixed.

490.14 SUPPORT NEW PARAMETER OF OPALVERSION IN MYSELF
Mon, February 16 2004

The Myself attribute now has a new parameter, OpalVersion.

Myself(OpalVersion) returns the version of the Opals compiler used to create this code.

490.13 FIX TIMESTAMPS IN MULTFAM GETSTATUS
Thu, February 12 2004

In rare cases, MLCATSEARCH, failed to return some TimeStamp attributes when processing wildcards in the FAMILY. This is now no longer the case as this problem has now been fixed.

490.12 ALL FILE IN LIBMAINTDIR
Wed, February 11 2004

Flex Library will now unpack the file info from a LIBMAINTDIR in a similar way to a Wrapped container. As the header is not available, only a few attributes are valid. The new FILENO attribute is now supported for LIBMTDIR, LIBMTTAPE, LIBMTCD, and LIBMTIMAGE searches. The :ATT report has been updated and can now be used with :LIN. Some minor problems in dealing with wrapped files have been fixed.

490.11 ALLOW UNISYS ISO CD FOR MAINT ALT
Wed, February 11 2004

The :FLAT search can now use an MAINT ALT FLAT directory on a Unisys format ISO CD.

490.09 FIX CATALOGED ATTRIBUTE
Tue, November 25 2003

The CATALOGED attribute available in FLEX was not always consistent in the way that it handled resident files. For example, if a resident file had been CATALOG ADDED but had not yet been backed up, FLEX would mistakenly return FALSE instead of TRUE. This anomaly has now been addressed.

Regarding resident files, it should be noted that the DFHCATALOGED attribute is also available to return the status of the catalog bit and may be used for normal GETSTATUS and ':FLAT' searches; however, it use is NOT possible using a ':LINEAR' file search.

490.08 SUPPORT FAMILYMANAGER RULES CHECKING
Tue, November 25 2003

This patch supports additional checking, invoked by FAMILYMANAGER and also MERGETAPE, to determine if the RULES file has been setup correctly and a Rules manager usercode is available. Please see FAMILYMANAGER Dnote 490.04 for more details.

490.07 CORRECTLY HANDLE EMPTY VOLUME LIBRARY
Tue, November 25 2003

Both the FAMILYMANAGER and MERGETAPE utilities would fault with an INVALID INDEX @ 038:008A:3 if CATALOGING was enabled on the system but there were no disks or other media in the VOLUME LIBRARY. This problem is now fixed; both these utilities will now provide informational messages in future.

490.06 FIX INVALID INDEX DURING SCRATCH SN SEARCH
Tue, November 11 2003

Previously, it was possible for FAMILYMANAGER to fault with an INVALID INDEX @ 567735250 when building the internal table of scratch volume serial numbers for use by CD, CD image and disk farms backup. This problem, caused by the presence of an existing high-number serial number in the volume library for any of the backup types, is now fixed.

490.05 SUPPORT FOR CONTAINER ATTRIBUTE
Wed, October 22 2003

Internal change to support the new Flex CONTAINER attribute as documented in OPAL Dnote 490.04.

490.04 LOST XIT
Mon, October 20 2003

An Invalid Index could occur if a Family had a large number of members.

490.03 MERGETAPE SUPPORT FOR LOCKEDFILES
Wed, September 24 2003

This patch supports the controlled removal of LOCKEDFILES loaded by MERGETAPE to a work pack during a family merge. Other file removal routines in Metalogic software are unaffected.

490.02 CORRECT MISSING LIBRARY ERROR MESSAGES
Wed, September 17 2003

FLEX will now display the appropriate library function name when a call to the OPALUSERLIB, OPALTAPELIB or SURELIB libraries fail. Previously, the OPALUSERLIB library would have always been considered to be the culprit.

490.01 UPDATE VERSION FOR MCP 49.1
Mon, August 18 2003

Internal version change for MCP 49.1.

480.12 MORE SUPPORT FOR DISKFARMS
Mon, June 16 2003

This change adds more support for backing up and restoring using CopyWrite disk farms.

It also adds code to allow CD/CDimage and Disk farm serial numbers to be reused.

480.11 LONG HDR DIV BY ZERO
Fri, June 13 2003

A Files (*)= IN <container> failed with a DIVIDE BY ZERO fault if there was a file with a Long Disk File Header in the Wrapped Container.

480.10 PREVENT REPEATED VOL DESTROY FOR MISSING IMAGE
Wed, April 30 2003

The Copywrite image residence check discussed in Dnote 480.09 did not check if the volume had already been marked as destroyed either manually or in a prior FAMILYMANAGER run. This behaviour has been corrected.

480.09 FIX BADREFS HANDLING FOR CD AND IMAGE
Tue, April 29 2003

If a Flex tape, CD or CD image was marked as DESTROYED in the Volume Library or assigned as BAD BACKUp in the Statistics files, FAMILYMANAGER is meant to re-backup any of the resident files that were present on the damaged media. Unfortunately, this mechanism was only working correctly for tape media, CD and CD image volumes would be ignored. This problem is now fixed.

Also, during FAMILYMANAGER runs that create Copywrite disk images, FAMILYMANAGER will now verify that all disk containers found in the Volume Library are present on the image family. If any containers are missing, each will be marked as DESTROYED in the Volume Library and any resident files that had been backed up on the missing image will be reprocessed. FAMILYMANAGER will generate appropriate display messages when such containers are found.

480.08 USE LENGTH FROM PARAMETER
Mon, April 14 2003

Recent changes to Familymanager meant that any value specified in the FEET parameter was ignored, the tape length being taken from the 'defaults' value. This problem has been corrected.

480.07 DONT UPDATE DENSITY FOR FAMILYMANAGER
Thu, March 6 2003

The FLEX LIBRARY entrypoint used to provide the FAMILYMANAGER program with backup parameters will not update the callers DENSITY value if it is already non-zero. This change enables FAMILYMANAGER better control of its backup parameters if the default backup density is overridden by the site.

480.06 SUPPORT OPAL 480.19
Tue, January 28 2003

This change supports Opal Version 480.19 which allows longer strings and protects against attempts to extend string beyond their limit.

480.05 ADD SUPPORT FOR COPYWRITE DISK FARMS
Mon, December 16 2002

This change is to support Familymanager and Mergetape copying to CopyWrite Disk Farms.

480.04 AUTOBINDING
Mon, December 9 2002

Add AutoBinding Compiler Control Option. Internal change only.

480.03 BL
Thu, December 5 2002

Files <pattern> MT <unit> on a non Library/Maintenance tape calls CopyWrite to return the Disk File Headers.

480.02 INCORRECT ROW HANDLING FOR VSS-2 DISK
Thu, June 6 2002

After the re-RC of a VSS-2 disk, it was possible for FLEX to incorrectly process the last row of the system directory using the :FLAT option. This could cause ghost entries from the old directory to be detected during a :FLAT scan. This problem was caused by FLEX miscalculating the size of the row in a VSS-2 disk and is now fixed.

480.01 CHANGE VERSION TO 48
Wed, March 13 2002

This patch only changes the version to 48. version 470.13 is still valid for MCP 48.

470.13 IMPLEMENT 'FILES AT' COMMAND
Mon, December 10 2001

Implement support for "Files AT <hostname>" command in Flex Inquiry.

470.12 FIX BUG IN FILES :ACT WITH LONG NAMES
Thu, October 18 2001

When running the command FILES :ACT on a directory containing long file names and on a non cataloging system, errors could occur. Sometimes Flex would fault, other times corrupted file names were returned.

470.11 HANDLE LONG FILE NAME SEARCHING
Tue., October 16 2001
The various file searching routines used by FLEX software would get a GETSTATUS 119 SIMPLE NAME ERROR when encountering a long file name with more than 17 characters in one or more levels of the title. This problem is now resolved.

470.10 INCREASE COPYWRITE NFT LIMITS FOR MCP 48
Wed, October 10 2001
Default values for WFL/NFT copies used by COPYWRITE have been altered to match the new limit imposed on normal COPY statements on MCP 48 or later. This change offers improved usage of space for Flex CD media in particular as well as image files.

470.09 VOLUME CREATION DATE WITH LONGFILENAMES CAT
Wed, October 10 2001
When running the MERGETAPE utility on MCP 48.1 systems with SYSOPS LONGFILENAMES set, the creation date of the volume stored in the STATISTICS file was not being correctly handled. This caused any tape volumes whose dates had been modified to hold the packed value, to subsequently become marked as BAD REFS in the Stats file. This caused later runs of FAMILYMANAGER to re-backup all files on these tapes.

This problem, which was because MCP 48.1 now holds creation date as a packed integer in the volume library entry, is now resolved.

470.08 HANDLE LONGFILENAME CATALOGS
Fri., September 21 2001
The FLEX package will now operate correctly on cataloging systems with SYSOPS LONGFILENAMES set. Previously, running FAMILYMANAGER on such a system would have failed because of the changes effected by the MCP on the structure of the Catalog file. Some restrictions on the copying of files with very long file names may still apply but this area will be verified shortly.

470.07 FIX FAMILYMANAGER RULE MISBEHAVIOUR
Fri., July 6 2001
If FAMILYMANAGER ran with specific file attributes compiled into any FLEX rule, it was possible for one or more rules to return incorrect results because attribute information could be randomly corrupted. The attributes that instigated this behaviour are relatively new: e.g. FILELENGTH, FILESTRUCTURE, FILEORGANISATION, NOTE and were introduced in OPAL GSTABLEGEN changes 460.09 and 460.17. If you are using any of these attributes in existing rules, it is essential that this version of FAMILYMANAGER is used in the future. The rules do not need to be recompiled.

470.06 INCREASE MAX UNIT TO 65535
Mon., June 18 2001
When using a wild-card family pattern in a FILES command with the FLEX utility program e.g. FILES *= ON =, disk families whose base units had a unit number greater than 4095 were being ignored. FLEX will now correctly handle units up to the value 65535

470.05 FIX MAINT ALT FLAT
Fri., April 20 2001
The MAINT ALT FLAT command was inadvertently broken by the changes made to support VSS2 disk; this caused all :FLAT commands to the alternate directory to fail with BAD BLOCKING FOR CATALOG/DIR. This problem is now resolved.

470.04 NO BCL ON MCP 47.1
Thu, January 25 2001

Internal Metalogic change. No documentation

470.03 FIX VSS2 DISK HANDLING
Tue., December 19 2000
Due to a change in MCP 46.1A.105, FLEX would fail with a FLAT I/O ERROR when reading the SYSTEMDIRECTORY on a VSS-2 disk. This was due to the way that MCP now handles the logical blocking of the file and has now been fixed for this latest MCP version but is still compatible with earlier MCP levels.

470.02 SUPPORT COPY TO CDIMAGE
Thu, September 14 2000
This change supports copies to CD images and adds PERMDIR as an excluded Filekind.

470.01 SUPPORT FOR MCP 4.7
Wed, August 30 2000

This version is required in order to run on MCPs 4.7 or later.

460.14 FAVOUR COPYWRITE FOR IN <file>
Mon, August 14 2000
If CopyWrite is available, it will now be used for the IN <file> searches unless the FILEKIND of the <file> is CONTAINERDATA. This will give CopyWrite users access to a wider variety of Containers from FLEX, including WRAPPEDFILE, LIBMAINTDIR, self-extracting Archives, and SIMPLEINSTALL data files.

460.13 IMPLEMENT PRODUCT & GROUP ATTS
Mon, August 14 2000
The PRODUCT and GROUP attributes are now available.

460.12 FIX INTEGER OVERFLO IN :LIN
Mon, August 14 2000
A :LINEAR search will no longer get an INTEGER OVERFLOW in certain rare NOROW situations.

460.11 QUOTE FILES WITH LEADING UNDER SCORE
Mon, July 3 2000
When being dumped by Familymanager file titles starting with the underscore character were not being correctly quoted. This caused syntax errors in the generated job.

460.10 SUPPORT UNISYS VSS2 DISK IMPLEMENTATION
Thu, June 29 2000

FLEX will now recognise SYSTEMDIRECTORY files on VSS2 disk packs. Previously, FLEX Inquiry would have given an error when handling file requests that used the FLAT option.

460.09 FIX SECURITYUSE ATTS FROM FLAT
Tue., April 18 2000

If FLEX was using the :FLAT option, the SECURITYUSE attribute would consistently return incorrect mnemonic values although non-FLAT runs would be fine.

This problem is now fixed.

460.08 ALLOW FOR #3 OF 2 IN VOLUME LIBRARY
Wed, March 8 2000
If reel 1 of a 3 tape family was released the volume library shows the remaining reels as #2 of and #3 of 2. This caused a problem in Mergetape where reel #3 could be released, even if there were still files on reel #2. This problem has now been corrected. If reel #2 has references then no subsequent reel will be released.

460.07 SIMPLIFY NEXTROW ACCESS IN :FLAT OR :LIN
Wed, February 23 2000

This patch uses the DMTIMESTAMP File Attribute to access NEXTROW info for use in :FL or :LIN. :FL searches against GETSTATUS copied directories should now work. Some old development code has been eliminated. The source for FLEX/LIBRARY is thereby reduced more than 500 cards.

460.06 YET MORE FLEX DIRECTORY ATTS
Fri., January 28 2000
Implements the new attributes defined by GSTABLEGEN 460.09.

460.05 SUPPORT EXTRAINFO FLEX DIRECTORY ATTS
Sat, January 8 2000
This change supports the new FLEX Directory attributes derived from the GETSTATUS EXTRAINFO structure and documented in GSTABLEGEN 460.08

460.04 IMPLEMENT SOFT HDR ATTRIBUTES
Fri., December 31 1999

This change provides support for returning the header to callers for use by GETHEADERATTRIBUTE, as detailed in GSTABLEGEN 460.07.

460.03 ALLOW SERCHING OF WRAPPED CONTAINERS
Fri., December 3 1999

The FILE ... IN ... command can now be used with Wrapped containers.

FILES = IN WRAPPED/BOB Would return all files in the container with the Usercode which Flex is running from.

FILES *= IN WRAPPED/BOB would return all non Usercoded files.

FILES (*)= IN WRAPPED/BOB would return all files.

These and all other wild card patterns are valid, As is any selection expression or report.

If the Error FLEXLIB: Invalid Container or Image is displayed then running Flex with the debug option set and retrying the command will cause an additional display with more detail of the problem.

Ex U FLEX; Option Debug

460.02 FAST INITIALIZE & MYSELF(WIDTH/PAGESIZE)
Fri., September 3 1999

The standard reports are now present in code form, not symbolic as before. On an NX4200, this change reduced the CPU Time of Library initialization from 40 seconds to 2 seconds, and core used from 55000 words to 9000. The FLEX/LIBRARY source is now 2500 lines shorter.

MYSELF(WIDTH) returns the current page width. MYSELF(PAGESIZE) returns the current number of lines per page. They return 0 if no output medium is defined.

460.01 CHANGE DEFAULT RULE THRESHOLD TO 0
Tue., August 31 1999

The previous default value for Rules Threshold was 17%. This could cause problems if Familymanager was run on a new family before any shares had been assigned. The default is now 0% meaning that no limits will be applied unless specifically requested by setting RULES THRESHOLD for the family.

450.05 ADD SUPPORT FOR FRAMESIZE IN FLAT
Thu, June 3 1999
The FRAMESIZE attribute will now return a valid result when used with :FLAT.

450.04 Support for FLEX 450.03
Wed, April 14 1999
This change supports FLEX 450.03.

450.03 FIX :LIN,TEST COUNT
Fri., March 26 1999
Fix for minor cosmetic problem and possible bear-trap.

450.02 SUPPORT FILE ON CD/MT
Wed, February 17 1999
This change provides support for the enhanced FILE command in FLEX Inquiry, which gives access to CDs, Libmaint tapes, and CopyWrite Image files.