Equivalent IMS type-1 and type-2 commands
Certain IMS™ type-1 commands and type-2 commands perform similar tasks.
The following table shows the different instances of the IMS type-1 commands and type-2 commands that perform similar tasks.
Task | /ASSIGN command | Similar IMS type-2 command |
---|---|---|
Changes the value for the limit count of a transaction. | /ASSIGN LCT new_lmct_number TO TRAN tranname | UPDATE TRAN NAME (tranname) SET(LCT(new_limit_count)) |
Changes the value for the limit priority of a transaction. | /ASSIGN LPRI new_lpri_number TO TRAN tranname | UPDATE TRAN NAME(tranname) SET(LPRI(new_limit_priority)) |
Changes the value for the normal priority of a transaction. | /ASSIGN NPRI new_npri_number TO TRAN tranname | UPDATE TRAN NAME(tranname) SET(NPRI(new_normal_priority)) |
Changes the value for the parallel processing limit count of a transaction. | /ASSIGN PARLIM new_parlim_number TO TRAN tranname | UPDATE TRAN NAME(tranname) SET(PARLIM(new_parallel_limit)) |
Changes the value for the processing limit count of a transaction. | /ASSIGN PLCT new_plmct_number TO TRAN tranname | UPDATE TRAN NAME(tranname) SET(PLCT(new_processing_limit)) |
Changes the limit on the number of application program output segments allowed in message queues for each GU call. | /ASSIGN SEGNO new_segno_number TO TRAN tranname | UPDATE TRAN NAME(tranname) SET(SEGNO(new_segment_number)) |
Creates or changes the limit on the size of application program output segments allowed in message queues for each GU call. | /ASSIGN SEGSZ new_segsize_number TO TRAN tranname | UPDATE TRAN NAME(tranname) SET(SEGSZ(new_segment_size)) |
Changes the class number of a transaction. | /ASSIGN TRAN tranname TO CLS new_class_number | UPDATE TRAN NAME(tranname) SET(CLASS(new_class_number)) |
Task | /DBDUMP command | Similar IMS type-2 command |
---|---|---|
Stops updates to a database. | /DBDUMP DB dbname | UPDATE DB NAME(dbname) STOP(UPDATES) OPTION(FEOV)1 |
1 This command does not automatically issue checkpoints unless OPTION(FEOV) is specified. |
Task | /DBRECOVERY command | Similar IMS type-2 command |
---|---|---|
Stops the accessing and updating of an area. | /DBRECOVERY AREA areaname | UPDATE AREA NAME(areaname) STOP(ACCESS) |
Stops the accessing and updating of all areas and databases of the data group. | /DBRECOVERY DATAGRP datagrpname | UPDATE DATAGRP NAME(datagrpname) STOP(ACCESS) |
Stops access to the database and take it offline. | /DBRECOVERY DB dbname | UPDATE DB NAME(dbname) STOP(ACCESS) OPTION(FEOV)1 |
1 This command does not automatically issue checkpoints unless OPTION(FEOV) is specified. |
Task | /DISPLAY AFFIN command | Similar IMS type-2 command |
---|---|---|
Displays TCP/IP generic resource affinities. | /DISPLAY AFFIN LINK links | QUERY MSLINK NAME(linkname | *) SHOW(AFFIN) |
Displays VTAM® generic resource affinities. | /DISPLAY AFFIN NODE node | QUERY NODE SHOW(AFFIN) |
Task | /DISPLAY AREA command | Similar IMS type-2 command |
---|---|---|
Displays information about an area. | /DISPLAY AREA | QUERY AREA |
Task | /DISPLAY ASMT command | Similar IMS type-2 command |
---|---|---|
Displays input and output components. | /DISPLAY ASMT LTERM ltermname | QUERY LTERM SHOW(COMPONENT) |
Displays the node associated with the lterm. | /DISPLAY ASMT LTERM ltermname | QUERY LTERM SHOW(NODE) |
Displays the user associated with the lterm. | /DISPLAY ASMT LTERM ltermname | QUERY LTERM SHOW(USER) |
Displays the attributes of an MSC logical link | /DISPLAY ASMT MSPLINK msplinkname | QUERY MSLINK SHOW(ALL) |
Displays the attributes of an MSC physical link | /DISPLAY ASMT MSPLINK msplinkname | QUERY MSPLINK SHOW(ALL) |
Displays assigned lterms. | /DISPLAY ASMT NODE node | QUERY NODE SHOW(LTERM) |
Displays the user associated with the node. | /DISPLAY ASMT NODE node | QUERY NODE SHOW(USER) |
Displays the other half-session qualifier ID of the ISC node. | /DISPLAY ASMT USER user | QUERY USER SHOW(ID) |
Displays assigned lterms. | /DISPLAY ASMT USER user | QUERY USER SHOW(LTERM) |
Displays the node. | /DISPLAY ASMT USER user | QUERY USER SHOW(NODE) |
QUERY USERID SHOW(NODE) | ||
Displays the user ID. | /DISPLAY ASMT USER user | QUERY USER SHOW(USERID) |
Displays the user. | /DISPLAY ASMT USER user | QUERY USERID SHOW(USER) |
Task | /DISPLAY CONV command | Similar IMS type-2 command |
---|---|---|
Displays nodes with active or held conversations. | /DISPLAY CONV | QUERY NODE STATUS(CONV) |
Displays users with active or held conversations. | /DISPLAY CONV | QUERY USER STATUS(CONV) |
Displays IMS conversation information for a particular node. | /DISPLAY CONV NODE node | QUERY NODE SHOW(CONV) |
Displays IMS conversation information for a particular user. | /DISPLAY CONV USER user | QUERY USER SHOW(CONV) |
Task | /DISPLAY DB command | Similar IMS type-2 command |
---|---|---|
Displays the status of a database. | /DISPLAY DB dbname1 ...dbnamen | ALL | QUERY DB |
Task | /DISPLAY DBD command | Similar IMS type-2 command |
---|---|---|
Displays the programs being accessed by databases. | /DISPLAY DBD dbdname | QUERY DB NAME(dbname) SHOW(PGM) |
Task | /DISPLAY LTERM command | Similar IMS type-2 command |
---|---|---|
Displays logical link path for remote lterms. | /DISPLAY LTERM ltermname | QUERY LTERM SHOW(MSNAME) |
Displays the lterm message queue count. | /DISPLAY LTERM ltermname | QUERY LTERM SHOW(QCNT) |
/DISPLAY LTERM ltermname QCNT | ||
Displays status of the lterm. | /DISPLAY LTERM ltermname | QUERY LTERM SHOW(STATUS) |
Displays queue count in the EMH queues. | /DISPLAY LTERM ltermname QCNT EMHQ | QUERY LTERM SHOW(EMHQ) |
Task | /DISPLAY MASTER command | Similar IMS type-2 command |
---|---|---|
Displays the primary and secondary master terminal. | /DISPLAY MASTER | QUERY LTERM STATUS(MTO,SMTO) |
Task | /DISPLAY MODIFY command | Similar IMS type-2 command |
---|---|---|
Displays work in progress for runtime resource definitions that would cause a DELETE, /MODIFY COMMIT, INITIATE OLC PHASE(COMMIT), or UPDATE command to change resource definitions to fail. | /DISPLAY MODIFY ALL | QUERY DB NAME(dbname) SHOW(WORK) |
QUERY PGM NAME(pgmname) SHOW(WORK) | ||
QUERY RTC NAME(rtcode) SHOW(WORK) | ||
QUERY TRAN NAME(tranname) SHOW(WORK) |
Task | /DISPLAY NODE command | Similar IMS type-2 command |
---|---|---|
Displays VTAM connection identifier (CID). | /DISPLAY NODE node | QUERY NODE SHOW(CID) |
Displays send/receive message counts. | /DISPLAY NODE node | QUERY NODE SHOW(COUNT) |
Displays preset destination. | /DISPLAY NODE node | QUERY NODE SHOW(PRESET) |
Displays queue count. | /DISPLAY NODE node | QUERY NODE SHOW(QCNT) |
/DISPLAY NODE node QCNT | ||
Displays status for a particular node. | /DISPLAY NODE node | QUERY NODE SHOW(STATUS) |
Displays terminal type. | /DISPLAY NODE node | QUERY NODE SHOW(TYPE) |
Displays user ID. | /DISPLAY NODE node | QUERY NODE SHOW(USERID) |
Displays user. | /DISPLAY NODE node | QUERY NODE SHOW(USER) |
Displays VTAM mode table names. | /DISPLAY NODE node MODE | QUERY NODE SHOW(MODETBL) |
Displays message queue count in the Expedited Message Handler (EMH) queues. | /DISPLAY NODE node QCNT EMHQ | QUERY NODE SHOW(EMHQ) |
Displays owner IMSID in RM resource structure. | /DISPLAY NODE node RECOVERY | QUERY NODE SHOW(OWNER) |
Displays status recovery information. | /DISPLAY NODE node RECOVERY | QUERY NODE SHOW(RECOVERY) |
Task | /DISPLAY PGM command | Similar IMS type-2 command |
---|---|---|
Displays information about a program. | /DISPLAY PGM pgmname | QRY PGM NAME(pgmname) SHOW(ALL) |
QUERY PGM NAME(pgmname) SHOW(TRAN) |
Task | /DISPLAY POOL command | Similar IMS type-2 command |
---|---|---|
Displays processor storage utilization statistics for OSAM and VSAM database buffer pools. | /DISPLAY POOL DBAS | QUERY POOL TYPE(DBAS) SHOW(STATISTICS) |
Task | /DISPLAY PSB command | Similar IMS type-2 command |
---|---|---|
Displays transactions, routing codes, and databases associated with a PSB. | /DISPLAY PSB psbname | QUERY PGM NAME(pgmname) SHOW(DB) |
QUERY PGM NAME(pgmname) SHOW(RTC) | ||
QUERY PGM NAME(pgmname) SHOW(TRAN) |
Task | /DISPLAY QCNT command | Similar IMS type-2 command |
---|---|---|
Displays lterms with messages that are older than the specified age (shared queues). | /DISPLAY QCNT LTERM MSGAGE x | QUERY LTERM MSGAGE(x) |
Task | /DISPLAY RTC command | Similar IMS type-2 command |
---|---|---|
Displays information about one or more Fast Path routing codes. | /DISPLAY RTC rtcname1...rtcnamen | ALL | QUERY RTC NAME(rtcname1,...rtcnamen | *) SHOW(ALL) |
Task | /DISPLAY STATUS command | Similar IMS type-2 command |
---|---|---|
Displays information about databases with the specified status. | /DISPLAY STATUS DB | QUERY DB STATUS(ALLOCF, ALLOCS,BACKOUT,EEQE, LOCK,NOTINIT,NOTOPEN, OFR,OLR,OPEN,RECALL,RECOV, RNL,STOSCHD,STOUPDS) |
Displays status. | /DISPLAY STATUS LTERM | QUERY LTERM SHOW(STATUS) |
Displays logical terminals with specified status. | /DISPLAY STATUS LTERM | QUERY LTERM STATUS(status) SHOW(STATUS) |
Displays nodes with specified status. | /DISPLAY STATUS NODE | QUERY NODE STATUS(status) |
Displays all programs that have status and what that status is. | /DISPLAY STATUS PGM | QUERY PGM STATUS(DB-NOTAVL, IOPREV,LOCK,NOTINIT, STOSCHD,TRACE) |
Displays all Fast Path routing codes that have status and what that status is. | /DISPLAY STATUS RTC | QUERY RTC STATUS(ACTIVE,NOTINIT, NOTSCHD,STOQ) |
Displays information about transactions with the specified status. | /DISPLAY STATUS TRANSACTION | QUERY TRAN NAME(tranname) STATUS (IOPREV,LCK,QERR,SUSPEND, STOQ,STOSCHD,USTO) |
Displays users with specified status. | /DISPLAY STATUS USER | QUERY USER STATUS(status) |
Task | /DISPLAY TRACE command | Similar IMS type-2 command |
---|---|---|
Displays nodes with trace status. | /DISPLAY TRACE NODE | QUERY NODE STATUS(TRACE) |
Task | /DISPLAY TRAN command | Similar IMS type-2 command |
---|---|---|
Displays information about a transaction. | /DISPLAY TRAN tranname | QUERY TRAN NAME(tranname) SHOW(ALL) |
Displays all of the transactions. | /DISPLAY TRAN ALL | QUERY TRAN SHOW(ALL) |
Displays all of the transactions on the shared queues with a global queue count. | /DISPLAY TRAN tranname QCNT | QUERY TRAN NAME(tranname) SHOW(QCNT) |
Task | /DISPLAY USER command | Similar IMS type-2 command |
---|---|---|
Displays preset destination. | /DISPLAY USER user | QUERY USER SHOW(PRESET) |
Displays node. | /DISPLAY USER user | QUERY USER SHOW(NODE) |
QUERY USERID SHOW(NODE) | ||
Displays status for a particular user. | /DISPLAY USER user | QUERY USER SHOW(STATUS) |
Displays user ID. | /DISPLAY USER user | QUERY USER SHOW(USERID) |
Displays status of a particular user ID. | /DISPLAY USER user | QUERY USERID SHOW(STATUS) |
Displays user. | /DISPLAY USER user | QUERY USERID SHOW(USER) |
Displays autologon parameters. | /DISPLAY USER user AUTOLOGON | QUERY USER SHOW(AUTOLOGON) |
Displays queue count. | /DISPLAY USER user | QUERY USER SHOW(QCNT) |
/DISPLAY USER user QCNT | ||
Displays message queue count in the Expedited Message Handler (EMH) queues. | /DISPLAY USER user QCNT EMHQ | QUERY USER SHOW(EMHQ) |
Displays status recovery information. | /DISPLAY USER user RECOVERY | QUERY USER SHOW(RECOVERY) |
Displays owner IMSID in RM resource structure. | /DISPLAY USER user RECOVERY | QUERY USER SHOW(OWNER) |
Task | /LOCK command | Similar IMS type-2 command |
---|---|---|
Stops the use of a database. | /LOCK DB dbname | UPDATE DB NAME(dbname) SET(LOCK(ON)) |
Locks a program. | /LOCK PGM pgmname | UPDATE PGM NAME(pgmname) SET(LOCK(ON)) |
Locks a transaction. | /LOCK TRAN tranname | UPDATE TRAN NAME(tranname) SET(LOCK(ON)) |
Task | /MSASSIGN command | Similar IMS type-2 command |
---|---|---|
Changes the transaction so that it is local and runs on the local system. | /MSASSIGN TRAN tranname TO LOCAL | UPDATE TRAN NAME(tranname) SET(REMOTE(N)) |
Changes the transaction so that it is remote, and assign it to a specific logical link path. | /MSASSIGN TRAN tranname TO MSNAME msname | UPDATE TRAN NAME(tranname) SET(MSNAME(name)) |
Task | /PSTOP command | Similar IMS type-2 command |
---|---|---|
Stops the scheduling of transactions. | /PSTOP TRAN tranname | UPDATE TRAN(tranname) START(Q) STOP(SCHD) |
Stops logons to the physical link (only for MSC VTAM links). | /PSTOP MSPLINK mplinkname | ALL | UPDATE MSPLINK NAME(msplinkname | *) STOP(LOGON) |
Task | /PURGE command | Similar IMS type-2 command |
---|---|---|
Stops input messages for a particular transaction code. | /PURGE TRAN tranname | UPDATE TRAN NAME(tranname) START(SCHD) STOP(Q) |
Task | /RDISPLAY command | Similar IMS type-2 command |
---|---|---|
Displays the primary and secondary master terminal. | /RDISPLAY MASTER | QUERY LTERM STATUS(MTO,SMTO) |
Task | /RSTART command | Similar IMS type-2 command |
---|---|---|
Resets MSC TCP/IP or VTAM links to enable logons. | /RSTART MSPLINK msplinkname | ALL | UPDATE MSPLINK NAME(msplinkname | *) START(LOGON) |
Task | /START AREA command | Similar IMS type-2 command |
---|---|---|
Starts the area. | /START AREA areaname | UPDATE AREA NAME(areaname) START(ACCESS) |
Task | /START DATAGRP command | Similar IMS type-2 command |
---|---|---|
Starts the data group. | /START DATAGRP datagrpname | UPDATE DATAGRP NAME(datagrpname) START(ACCESS) |
Task | /START DB command | Similar IMS type-2 command |
---|---|---|
Starts a database and change access intent of the database. | /START DB ACCESS | UPDATE DB START(ACCESS) SET(ACCTYPE()) |
Starts a database. | /START DB dbname | UPDATE DB NAME(dbname) START(ACCESS) |
Task | /START PGM command | Similar IMS type-2 command |
---|---|---|
Starts program scheduling. | /START PGM pgmname | UPDATE PGM NAME(pgmname) START(SCHD) |
Task | /START RTC command | Similar IMS type-2 command |
---|---|---|
Starts queuing to a Fast Path routing code. | /START RTC rtcname | UPDATE RTC NAME(rtcname) START(Q) |
Task | /START TRAN command | Similar IMS type-2 command |
---|---|---|
Starts a transaction. | /START TRAN | UPDATE TRAN NAME(tranname) START(Q,SCHD,SUSPEND) |
Task | /STOP AREA command | Similar IMS type-2 command |
---|---|---|
Stops an area. | /STOP AREA areaname | UPDATE AREA NAME(areaname) STOP(SCHD) |
Task | /STOP DATAGRP command | Similar IMS type-2 command |
---|---|---|
Stops a data group. | /STOP DATAGRP datagrpname | UPDATE DATAGRP NAME(datagrpname) STOP(SCHD) |
Task | /STOP DB command | Similar IMS type-2 command |
---|---|---|
Stops a database. | /STOP DB dbname | UPDATE DB NAME(dbname) STOP(SCHD) |
Task | /STOP PGM command | Similar IMS type-2 command |
---|---|---|
Stops program scheduling. | /STOP PGM pgmname | UPDATE PGM NAME(pgmname) STOP(SCHD) |
Task | /STOP RTC command | Similar IMS type-2 command |
---|---|---|
Stops queuing to a Fast Path routing code. | /STOP RTC rtcname | UPDATE RTC NAME(rtcname) STOP(Q) |
Task | /STOP TRAN command | Similar IMS type-2 command |
---|---|---|
Stops the queuing and scheduling of messages destined for a transaction. | /STOP TRAN tranname | UPDATE TRAN NAME(tranname) STOP(Q,SCHD) |
Task | /TRACE PGM command | Similar IMS type-2 command |
---|---|---|
Starts the tracing of a program. | /TRACE SET ON PGM pgmname | UPDATE PGM NAME(pgmname) START(TRACE) |
Stops the tracing of a program. | /TRACE SET OFF PGM pgmname | UPDATE PGM NAME(pgmname) STOP(TRACE) |
Task | /TRACE TRAN command | Similar IMS type-2 command |
---|---|---|
Starts the tracing of a transaction. | /TRACE SET ON TRAN tranname | UPDATE TRAN NAME(tranname) START(TRACE) |
Stops the tracing of a transaction. | /TRACE SET OFF TRAN tranname | UPDATE TRAN NAME(tranname) STOP(TRACE) |
Task | /UNLOCK DB command | Similar IMS type-2 command |
---|---|---|
Unlocks a database. | /UNLOCK DB dbname | UPDATE DB NAME(dbname) SET(LOCK(OFF)) |
Task | /UNLOCK PGM command | Similar IMS type-2 command |
---|---|---|
Unlocks a program. | /UNLOCK PGM pgmname | UPDATE PGM NAME(pgmname) SET(LOCK(OFF)) |
Task | /UNLOCK TRAN command | Similar IMS type-2 command |
---|---|---|
Unlocks a transaction. | /UNLOCK TRAN tranname | UPDATE TRAN NAME(tranname) SET(LOCK(OFF)) |