import { ICommandDefinition } from "@zowe/imperative" ; export const SpoolFilesByJobidDefinition = { name : "spool-files-by-jobid" , aliases : [ "sfbj" ] , type : "command" , summary : "List spool files of a z/OS job" , description : "Given a z/OS job JOBID, list the spool files (DDs) for a z/OS job on the JES/spool queues. " + "The command does not pre-validate the JOBID. " + "The command presents errors verbatim from the z/OSMF Jobs REST endpoints." , handler : __dirname + "/SpoolFilesByJobid.handler" , profile : { optional : [ "zosmf" ] } , positionals : [ { name : "jobid" , description : "The z/OS JOBID of the job with the spool files you want to list. " + "No pre-validation of the JOBID is performed." , type : "string" , required : true } ] , outputFormatOptions : true , examples : [ { options : "job00123" , description : "List the spool files of the job with JOBID JOB00123" } ] } ;