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.

Table 1. Type-2 equivalents for the /ASSIGN command
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))
Table 2. Type-2 equivalents for the /DBDUMP command
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.
Table 3. Type-2 equivalents for the /DBRECOVERY command
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.
Table 4. Type-2 equivalents for the /DISPLAY AFFIN command
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)
Table 5. Type-2 equivalents for the /DISPLAY AREA command
Task /DISPLAY AREA command Similar IMS type-2 command
Displays information about an area. /DISPLAY AREA QUERY AREA
Table 6. Type-2 equivalents for the /DISPLAY ASMT command
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)
Table 7. Type-2 equivalents for the /DISPLAY CONV command
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)
Table 8. Type-2 equivalents for the /DISPLAY DB command
Task /DISPLAY DB command Similar IMS type-2 command
Displays the status of a database. /DISPLAY DB dbname1 ...dbnamen | ALL QUERY DB
Table 9. Type-2 equivalents for the /DISPLAY DBD command
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)
Table 10. Type-2 equivalents for the /DISPLAY LTERM command
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)
Table 11. Type-2 equivalents for the /DISPLAY MASTER command
Task /DISPLAY MASTER command Similar IMS type-2 command
Displays the primary and secondary master terminal. /DISPLAY MASTER QUERY LTERM STATUS(MTO,SMTO)
Table 12. Type-2 equivalents for the /DISPLAY MODIFY command
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)
Table 13. Type-2 equivalents for the /DISPLAY NODE command
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)
Table 14. Type-2 equivalents for the /DISPLAY PGM command
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)
Table 15. Type-2 equivalents for the /DISPLAY POOL command
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)
Table 16. Type-2 equivalents for the /DISPLAY PSB command
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)
Table 17. Type-2 equivalents for the /DISPLAY QCNT command
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)
Table 18. Type-2 equivalents for the /DISPLAY RTC command
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)
Table 19. Type-2 equivalents for the /DISPLAY STATUS command
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)
Table 20. Type-2 equivalents for the /DISPLAY TRACE command
Task /DISPLAY TRACE command Similar IMS type-2 command
Displays nodes with trace status. /DISPLAY TRACE NODE QUERY NODE STATUS(TRACE)
Table 21. Type-2 equivalents for the /DISPLAY TRAN command
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)
Table 22. Type-2 equivalents for the /DISPLAY USER command
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)
Table 23. Type-2 equivalents for the /LOCK command
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))
Table 24. Type-2 equivalents for the /MSASSIGN command
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))
Table 25. Type-2 equivalents for the /PSTOP command
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)
Table 26. Type-2 equivalents for the /PURGE command
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)
Table 27. Type-2 equivalents for the /RDISPLAY command
Task /RDISPLAY command Similar IMS type-2 command
Displays the primary and secondary master terminal. /RDISPLAY MASTER QUERY LTERM STATUS(MTO,SMTO)
Table 28. Type-2 equivalents for the /RSTART command
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)
Table 29. Type-2 equivalents for the /START AREA command
Task /START AREA command Similar IMS type-2 command
Starts the area. /START AREA areaname UPDATE AREA NAME(areaname) START(ACCESS)
Table 30. Type-2 equivalents for the /START DATAGRP command
Task /START DATAGRP command Similar IMS type-2 command
Starts the data group. /START DATAGRP datagrpname UPDATE DATAGRP NAME(datagrpname) START(ACCESS)
Table 31. Type-2 equivalents for the /START DB command
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)
Table 32. Type-2 equivalents for the /START PGM command
Task /START PGM command Similar IMS type-2 command
Starts program scheduling. /START PGM pgmname UPDATE PGM NAME(pgmname) START(SCHD)
Table 33. Type-2 equivalents for the /START RTC command
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)
Table 34. Type-2 equivalents for the /START TRAN command
Task /START TRAN command Similar IMS type-2 command
Starts a transaction. /START TRAN UPDATE TRAN NAME(tranname) START(Q,SCHD,SUSPEND)
Table 35. Type-2 equivalents for the /STOP AREA command
Task /STOP AREA command Similar IMS type-2 command
Stops an area. /STOP AREA areaname UPDATE AREA NAME(areaname) STOP(SCHD)
Table 36. Type-2 equivalents for the /STOP DATAGRP command
Task /STOP DATAGRP command Similar IMS type-2 command
Stops a data group. /STOP DATAGRP datagrpname UPDATE DATAGRP NAME(datagrpname) STOP(SCHD)
Table 37. Type-2 equivalents for the /STOP DB command
Task /STOP DB command Similar IMS type-2 command
Stops a database. /STOP DB dbname UPDATE DB NAME(dbname) STOP(SCHD)
Table 38. Type-2 equivalents for the /STOP PGM command
Task /STOP PGM command Similar IMS type-2 command
Stops program scheduling. /STOP PGM pgmname UPDATE PGM NAME(pgmname) STOP(SCHD)
Table 39. Type-2 equivalents for the /STOP RTC command
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)
Table 40. Type-2 equivalents for the /STOP TRAN command
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)
Table 41. Type-2 equivalents for the /TRACE PGM command
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)
Table 42. Type-2 equivalents for the /TRACE TRAN command
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)
Table 43. Type-2 equivalents for the /UNLOCK DB command
Task /UNLOCK DB command Similar IMS type-2 command
Unlocks a database. /UNLOCK DB dbname UPDATE DB NAME(dbname) SET(LOCK(OFF))
Table 44. Type-2 equivalents for the /UNLOCK PGM command
Task /UNLOCK PGM command Similar IMS type-2 command
Unlocks a program. /UNLOCK PGM pgmname UPDATE PGM NAME(pgmname) SET(LOCK(OFF))
Table 45. Type-2 equivalents for the /UNLOCK TRAN command
Task /UNLOCK TRAN command Similar IMS type-2 command
Unlocks a transaction. /UNLOCK TRAN tranname UPDATE TRAN NAME(tranname) SET(LOCK(OFF))