The ASN command defines, deletes or displays logical-device assignments. Logical-device assignments associate logical names with physical devices, pseudo devices or other logical devices. When a user assigns a logical name to a pseudo or logical device, the system immediately resolves the assignment to the associated physical device. Logical-device names have the same syntax as physical device names (i.e. DDnn:). The 2-character name can either be equivalent to a standard physical device name, or can be any two letters. When a task is installed, or the system processes an Assign LUN directive, the system scans the logical device table before the physical device table so the user may define logical names that are identical to physical names but which reference another device. The logical name will take preference. The general format of the ASN command is: ASN [PPnn:] [=] [LLnn:] [/Keyword][/Keyword] Where: PPnn is the physical device name LLnn is the logical device name keyword is one of /GBL, /LOGIN, /TERM=TTnn: Further information is given in the sub-categories TYPES and EXAMPLES. 2 TYPES There are three types of logical-device assignments, Global, Local and Login:- Global assignments apply to all tasks running in the system. They are defined/listed/deleted if the /GBL keyword is specified. Local assignments apply only to tasks initiated from the terminal used to make the assignments. They are defined/listed/deleted if no keyword is specified. Login asignments apply only to tasks initiated from the terminal used to make the assignments while the current user is logged in. They are defined/listed/deleted if the /LOGIN keyword is specified. Local assignments take precedence over both login and global assignments. Login assignments take precedence over global assignments. 2 EXAMPLES Local Assign operations: ASN ppn:=llnn: ASN ppn:=llnn:/TERM=TTn: Login Assign operations: ASN ppn:=llnn:/LOGIN ASN ppn:=llnn:/LOGIN/TERM=TTnn: Global Assign operation: ASN ppn:=llnn:/GBL Local & Login Display operations: ASN ASN /TERM=TTn: Global Display operations: ASN /GBL Local Delete operations: ASN = ASN =llnn: ASN =/TERM=TTn: ASN =llnn:/TERM=TTn: Login Delete operations: ASN =/LOGIN ASN =/LOGIN/TERM=TTnn: ASN =/LOGIN/TERM=TTn: ASN =llnn:/LOGIN/TERM=TTn: Global Delete operations: ASN =/GBL ASN =llnn:/GBL