## zowe › ca7 › list-job-instance › listCustom

Displays information about jobs in the active workload.

#### Usage

zowe ca7 list-job-instance listCustom [options]

#### Options

- `--ca7no` (number)

  - ca7no=0231

    The CA 7 job number

- `--databasename` | `--db` (string)

  - databasename=TESTDB01

    The CA 7 database name

- `--jobname` (string)

  - jobname=CA7TEST

    The CA 7 job name

- `--job` (boolean)

  - job=true/false

    The job name for this job in the active workload

- `--queueName` (boolean)

  - queueName=true/false

    The name of the queue in which this job is currently located.

- `--ca7Num` (boolean)

  - ca7Num=true/false

    The job number for this job in the active workload

- `--status` (boolean)

  - status=true/false

    The job status

- `--entryMode` (boolean)

  - entryMode=true/false

    Identifies how the job was brought into the queue.

- `--abended` (boolean)

  - abended=true/false

    Y if job abended, N if not

- `--agentIntervention` (boolean)

  - agentIntervention=true/false

    Y if INTERVENTION REQUIRED condition exists for this agent job, N if not

- `--agentJobNumber` (boolean)

  - agentJobNumber=true/false

    The job number/PID for this agent job

- `--agentName` (boolean)

  - agentName=true/false

    The name of the agent where this job will execute

- `--agentStatus` (boolean)

  - agentStatus=true/false

    The status for this agent job

- `--agentStatusData` (boolean)

  - agentStatusData=true/false

    Y if status data is available for this agent job,N if not

- `--agentSubmitted` (boolean)

  - agentSubmitted=true/false

    Y if agent job has been submitted to the agent, N if not

- `--agentType` (boolean)

  - agentType=true/false

    Agent job type, zero if this is not an agent job

- `--agentUser` (boolean)

  - agentUser=true/false

    The userid with which this agent job will execute

- `--ajbBuildError` (boolean)

  - ajbBuildError=true/false

    Y if an error occurred while building an XPJOB job AJB or an agent job AFM, N if not

- `--arf` (boolean)

  - arf=true/false

    Y if this job is monitored by ARF, N if not

- `--arfAttachErr` (boolean)

  - arfAttachErr=true/false

    Y if this job had an ARF attach error, N if not

- `--arfCompMatched` (boolean)

  - arfCompMatched=true/false

    Set to Y if an ARF JOB completion rule matched for this job

- `--arfDate` (boolean)

  - arfDate=true/false

    Y if the job uses ARF

- `--arfErrorCond` (boolean)

  - arfErrorCond=true/false

    Set to Y if there was an error during ARF condition detection, N if not

- `--arfjJob` (boolean)

  - arfjJob=true/false

    Y if job is an ARF recovery job, N if not

- `--arfJobComplete` (boolean)

  - arfJobComplete=true/false

    Set to Y if this job's completion has been posted to ARF, N if not

- `--arfRecovery` (boolean)

  - arfRecovery=true/false

    Y if job is in ARF recovery, N if not

- `--arfRecoveryErr` (boolean)

  - arfRecoveryErr=true/false

    Y if this job had an error in ARF recovery, N if not

- `--arfset` (boolean)

  - arfset=true/false

    The collection of ARF definitions that apply to this job

- `--arfTime` (boolean)

  - arfTime=true/false

    The date and time that the ARFSET was attached to this job

- `--autofDone` (boolean)

  - autofDone=true/false

    Y if job performed AUTO F, N if not

- `--ca11JesNode` (boolean)

  - ca11JesNode=true/false

    The JES node where this job executes

- `--ca11RestartStep` (boolean)

  - ca11RestartStep=true/false

    The relative CA 11 restart step number

- `--ca11RmsCc` (boolean)

  - ca11RmsCc=true/false

    The CA 11 U11RMS step condition code

- `--ca11Subsystem` (boolean)

  - ca11Subsystem=true/false

    The CA 11 subsystem name

- `--ca7System` (boolean)

  - ca7System=true/false

    The user-defined application system associated with this job

- `--compCode` (boolean)

  - compCode=true/false

    The job completion code in number format

- `--cpmJfm` (boolean)

  - cpmJfm=true/false

    Y if JFM is used to track CPM, N if not

- `--cpuTableIndex` (boolean)

  - cpuTableIndex=true/false

    Index to the CPU Table entry

- `--cputime` (boolean)

  - cputime=true/false

    This Job's average CPU time

- `--currStepNum` (boolean)

  - currStepNum=true/false

    The number of the step that is currently executing

- `--defNotFound` (boolean)

  - defNotFound=true/false

    Y if job defintion not found on database, N if not found

