INQUIRE NODEJSAPP
Retrieve information about the Node.js application in the CICS® region.
Conditions: END, ILLOGIC, NOTAUTH, NOTFND
This command is threadsafe.
For more information about the use of CVDAs, see CICS-value data areas (CVDAs).
Description
The INQUIRE NODEJSAPP command retrieves information about one or more Node.js applications that are installed in the CICS region.
Browsing
You can browse through all the NODEJSAPP resources that are installed in the region, using the browse options (START, NEXT, and END) on INQUIRE NODEJSAPP commands.
See Browsing resource definitions for general information about browsing, including syntax, exception conditions, and examples.
The resource signature
You can use this command to retrieve the resource signature fields. You can use these fields to manage resources by capturing details of when the resource was defined, installed, and last changed. For more information, see Auditing resources. The resource signature fields are BUNDLE, CHANGEAGENT, CHANGEAGREL, CHANGETIME, CHANGEUSRID, DEFINESOURCE, DEFINETIME, INSTALLAGENT, INSTALLTIME, and INSTALLUSRID. See Summary of the resource signature field values for detailed information about the content of the resource signature fields.
Options
- BUNDLE(data-area)
- Returns the 8-character name of the CICS BUNDLE resource that contains the NODEJSAPP bundle part.
- CHANGEAGENT(cvda)
- Returns a CVDA value that identifies the agent that made the last change to the resource
definition. The possible values are as follows:
- CREATESPI
- The resource definition was last changed by an EXEC CICS CREATE command.
- CSDAPI
- The resource definition was last changed by a CEDA transaction or the programmable interface to DFHEDAP.
- CSDBATCH
- The resource definition was last changed by a DFHCSDUP job.
- DREPAPI
- The resource definition was last changed by a CICSPlex® SM BAS API command.
- CHANGEAGREL(data-area)
- Returns a 4-digit number of the CICS release that was running when the resource definition was last changed.
- CHANGETIME(data-area)
- Returns an ABSTIME value that represents the time stamp when the resource definition was last changed. For more information about the format of the ABSTIME value, see FORMATTIME.
- CHANGEUSRID(data-area)
- Returns the 8-character user ID that ran the change agent.
- DEFINESOURCE(data-area)
- Returns the 8-character source of the resource definition. The DEFINESOURCE value depends on the INSTALLAGENT value. For more information, see Summary of the resource signature field values.
- DEFINETIME(data-area)
- Returns an ABSTIME value that represents the time stamp when the resource definition was created.
- ENABLESTATUS(cvda)
- Returns a CVDA value indicating the overall status of the NODEJSAPP. The CVDA values are as follows:
- ENABLED
- The NODEJSAPP has started and is enabled for use.
- ENABLING
- The NODEJSAPP is starting.
- DISABLED
- The NODEJSAPP is stopped and any new requests cannot be processed.
- DISABLING
- The NODEJSAPP is stopping. Threads can still be running if they were started before the NODEJSAPP was stopped.
- FAILED
- The NODEJSAPP resource has failed.
- INSTALLAGENT(cvda)
- Returns a CVDA value that identifies the agent that installed the resource. The possible values are as follows:
- BUNDLE
- The resource was installed by a bundle deployment.
- INSTALLTIME(data-area)
- Returns an ABSTIME value that represents the time stamp when the resource was installed.
- INSTALLUSRID(data-area)
- Returns the 8-character user ID that installed the resource.
- LERUNOPTS(data-area)
- Returns the 8 character name of the program that defines the runtime options for the Language Environment® enclave.
- LOG(data-area)
- Returns the 255 character path to the log file for the NODEJSAPP.
- NODEHOME(data-area)
- Returns the 255 character path of the NODE_HOME option in Node.js application profile for the NODEJSAPP.
- NODEJSAPP(data-value)
-
Specifies the name of the NODEJSAPP resource about which you are inquiring. The name can be up to 32 characters in length.
- PID(data-area)
- Returns a fullword value that indicates the process ID (PID) of the NODEJSAPP.
- PROFILE(data-area)
- Returns the 255 character path to the profile file for the NODEJSAPP.
- STARTSCRIPT(data-area)
- Returns the 255 character path to the entry JavaScript file for the NODEJSAPP.
- STDERR(data-area)
- Returns the 255 character path to the stderr file for the NODEJSAPP.
- STDOUT(data-area)
- Returns the 255 character path to the stdout file for the NODEJSAPP.
- TRACE(data-area)
- Returns the 255 character path to the trace file for the NODEJSAPP.
Conditions
- END
- RESP2 values:
- 2
- There are no more resource definitions of this type.
- ILLOGIC
- RESP2 values:
- 1
- You have issued a START command when a browse of this resource type is already in progress, or you have issued a NEXT or an END command when a browse of this resource type is not in progress.
- NOTAUTH
- RESP2 values:
- 100
- The user associated with the issuing task is not authorized to use this command.
- 101
-
The user associated with the issuing task is not authorized to access the BUNDLE for this NODEJSAPP.
- NOTFND
- RESP2 values:
- 3
- The NODEJSAPP resource cannot be found.