How to get the CICS Jobname I am working with?


Article ID: 17910


Updated On:


CA Datacom CA DATACOM - AD CA Ideal CA Database Analyzer (IMS Tools) CA Mainframe Configuration Manager for IMS for z/OS IMS TOOLS - MISC CA Compress Data Compression (IMS Tools) CA Database Analyzer for IMS for z/OS CA Database Copier for IMS for z/OS CA Database Organizer for IMS for z/OS CA Mainframe Extended Terminal Manager (IMS Tools) CA High Performance Recovery for IMS for z/OS CA Database Organizer (IMS Tools) CA Mainframe Program Restart Manager for IMS for z/OS CA Secondary Index Builder for IMS for z/OS CA Secondary Index for IMS for z/OS CA CIS CA Common Services for z/OS CA 90s Services CA Database Management Solutions for DB2 for z/OS CA Common Product Services Component CA Common Services CA Datacom/AD CA ecoMeter Server Component FOC CA Easytrieve Report Generator for Common Services CA Infocai Maintenance CA IPC Unicenter CA-JCLCheck Common Component CA Mainframe VM Product Manager CA Chorus Software Manager CA On Demand Portal CA Service Desk Manager - Unified Self Service CA PAM Client for Linux for zSeries CA Mainframe Connector for Linux on System z CA Graphical Management Interface CA Web Administrator for Top Secret CA CA- Xpertware



Is there a command to get the CICS jobname I am working with?


The following CICS command will do it: CECI INQUIRE SYSTEM JOBNAME()

It will display on the top right side of the screen the field: 'NAME=' where you can enter a value.

Enter 'x' and press enter, it will show '&x' then press enter again, all the fields should now be displayed with their values.

You may now press PF8 until you see the field Jobname value and other system field values.


For example: 

  inq system jobname()                                                      

 STATUS:  COMMAND EXECUTION COMPLETE                         NAME=         

  EXEC CICS  INQuire SYSTem                                                

+  < ERdsasize( +0027262976 ) >                                            

   < ESdsasize( +0001048576 ) >                                            

   < EUdsasize( +0001048576 ) >                                            

   < Forceqr( +0000001054 ) >                                              

   < GMMTExt( 'CTS 4.1/CICS 6.6 eMAIL/ETC & IDEALr11/IPCr11/DBr1' ... )    

     GMMLength( +00050 ) >                                                 

   < GMMTRanid( 'CSGM' ) >                                                 

   < Initstatus( +0000000628 ) >                                           

   < Jobname( 'DIDACICS' ) >                                           <==== Jobname                                         

   < Logdefer( +0000000005 ) >                                             

   < MAXOpentcbs( +0000000012 ) >                                          

   < MAXTasks( +0000000005 ) >                                             

   < MEmlimit( Nolimit ) >                                                 

   < MQconn( '        ' ) >                                                

   < MRobatch( +0000000001 ) >                                             

   < OPRel( +00021 ) >                                                     

+  < OPSys( 'X' ) >                                                        


  RESPONSE: NORMAL                EIBRESP=+0000000000 EIBRESP2=+0000000000 

PF 1 HELP 2 HEX 3 END 4 EIB 5 VAR 6 USER 7 SBH 8 SFH 9 MSG 10 SB 11 SF     


Additional Information: 

CECI: CICS-supplied Command Interpreter transaction. It verifies the syntax of a CICS command and executes the command.

See IBM KnowledgeCenter for more about CECI transaction:!/SSGMCP_5.3.0/


Release: DATABB00200-14-Datacom/AD