- `--doNotPrompt` (boolean)

  - doNotPrompt=true/false

    Y if prompts are bypassed for the job, N if not

- `--drclass` (boolean)

  - drclass=true/false

    The job's disaster recovery class

- `--drmode` (boolean)

  - drmode=true/false

    Y if this job entered the queues when disaster recovery mode was active, N if not

- `--dueOutExists` (boolean)

  - dueOutExists=true/false

    Determines if a zero value in DUE_OUT_TIME indicates midnight (Y) or no due out time (N)

- `--dueOutTime` (boolean)

  - dueOutTime=true/false

    The date and time this job is expected to complete

- `--dupJob` (boolean)

  - dupJob=true/false

    Y if a job with the same name is waiting on this job to complete, N if not

- `--dupJobWait` (boolean)

  - dupJobWait=true/false

    Y if this job is waiting on a job with the same name to complete, N if not

- `--elapsedTime` (boolean)

  - elapsedTime=true/false

    This Job's average elapsed time

- `--endTime` (boolean)

  - endTime=true/false

    The date and time this job ended

- `--executable` (boolean)

  - executable=true/false

    Y if job is executable, N if not

- `--express` (boolean)

  - express=true/false

    Y if submission of this job has been expedited by use of the SUBMIT,EXPRESS=YES command, N if not

- `--externalInput` (boolean)

  - externalInput=true/false

    Y if we job has external input, N if not

- `--externalJob` (boolean)

  - externalJob=true/false

    Y if this is an externally tracked job, N if not

- `--externalSatisfied` (boolean)

  - externalSatisfied=true/false

    The number of satisfied external requirements for this job

- `--externalTotal` (boolean)

  - externalTotal=true/false

    The total number of external requirements for this job

- `--forcedComplete` (boolean)

  - forcedComplete=true/false

    Y if job was force completed, N if not

- `--forcedSubmit` (boolean)

  - forcedSubmit=true/false

    Y if all input requirements have been marked as satisfied by use of the SUBMIT command, N if not

- `--fromXpRequest` (boolean)

  - fromXpRequest=true/false

    Y if scheduling request for this job came from an XPS client, N if not

- `--hasCa11` (boolean)

  - hasCa11=true/false

    Y if job has a CA11 segment, N if not

- `--hasCpuTime` (boolean)

  - hasCpuTime=true/false

    Y if we have non-zero CPU time for this job, N if not

- `--hasJo` (boolean)

  - hasJo=true/false

    Y if the JCL or PARM DATA contains a #JO card, N if not

- `--hasStepTime` (boolean)

  - hasStepTime=true/false

    Y if job has non-zero step CPU time, N if not

- `--held` (boolean)

  - held=true/false

    Y if job is held, N if not

- `--heldByJob` (boolean)

  - heldByJob=true/false

    Y if job was held on entry to the queues, N if not

- `--heldSkeleton` (boolean)

  - heldSkeleton=true/false

    Y if job is held and in skeleton status, N if not

- `--skeleton` (boolean)

  - skeleton=true/false

    Y if job is in skeleton status, N if not

- `--holdOnEntry` (boolean)

  - holdOnEntry=true/false

    Y if job marked HOLD=YES, N if not

- `--hostName` (boolean)

  - hostName=true/false

    The SMF Id of the system where this is executing

- `--inCpmFlow` (boolean)

  - inCpmFlow=true/false

    Y if job is part of a CPM flow, N if not

- `--insertRms` (boolean)

  - insertRms=true/false

    Y if an RMS step will be inserted into this job's JCL, N if not

- `--jclAllocErr` (boolean)

  - jclAllocErr=true/false

    Y if JCL or PARM DATA library could not be allocated, N if not

- `--jclCount` (boolean)

  - jclCount=true/false

    The number of non-# records in the JCL or PARM DATA members associated with this job

- `--jclError` (boolean)

  - jclError=true/false

    Y if job marked with JCL error, N if not

- `--jclFromAltlib` (boolean)

  - jclFromAltlib=true/false

    Y if JCL or PARM DATA was retrieved from an alternate library, N if not

- `--jclLibrary` (boolean)

  - jclLibrary=true/false

    Contains either a 3 digit JCL index value or a JCL variable beginning with an ampersand

- `--jesHi` (boolean)

  - jesHi=true/false

    JES supports ID > 99999

- `--loadOnly` (boolean)

  - loadOnly=true/false

    Y if this is a LOAD only job, N if not

- `--loadStepDone` (boolean)

  - loadStepDone=true/false

    Y if LOAD step ran OK for this job, N if not

