| How To Create LIBR Views: |
| Coding FTP_LIBR_MEM_TYPE (in the global config member): Members whose types are defined in the global configuration statement FTP_LIBR_MEM_TYPE are always FTPed in binary mode. Furthermore, RECF=STRING parameter forces reading/writing in STRING, or byte, mode, and RECF=FIXED parameter forces reading/writing fixed, 80-byte records. For example, you should always FTP OBJ files in binary, fixed, 80-byte records. To achieve this, code: FTP_LIBR_MEM_TYPE = OBJ,RECF=FIXED As another example, JIF files should always be FTPed into byte (or string) members. To achieve this, code: FTP_LIBR_MEM_TYPE = JIF,RECF=STRING For more information about this global configuration statement, please see |
| Introduction: You can create LIBR views with varying degrees of access restrictions. There are three categories, or types of LIBR views: Shell, LIB and SUBLIB. Shell Views: No restrictions. All libraries in your system are potentially accessible. LIB Views: grant access to one library. SUBLIB Views: grant access to one Sublibrary. |
| LIBR SUBLIB Views: Each SUBLIB View grants access to ONE sublibrary in your system. To create a SUBLIB View, you must code TGT_FILE statement as follows: TGT_FILE = library.sublibrary The following SUBLIB view, for example, grants access to PRD1.MACLIB |
| LIBR LIB Views: Each LIB View grants access to ONE library in your system. To create a LIB View, you must code TGT_FILE statement as follows: TGT_FILE = library The following LIBR view, for example, grants access to PRD1 |
| XFER = BEGIN TYPE = RCV <<= Constant: code as shown. TGT_FILE = PRD1.MACLIB TGT_AM = PAM <<= Constant: Code as shown. TGT_TYPE = DISK <<= constant: Code as shown TGT_RECFM = F TGT_RECL = 80 XFER = END |
| XFER = BEGIN TYPE = RCV <<= Constant: code as shown. TGT_FILE = PRD1 TGT_AM = PAM <<= Constant: Code as shown. TGT_TYPE = DISK <<= constant: Code as shown TGT_RECFM = F TGT_RECL = 80 XFER = END |
| LIBR Shell View: The LIBR Shell View grants access to all libraries in your system. Therefore, access to this view should be granted only to trusted users, if at all. To create a LIBR Shell View, you must omit TGT_FILE statement. Here is an example: |
| XFER = BEGIN TYPE = RCV <<= Constant: code as shown. TGT_AM = PAM <<= Constant: Code as shown. TGT_TYPE = DISK <<= constant: Code as shown TGT_RECFM = F TGT_RECL = 80 XFER = END |
| Required Statements: The following statements must be coded in all POWER view types: TYPE = RCV TGT_AM = PAM TGT_TYPE = DISK TGT_FILE = depends on the view type. TGT_RECFM = F TGT_RECL = 80 CTL_FTPC statements (optional). Please see for more details. |