@zowe/zos-files-for-zowe-sdk
Version:
Zowe SDK to interact with files and data sets on z/OS
167 lines • 4.38 kB
JavaScript
"use strict";
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ZosFilesConstants = void 0;
/**
* Constants to be used by the API
* @memberof ZosFilesConstants
*/
exports.ZosFilesConstants = {
/**
* Specifies the z/OS data set and file REST interface
* @type {string}
*/
RESOURCE: "/zosmf/restfiles",
/**
* Indicator of a data set request
* @type {string}
*/
RES_DS_FILES: "/ds",
/**
* Indicator of a USS File request
* @type {string}
*/
RES_USS_FILES: "/fs",
/**
* Indicator of a z/OS file system request
* @type {string}
*/
RES_ZFS_FILES: "/mfs/zfs",
/**
* Indicator of a z/OS mfs
* @type {string}
*/
RES_MFS: "/mfs",
/**
* Indicator of a members request
* @type {string}
* @memberof ZosFilesConstants
*/
RES_DS_MEMBERS: "/member",
/**
* Indicator of an AMS request
* @type {string}
*/
RES_AMS: "/ams",
/**
* Indicator of a USS File request
* @type {string}
* @memberof ZosFilesConstants
*/
RES_PATH: "path",
/**
* Indicator of a ds file name
* @type {string}
* @memberof ZosFilesConstants
*/
RES_FSNAME: "fsname",
/**
* Indicator of the user parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_USER: "user",
/**
* Indicator of the group parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_GROUP: "group",
/**
* Indicator of the modification time parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_MTIME: "mtime",
/**
* Indicator of the name parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_NAME: "name",
/**
* Indicator of the size parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_SIZE: "size",
/**
* Indicator of the permission octal mask parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_PERM: "perm",
/**
* Indicator of the file type parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_TYPE: "type",
/**
* Indicator of the depth parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_DEPTH: "depth",
/**
* Indicator of the filesystem behavior parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_FILESYS: "filesys",
/**
* Indicator of the symlink behavior parameter for files operations
* @type {string}
* @memberof ZosFilesConstants
*/
RES_SYMLINKS: "symlinks",
/**
* Indicator the query parameters used to qualify the request
*/
RES_DS_LEVEL: "dslevel",
/**
* Maximum value for primary and secondary allocation
* @type {number}
*/
MAX_ALLOC_QUANTITY: 16777215,
/**
* Maximum length of an AMS statement
* @type {number}
*/
MAX_AMS_LINE: 255,
/**
* Maximum numbers of characters to allow for the continuation character on AMS statements
* @type {number}
*/
MAX_AMS_BUFFER: 2,
/**
* Minimum numbers of days for which to retain a dataset.
* @type {number}
*/
MIN_RETAIN_DAYS: 0,
/**
* Maximum numbers of days for which to retain a dataset.
* @type {number}
*/
MAX_RETAIN_DAYS: 93000,
/**
* The set of dataset organization choices for VSAM files
* @type {[string]}
*/
VSAM_DSORG_CHOICES: ["INDEXED", "IXD", "LINEAR", "LIN", "NONINDEXED", "NIXD", "NUMBERED", "NUMD", "ZFS"],
/**
* The set of allocation unit choices for VSAM files
* @type {[string]}
*/
VSAM_ALCUNIT_CHOICES: ["CYL", "TRK", "MB", "KB", "REC"]
};
//# sourceMappingURL=ZosFiles.constants.js.map