- `--locked` (boolean)

  - locked=true/false

    Y if job is locked, N if not

- `--longName` (boolean)

  - longName=true/false

    An alias name for this job. This name may be used by scheduling engines on other platforms, such as AutoSys

- `--lterm` (boolean)

  - lterm=true/false

    Logical terminal name from job definition

- `--mainid` (boolean)

  - mainid=true/false

    If positive, the CPU number on which the job may execute. If negative, the CPU number on which the job may not execute

- `--maint` (boolean)

  - maint=true/false

    Y if job ignores requirements, N if not

- `--manualRequeue` (boolean)

  - manualRequeue=true/false

    Y if job has been re-queued to REQUEST queue, N if not

- `--memberName` (boolean)

  - memberName=true/false

    The JCL or PARM DATA library member name

- `--mustStartExists` (boolean)

  - mustStartExists=true/false

    Determines if a zero value in MUST_START_TIME indicates midnight (Y) or no deadline time (N)

- `--needsAutof` (boolean)

  - needsAutof=true/false

    Y if a job changed and requires 'F' in CA11, N if not

- `--nextRunReq` (boolean)

  - nextRunReq=true/false

    Y if job has temporary requirements for the next execution, N if not

- `--nodeFailed` (boolean)

  - nodeFailed=true/false

    Y if this is an XPJOB job and at the time of it last submit its node was down, N if not

- `--nodeOffline` (boolean)

  - nodeOffline=true/false

    Y if this is an XPJOB job and at the time of its last submit its node was offline, N if not

- `--nodeStopped` (boolean)

  - nodeStopped=true/false

    Y if this is an XPJOB job and at the time of it last submit its node was stopped, N if not

- `--noUserId` (boolean)

  - noUserId=true/false

    Y if there is not a valid security id for this job, N if there is

- `--noXpsiParmlib` (boolean)

  - noXpsiParmlib=true/false

    Y if this is an XPJOB job and has no PARMLIB, N if not

- `--noXpsiXpsparm` (boolean)

  - noXpsiXpsparm=true/false

    Y if this is an XPJOB job and has no PARM, N if not

- `--override` (boolean)

  - override=true/false

    Y if JCL/PARM DATA override is required, N if not

- `--overrideApplied` (boolean)

  - overrideApplied=true/false

    Y if JCL overrides have been applied for this job, N if not

- `--prompt` (boolean)

  - prompt=true/false

    Y if job should have LATE PROMPTS, N if not

- `--promptAck` (boolean)

  - promptAck=true/false

    Y if user has acknowledged the prompt, N if not

- `--prompted` (boolean)

  - prompted=true/false

    Y if user has been prompted, N if not

- `--qjclUpdated` (boolean)

  - qjclUpdated=true/false

    Y if JCL or PARM DATA updated through QJCL, N if not

- `--queueJcl` (boolean)

  - queueJcl=true/false

    Y if a QJCL command is in progress for this job N if not

- `--repeatCount` (boolean)

  - repeatCount=true/false

    The number of times to repeat this job

- `--repeatDiff` (boolean)

  - repeatDiff=true/false

- `--ca7No` (boolean)

  - ca7No=true/false

    The difference between the original dueout time and the original submit time, used by repeating jobs

- `--repeatInterval` (boolean)

  - repeatInterval=true/false

    The interval between repetitions of the job

- `--repeatLeadTime` (boolean)

  - repeatLeadTime=true/false

    The lead time for this repeat job. This is the amount of time to ensure it completes before it due out time

- `--repeatStopExists` (boolean)

  - repeatStopExists=true/false

    Determines if a zero value in REPEAT_STOP_TIME indicates midnight (Y) or no repeat stop time (N)

- `--repeatStopTime` (boolean)

  - repeatStopTime=true/false

    The date and time on or after which a repeating job will not be repeated

- `--repeatType` (boolean)

  - repeatType=true/false

    The type of repeat job. This field determines how the submit time requierement is calculated for repeating jobs

- `--restartStep` (boolean)

  - restartStep=true/false

    The step name in which the job was restarted

- `--retainJcl` (boolean)

  - retainJcl=true/false

    Y if JCL or XPJOB information will be retained in the prior run queue, N if not

- `--rqmtCount` (boolean)

  - rqmtCount=true/false

    The master requirement count for this job. The number includes unsatisfied requirements, submit time, and other reasons preventing the job from being submitted

- `--schdAdjusted` (boolean)

  - schdAdjusted=true/false

    Y if job's schedule has been adjusted, N if not

- `--nosecurity` (boolean)

  - nosecurity=true/false

    Y if there was an error retrieving security data,N if no

