Options
All
  • Public
  • Public/Protected
  • All
Menu

Common IO utilities

Hierarchy

  • ZosFilesUtils

Index

Properties

Static Readonly DEFAULT_FILE_EXTENSION

DEFAULT_FILE_EXTENSION: string = "txt"

Default file extension

Static Readonly DSN_SEP

DSN_SEP: string = "."

Data set name qualifier separator

Static Readonly MAX_MEMBER_LENGTH

MAX_MEMBER_LENGTH: number = 8

Methods

Static dfsmsHsmCommand

Static formatUnixFilepath

  • formatUnixFilepath(usspath: string): string

Static Private generateHeadersBasedOnOptions

Static generateMemberName

  • generateMemberName(fileName: string): string

Static getDataSetFromName

  • getDataSetFromName(name: string): IDataSet

Static getDirsFromDataSet

  • getDirsFromDataSet(dataSet: string): string

Static getFileListFromPath

  • getFileListFromPath(inputPath: string, inFullPathFormat?: boolean, isIgnoreHidden?: boolean): string[]
  • Return an array contain the list of all files in the input path. It does not trevor to directory in the input path.

    Parameters

    • inputPath: string

      input path to gather file list

    • Default value inFullPathFormat: boolean = true
    • Default value isIgnoreHidden: boolean = true

    Returns string[]

    Array of all files finds in path

Static getFullPath

  • getFullPath(inputPath: string): string

Static isDataSetNameContainMasking

  • isDataSetNameContainMasking(dataSetName: string): boolean

Static normalizeNewline

  • normalizeNewline(buffer: Buffer): Buffer

Static sanitizeUssPathForRestCall

  • sanitizeUssPathForRestCall(ussPath: string): string

Generated using TypeDoc