Pass a bunch of VTAM commands from Netmaster
search cancel

Pass a bunch of VTAM commands from Netmaster

book

Article ID: 269398

calendar_today

Updated On:

Products

NetMaster Network Management for TCP/IP

Issue/Introduction

Is it possible to build a file that would issue multiple V NET,INACT and V NET,ACT commands that would be executed by NetMaster from say the Operator interface?

Environment

Release : 12.2

Resolution

You can use NCL to accomplish your request.

I created a short NCL to ACT two non-existing lus.



BROWSE    <hlq>.TESTEXEC(AAAVTAM) - 01.01 Line 000
 Command ===>                                               
********************************* Top of Data **************
&WRITE LOG=YES TERM=NO  DATA=USERID TEST RUN FROM PROCESS  
V NET,ID=LU1,SCOPE=ALL                                  
V NET,ID=LU2,SCOPE=ALL                                  
******************************** Bottom of Data ************



+START AAAvtam                                                        
USERID TEST RUN FROM PROCESS                                          
+V NET,ACT,ID=LU1,SCOPE=ALL                                          
+V NET,ACT,ID=LU2,SCOPE=ALL                                          
N03906 START AAAVTAM PROCESSING COMPLETE. NCLID 017759                
 IST097I  VARY     ACCEPTED                                             
 IST097I  VARY     ACCEPTED                                             
RSDBMS06 LU1 NOT FOUND                                              
IST116I  MEMBER LU1    NOT FOUND ON VTAM DEFINITION LIBRARY        
IST061I  VARY ACT   FOR LU1             FAILED - NODE UNKNOWN TO VTAM
IST116I  MEMBER LU2    NOT FOUND ON VTAM DEFINITION LIBRARY        
IST061I  VARY ACT   FOR LU2             FAILED - NODE UNKNOWN TO VTAM
RSDBMS06 LU2 NOT FOUND                  



When you make changes to the proc you need to UNLOAD the proc out of storage.

Issued                             

unload proc=aaavtam              
N14901 PROCEDURE AAAVTAM  UNLOADED

 

You can find the NCL guides in the shared content folder.

The NCL Reference.

The NCL Programming Guide.