![]() |
CFS (Connection & File Services) is a software utility for the BS2000 operating system which substantially enhances the scope and productivity of BS2000 users by providing a simple, powerful operating interface.
CFS Functions (Summary):
- Selection and subsequent processing of files, libraries (LMS/FMS/LMR), Job variables and Archive directories using a common syntax
- Connection Handler for multiple dialog sessions from one terminal
- Capture dialog sessions, and replay them
- Command Memory, Hardcopy to a formatted file
- Editor for files of any size, any record length, Fcbtype, Recform, Recsize etc.
- Job Report System for starting DO procedures in Enter mode, full-screen prompting for DO parameters, monitoring the execution of the Enter job, displaying SYSOUT files
- Find and Rewrite function across any number of files or library elements using a single command
- File information and documentation system
- Full-screen support for all File Transfer Systems
- Logical comparison of files, libraries, userids, Public Volume Sets
- Converting files between any formats, without restriction
- Reorganise libraries and ISAM files
- View the files saved with an archive directory and restore selected files under the original or a new name.
- User-specific Event Scheduling System, with calender functions
- Special system administrator functions:
- display all open files in the system, together with Open Mode, TSN, ISAM Pool
- display contents of open SAM/PAM files (e.g. SYSOUT or CONSLOG files)
- copy/move files with Creation Date retention
- selection of files according to password
- display space utilisation of all Public Volume Sets
- All functions can also be run in batch mode
- Online help at any point in the program
CFS has interfaces to the following products: EDT, TOM-TI, EDOR, FMS, LMS, LMR, ARCHIVE, FLAM, PERCON, SORT, FT-BS2000, RDAC, $DIALOG, $CONSOLE, DCAM, UTM, SAP.
Installation of CFS is easily achieved by reading in the contents of a tape under any userid. From the system administrator's point of view, no changes to BS2000 are necessary. Upgrading to a new BS2000 version has no impact on CFS at all.
CFS can be installed on BS2000 systems from Version 7.5 to OSD V2.
/EXEC $CFS or /EXEC $CFS.CFS
Terminating CFS
Entering * or END in the command field, or pressing the K1 or K2 key repeatedly.
Returning to a previous menu
Pressing the K1 key will return the user to the previous menu.
Selecting files and adding them to a library
If ONXADD library is entered in the CFS command field at the head of a file list, it will result in all those files marked with the Action Code X being added to library; if the library does not exist, it will be created by CFS. XE will erase the files after they have been successfully added to the library.
Modify a file attribute
Entering AR in the Action Code field of a file will set it to Access=Read. AW will set it to Access=Write, SY: Share=Yes, SN; Share=No. The Action Code F (FSTAT) can be used to verify these modifications to the file attribute.
R (Rename) will make the file name overwriteable, which can then be easily modified. C(Copy) will also make the name overwriteable, and the name of the target file can be given.
Processing data objects in EDT
Entering EDT in the Action Code column of a file will result in that file being read into EDT workfile 0. Multiple files can be read simultaneously into different EDT workfiles by specifying EDT0, EDT1, EDT2, etc. When the editing process is finished, the K1 key should be pressed. UPD0, UPD1, UPD2, etc. will appear in the Action Code columns of the respective files. Simply pressing DUE will update the contents of the marked files with the relative workfile contents. Overwriting the Action Code field with blanks will suppress the update.
Selecting elements from a library
Entering LMS library / FMS library in the FILENAME-SELECT field of the Selection mask will cause all the elements of the specified library to be displayed. Subsequent processing of these elements (e.g. with EDT), is supported in exactly the same way as for files, as described above.
Selection of Job variables
Enter J (Job variables) in the FCBTYPE field of the Selection mask.
Display and Modify Files/Library Elements/Job Variables
Entering D in the Action Code field will cause that file/library element/Job variable to be displayed by the internal CFS Editor. Positioning within the records (+n/-n/++/--/>n/<n/>>/<<), and changing the various display modes (HEX/EL) is achieved via the command field (COMMAND:). Entering the command M (Modify) will allow the data object to be modified. Leaving the Display mode, or the Editor, is achieved by pressing K1.
Capture the screen contents to a hardcopy file for printing
The Display mode for the file/library element/Job variable is activated with Action Code D. The required screen contents are located with the scrolling functions, or by using the Search command (S,'....'). The display mode can be changed if required with EL/HEX. Pressing the F3 key will capture the screen contents to a printable file. This can be listed on screen with an NP CFS.HARDC command, or printed with Space=E via the Action Code PS.
Multiple Dialog Sessions under CFS
Entering OC1 in the command field of the second CFS mask will result in the BS2000 system message : "PLEASE LOGON ... " appearing. Entering a valid LOGON command will start a dialog session with its own TSN. Pressing the K2 key will interrupt the session, and if R is pressed when prompted, the user will return to the basic CFS task. A second connection can then be opened with OC2, or the first connection can be continued with CC1 (Continue in Connection).
If the user is interested solely in multiple sessions, the file selection process can be skipped by entering NO in the FILENAME-SELECT field.
Record dialog sessions, and replay them later
To start recording dialog entries, the command LOG file is entered from within a connection. All input steps are then captured to this file. The command NLOG will stop the recording process. To replay the dialog steps captured in the same, or in a previous session, enter the command RES file. To step through the session, with acknowledgement required for each step, enter the command RES file,S.
Start a DO Procedure with parameters as an Enter job (Job Report)
DO procedures can be run as Enter jobs using the CFS Job Report System, by entering the command E do-proc in the COMMAND field of the second CFS mask. If the PROC statement of the DO procedure contains positional or keyword parameters, these will all be displayed in screen mode, where they can be completed. When the Enter job started by CFS has terminated, the user will be notified, and can have the SYSOUT listing of the job displayed. If the user is no longer in CFS when the job terminates, he or she will be informed of the termination of the job automatically the next time CFS is loaded.
Start and monitor File Transfer jobs
Entering FT in the COMMAND field will present a mask to allow the transfer of files under control of FT-BS2000. All the relevant FT parameters can be entered here. Detailed information for the individual field entries can be obtained by entering ?. A full description of the entire FT system can be obtained by entering ?FT in the command field.
If YES is entered in the PROTOCOL-LISTING field of the FT mask, the Job Report System (see previous paragraph) will be activated when the FT request has finished, and the FT log will be displayed on the screen.
Entering NSTAT in the FILENAME-SELECT field of the first CFS mask will display an overview of all files for which a file transfer request was entered. Entering FTS in the Action Code field for an individual file will display the transfer status in detail. The transfer request for a file can be canceled by entering the Action Code FTC for that file.