- `--setNdb` (boolean)

  - setNdb=true/false

    Y if job will bypass LOAD processing at completion and not update the database, N if not

- `--smfNeeded` (boolean)

  - smfNeeded=true/false

    Y if SMF feedback is needed for this job, N if not

- `--startTime` (boolean)

  - startTime=true/false

    The date and time this job started executing on its most recent submission

- `--submitted` (boolean)

  - submitted=true/false

    Y if this job has been submitted to the host, N if not

- `--submitTime` (boolean)

  - submitTime=true/false

    The date and time this job was submitted

- `--triggered` (boolean)

  - triggered=true/false

    Y if job triggered by another job, N if not

- `--uid` (boolean)

  - uid=true/false

    The CA 7 internal user security designation

- `--verify` (boolean)

  - verify=true/false

    Y if job has a manual verification requirement, N if not

- `--waitSubmitTime` (boolean)

  - waitSubmitTime=true/false

    Y if this job has a submit time requirement, N if not

- `--xpAltNode` (boolean)

  - xpAltNode=true/false

    The alternate node where this XPJOB job was routed

- `--xpPrimaryNode` (boolean)

  - xpPrimaryNode=true/false

    The primary node associated with this XPJOB job

- `--xpsJob` (boolean)

  - xpsJob=true/false

    Y if this is an XPJOB job, N if not

- `--xpStatus` (boolean)

  - xpStatus=true/false

    The status of the node associated with this XPJOB job. A: Active F: Failed CCI send O: Offline S:Stopped

- `--xtrackerInact` (boolean)

  - xtrackerInact=true/false

    Y if at time of submission, the XTRACKER task is not active for an XPJOB job or IAS is not active for an agent job, N if not

- `--xplatNode` (boolean)

  - xplatNode=true/false

    Cross platform long node name

- `--responseError` (boolean)

  - responseError=true/false

- `--ca11FailingStepNum` (boolean)

  - ca11FailingStepNum=true/false

    CA 11 Failing Step Number

- `--completeOk` (boolean)

  - completeOk=true/false

    Y if job completed normally, N if not

- `--jesNum` (boolean)

  - jesNum=true/false

    The JES job number for this job. A value of -1 indicates NA

- `--needsLoad` (boolean)

  - needsLoad=true/false

    Y if LOAD processing will be done for this job, Nif not

- `--deadline` (boolean)

  - deadline=true/false

    The date and time a job must be started by in order to meet its due out time

- `--jclfrom254` (boolean)

  - jclfrom254=true/false

    Y if JCL or XPJOB information will be retained in the prior run queue, N if not

- `--proseNum` (boolean)

  - proseNum=true/false

    Number of the prose text associated with this job, or zero

- `--scheduleId` (boolean)

  - scheduleId=true/false

    The schedule id for this execution

- `--triggeringJobNum` (boolean)

  - triggeringJobNum=true/false

    The CA 7 internal job number of the job that triggered this job or job that created the data set that triggered this job

- `--triggers` (boolean)

  - triggers=true/false

    Y if job can trigger other jobs, N if not

#### CA7 Connection Options

- `--host` | `-H` (string)

  - Host name of the CA7 API service that is running on the mainframe system.

- `--port` | `-P` (number)

  - Port for the CA7 API service that is running on the mainframe system.

- `--user` | `-u` (string)

  - User name for authenticating connections to the CA7 API service that is running on the mainframe system.

- `--password` | `--pass` | `--pw` (string)

  - Password for authenticating connections to the CA7 API service that is running on the mainframe system.

- `--base-path` | `--bp` (string)

  - The base path for your API mediation layer instance. Specify this option to prepend the base path to all resources when making REST requests. Do not specify this option if you are not using an API mediation layer.

- `--protocol` | `-o` (string)

  - Specifies protocol to use for CA7 connection (http or https).

    Allowed values: http, https

#### Profile Options

- `--ca7-profile` | `--ca7-p` (string)

  - The name of a (ca7) profile to load for this command execution.

- `--base-profile` | `--base-p` (string)

  - The name of a (base) profile to load for this command execution.

#### Base Connection Options

- `--reject-unauthorized` | `--ru` (boolean)

  - Reject self-signed certificates.

    Default value: true

- `--token-type` | `--tt` (string)

  - The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.

- `--token-value` | `--tv` (string)

  - The value of the token to pass to the API.

- `--cert-file` (local file path)

  - The file path to a certificate file to use for authentication

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

#### Examples

- List a CA 7 job (7777) information which resided in CA7DB database :

  - `zowe ca7 list-job-instance listCustom --ca7no 7777 --db CA7DB --jobname TESTCA7`