import { ZosFilesConstants } from "./ZosFiles.constants" ; import { IMessageDefinition } from "@zowe/imperative" ; type { object . < string , IMessageDefinition > } memberOf export const ZosFilesMessages = { type { IMessageDefinition } unsupportedDatasetType : { message : "Unsupported data set type." } , unsupportedMaskingInDataSetName : { message : "Unsupported masking character found in data set name." } , type { IMessageDefinition } missingDatasetType : { message : "Specify the data set type." } , type { IMessageDefinition } missingDatasetName : { message : "Specify the data set name." } , type { IMessageDefinition } missingDatasetLikeName : { message : "Specify the name of the data set to \"allocate like\" from." } , type { IMessageDefinition } missingUSSFileName : { message : "Specify the USS file name." } , type { IMessageDefinition } missingPayload : { message : "Specify the payload." } , type { IMessageDefinition } missingUSSDirectoryName : { message : "Specify the USS directory name." } , type { IMessageDefinition } missingRequestType : { message : "Specify request type, file or directory." } , type { IMessageDefinition } missingInputFile : { message : "Specify the input file and, if needed, the path." } , type { IMessageDefinition } missingInputDirectory : { message : "Specify directory path, to upload." } , type { IMessageDefinition } missingInputDir : { message : "Specify the input directory path." } , type { IMessageDefinition } dataSetCreatedSuccessfully : { message : "Data set created successfully." } , type { IMessageDefinition } datasetDeletedSuccessfully : { message : "Data set deleted successfully." } , type { IMessageDefinition } datasetDownloadedSuccessfully : { message : "Data set downloaded successfully.\nDestination: %s" } , type { IMessageDefinition } ussFileDownloadedSuccessfully : { message : "USS file downloaded successfully.\nDestination: %s" } , type { IMessageDefinition } ussFileUploadedSuccessfully : { message : "USS file uploaded successfully." } , type { IMessageDefinition } ussDirUploadedSuccessfully : { message : "Directory uploaded successfully." } , type { IMessageDefinition } ussFileDeletedSuccessfully : { message : "USS File or directory deleted successfully." } , type { IMessageDefinition } datasetsDownloadedSuccessfully : { message : "Data sets matching pattern downloaded successfully.\nDestination: %s" } , type { IMessageDefinition } dataSetUploadedSuccessfully : { message : "Data set uploaded successfully." } , type { IMessageDefinition } noMembersFound : { message : "No members found!" } , type { IMessageDefinition } missingFilesCreateOptions : { message : "No zos-files create command options." } , type { IMessageDefinition } invalidFilesCreateOption : { message : "Invalid zos-files create command option: " } , type { IMessageDefinition } invalidDsntypeOption : { message : "Invalid zos-files create command 'dsntype' option: " } , type { IMessageDefinition } invalidAlcunitOption : { message : "Invalid zos-files create command 'alcunit' option: " } , type { IMessageDefinition } missingPrimary : { message : "Specify the primary allocation (primary) to create a data set." } , type { IMessageDefinition } invalidDsorgOption : { message : "Invalid zos-files create command 'dsorg' option: " } , type { IMessageDefinition } invalidRecfmOption : { message : "Invalid zos-files create command 'recfm' option: " } , type { IMessageDefinition } invalidPSDsorgDirblkCombination : { message : "'PS' data set organization (dsorg) specified and the directory blocks (dirblk) is not zero." } , type { IMessageDefinition } invalidPODsorgDirblkCombination : { message : "'PO' data set organization (dsorg) specified and the directory blocks (dirblk) is zero." } , type { IMessageDefinition } maximumAllocationQuantityExceeded : { message : `Maximum allocation quantity of ${ ZosFilesConstants . MAX_ALLOC_QUANTITY } exceeded` } , type { IMessageDefinition } missingRecordLength : { message : "Specify the record length (lrecl) to create a data set." } , type { IMessageDefinition } missingStatements : { message : "Missing AMS statements to be submitted." } , type { IMessageDefinition } missingVsamOption : { message : "To create a VSAM cluster, the following option must be supplied: " } , type { IMessageDefinition } valueOutOfBounds : { message : "The {{optionName}} value = '{{value}}' must be between {{minValue}} and {{maxValue}}." } , type { IMessageDefinition } amsCommandExecutedSuccessfully : { message : "AMS command executed successfully." } , type { IMessageDefinition } longAmsStatement : { message : "Line %d is longer than %d characters (maximum allowed length)\n%s" } , type { IMessageDefinition } pathIsNotDirectory : { message : "%s is not a directory" } , type { IMessageDefinition } uploadDirectoryToDatasetMember : { message : "Upload a directory to a data set member is not permitted" } , type { IMessageDefinition } uploadDirectoryToPhysicalSequentialDataSet : { message : "Upload a directory with multiple files to a physical sequential data set is not permitted" } , type { IMessageDefinition } missingPatterns : { message : "No pattern to match data sets passed." } , type { IMessageDefinition } allDataSetsArchived : { message : "All data sets matching the selected pattern(s) were archived." } , type { IMessageDefinition } noDataSetsInList : { message : "No data sets left after excluded pattern(s) were filtered out." } , type { IMessageDefinition } noDataSetsMatchingPattern : { message : "There are no data sets that match the provided pattern(s)." } , type { IMessageDefinition } noDataSetsMatchingPatternRemain : { message : "After filtering out the archived files and files that match the exclusion-parameters, no data sets matching" + " the supported organization type remain." } , type { IMessageDefinition } onlyEmptyPartitionedDataSets : { message : "Only empty partitioned data sets match the provided patterns." } , /**
     * Message indicating that a failure has happened in the NodeJS File System API
     */ nodeJsFsError : { message : "Node.js File System API error" } , /**
     * Messaging indicating invalid syntax in .zosattributes file
     */ invalidAttributesSyntax : { message : "Syntax error on line {{lineNumber}} - expected <pattern> <local encoding> <remote encoding>." } , /**
     * Messaging indicating an attributes file was not found
     */ attributesFileNotFound : { message : "Attributes file {{file}} does not exist" } , /**
     * Message indicating an error reading an attributes file
     */ errorReadingAttributesFile : { message : "Could not read attributes file {{file}}: {{message}}" } , /**
     * Message indicating an error parsing an attributes file
     */ errorParsingAttributesFile : { message : "Error parsing attributes file {{file}}: {{message}}" } , type { IMessageDefinition } missingFileSystemName : { message : "Specify the file system name." } , type { IMessageDefinition } missingZfsOption : { message : "To create a z/OS file system, the following option must be supplied: " } , type { IMessageDefinition } invalidPermsOption : { message : "Invalid zos-files create command 'perms' option: " } , type { IMessageDefinition } zfsCreatedSuccessfully : { message : "z/OS file system created successfully." } , type { IMessageDefinition } zfsDeletedSuccessfully : { message : "z/OS file system deleted successfully." } , type { IMessageDefinition } missingMountPoint : { message : "Specify the mount point." } , type { IMessageDefinition } missingFilesMountOptions : { message : "No zos-files mount command options." } , type { IMessageDefinition } invalidFilesMountOption : { message : "Invalid zos-files mount command option: " } , type { IMessageDefinition } missingFsOption : { message : "To mount a file system, the following option must be supplied: " } , type { IMessageDefinition } invalidMountModeOption : { message : "Invalid zos-files mount command 'mode' value: " } , type { IMessageDefinition } fsMountedSuccessfully : { message : "File system mounted successfully." } , type { IMessageDefinition } fsUnmountedSuccessfully : { message : "File system unmounted successfully." } , type { IMessageDefinition } ussCreatedSuccessfully : { message : "USS file or directory created successfully." } , type { IMessageDefinition } dataSetRenamedSuccessfully : { message : "Data set renamed successfully." } , type { IMessageDefinition } datasetDeletionRequested : { message : "Data set deletion requested." } , type { IMessageDefinition } datasetMigrationRequested : { message : "Data set migration requested." } , type { IMessageDefinition } datasetRecallRequested : { message : "Data set recall requested." } , type { IMessageDefinition } datasetCopiedSuccessfully : { message : "Data set copied successfully." } , type { IMessageDefinition } memberDownloadFailed : { message : "Failed to download the following members: \n" } , type { IMessageDefinition } attributeTitle : { message : "The following attributes are used during creation:\n" } , type { IMessageDefinition } commonFor : { message : "for" } , type { IMessageDefinition } commonWithValue : { message : "with value" } } ;