IBM Mainframe VTAM APPN Commands

Home Up

 

 

VTAM APPN Commands

 

The following commands and operands are useful for APPN operation and

diagnostics. They are not complete. Please see VTAM Operation for a

complete list of options and the syntax.

 

APPN Operands for VTAM Modify Commands

 

Checkpoint the specified data set.

F NET,CHKPT TYPE=ALL | DIR | TOPO

 

Change ownership of network resources

F NET,DIRECTRY,UPDATE,ID=node CPNAME=new | (new,old), NETSRVR=server

Example: f vtam4,directry,update,id=aciqarte,cpname=sscp9,netsrvr=sscp4, must be issued from an LPAR where the directory

Already knows about the id=node

è  CNM04    F VTAM4,DIRECTRY,UPDATE,ID=CITSNS,CPNAME=SSCP9,NETSRVR=SSCP4

è  CNM04    IST097I  MODIFY   ACCEPTED                                  

è  CNM04    IST241I  F DIRECTRY COMMAND COMPLETE FOR NSIN.CITSNS         

 

Delete a resource from the directory database.

F NET,DIRECTRY,DELETE,ID=node

 

specifies tracing for the CP whose ID is node

F NET,TRACE,ID=node,TYPE= GPT | IO | BUF | STATE, IDTYPE=RESOURCE | SSCP | CP- CP, RESOURCE

.

specifies tracing for any resource with ID node. Starts tracing for adjacent CPs.

F NET,TRACE,ID=node,TYPE=STATE,OPTION=ADJCP

 

Change APPN-related parameters for a resource. Many other non-APPN related parameters can also be specified.

F NET,RESOURCE,ID=node SRCOUNT=number_searchs,SRTIMER=number_seconds,

SRCLEAR=YES,REGISTER=CDSERVR | NETSRVR | NO

 

Change the transmission group profile associated with a connection.

F NET,TGP,TGPNAME=profile, ID=adjlink_station| ID=cpname,TGN=tg_number

 

Delete a node from the topology database.

F NET,TOPO,ID=cpname TYPE=FORCE

 

Delete a transmission group from the topology database.

F NET,TOPO, ORIG=cpname,DEST=cpname, TGN=tg_number,TYPE=FORCE

 

Change start options.

F NET,VTAMOPTS (Table 4 on page 5).

 

 

APPN Operands for VTAM Vary Commands

 

Activate a connection and specify if it supports CP-CP sessions and HPR.

V NET,ACT,ID=adj_link_station | pu 2.1_nonswitched_line_name CPCP=YES | NO HPR=YES | NO

 

Activate a resource. IDTYPE indicates whether to activate the CP or if RESOURCE is specified whether to activate a CP and CDRM by that name if both exist.

V NET,ACT,ID=cdrsc IDTYPE=RESOURCE | CP

 

Activate a CDRM (SSCP) or a CDRM and CP (RESOURCE) and specify whether to allow CP-CP sessions with this CP over a VRTG connection.

V NET,ACT,ID=cdrmname IDTYPE=RESOURCE | SSCP VRTGCPCP=YES | NO

 

Inactivate a cdrsc. IDTYPE=CP specifies to inact only a CP by this name.

V NET,INACT,ID=cdrsc IDTYPE=CP

 

Deactivate a dependent LU requester.

V NET,INACT,ID=dlur

 

Deactivate a PU supported by a DLUR

V NET,INACT,ID=dlurpu

 

 

APPN Operands for VTAM Display Commands

 

Display the adjacent cluster routing tables used for APPN searches.

D NET,ADJCLUST NETID=destination network,SCOPE=ONLY | ALL

 

Display an adjacent CP and its connections. Note that a CP at the other end of an RTP connection is considered adjacent.

D NET,ADJCP,ID=adjacent_CP SCOPE=ONLY | ALL

 

Display border node class-of-service mapping.

D NET,BNCOSMAP NETID=destination network,SCOPE=ONLY | ALL

 

Display a resource in the directory. NSEARCH will cause a network (subarea and APPN) search to be performed returning all instances in the local domain and the first instance in another domain.

D NET,DIRECTRY,ID=resource SCOPE=ONLY | ALL | NSEARCH

 

Display a resource in any network. Default for MAX is the DSPLYDEF start option.

D NET,DIRECTRY,ID=*.resource MAX=number_to_display

 

Display dependent LU requesters that have a CPSVRMGR session with the host.

D NET,DLURS

 

Display a resource.

D NET,ID=resource IDTYPE=RESOURCE | CP | DIRECTRY, NETID=cdrsc_network, SCOPE=ONLY | ACT | ACTONLY | CONCT | INACT| INACTONLY | ALL  PENDING | RESET

 

Display a resource in any network.

D NET,ID=*.resource IDTYPE=RESOURCE | DIRECTRY, SCOPE=ONLY | ACT | ACTONLY | CONCT | INACT| INACTONLY | ALL | PENDING | RESET , MAX=1 | number_to_display

 

Display dynamic adjacent CPs.

D NET,ID=ISTADJCP,E

 

Display HPR RTP connections.

D NET,ID=ISTRTPMN,E

 

Display network node server.  Issued at end node or migration data host.

D NET,NETSRVR SCOPE=ALL | ONLY

 

Display resources whose names match a pattern. IDTYPE covers many more areas, only APPN types are listed here. Depending on the VTAM DSPLYWLD start option, wildcard values can be used for the resource name.

D NET,RSCLIST,ID=* | resource IDTYPE=* | ADJCPS | ADJCPSEG | TRLSEG,EXCLUDE=name or pattern, MAX=number_to_display, SCOPE=ALL | ACT | ACTONLY | CONCT | INACT| INACTONLY | PENDING | RESET

 

Display the subarea-to-APPN class-of-service mapping table.

D NET,SATOAPPN

 

Display transmission groupprofiles. MAX defaults to DSPLYDEF start option.

D NET,TGPS ID=tgprofile_name, MAX=number_to_display

 

Topology summary display

D NET,TOPO,LIST=SUMMARY.

 

Display topology for a specific node.

D NET,TOPO,ID=cpname LIST=ALL, APPNCOS=cos_name

 

Display topology for an adjacent node.

D NET,TOPO,ID=cpname, LIST=ADJ, APPNCOS=cos_name

 

Display topology for specific node types.

D NET,TOPO,LIST=BN | CDSERVR | EN | ICN | NN | VN, ID=cpname, APPNCOS=cos_name

 

Display topology for specific TGs. Specify the DEST or TGN or both

D NET,ORIG=cpname DEST=cpname, TGN=tgnumber, APPNCOS=cos_name

 

Display transport resource list. MAX defaults to DSPLYDEF start option.

D NET,TRL MAX=number_to_display,TRLE=trl_entry_name

 

Display VTAM start options. There are many options for FUNCTION. APPNCHAR is specifically for start options that affect APPN.

D NET,VTAMOPTS FORMAT=CURRENT | COMPLETE | MODIFIED,OPTION=* | vtam option, FUNCTION=APPNCHAR

 

Note: E is the abbreviation for SCOPE=ALL, N for SCOPE=ONLY. Many commands default to

SCOPE=ONLY. Specifying E will give much more information.

Order a book or two today - you can download an eBook today for only $1.99!

            

Just click on a book to learn more!