Go to LeighWeb Home Page            

Back To LeighWeb Mainframe Utilities Page

View the module associated with this documentation

 SYNCVARS is a utility which takes the value of a specific profile
 variable in ISPF profile currently being used, and propagates its value
 in all your ISPF profiles for you.  SYNCVARS can also take input of a
 file which contains a list of variable names (one per record in the
 file) or can be called from another REXX exec which has put a list of
 variable names into the data stack with the QUEUE or PUSH facility.

 A common use for such a utility is to syncronize certain PF key
 settings in every profile.  Type the following on the command
 (or option) line:

 COMMAND ===> tso syncvars

 At which point the following screen would come up:

 +------------------------------------------------------------------+
 | ---- Syncronize ISPF Profile Pool Variables Across Profiles ---- |
 | COMMAND ==>                                                      |
 |                                                                  |
 | Variable Name ==>                                                |
 |                                                                  |
 |           OR                                                     |
 |                                                                  |
 | Dataset Name  ==>                                                |
 |                                                                  |
 |           END to quit or ENTER to process your request           |
 +------------------------------------------------------------------+

 On this screen, type the name of the variable which you want to
 syncronize across environments and press ENTER.

 FOR EXAMPLE: If you have PF24 set to some command and you want PF24
 to look the same in all your ISPF profiles, you would type the
 following on the command (or option) line:

 COMMAND ===> tso syncvars

 At which point the following screen would come up.  Enter the data
 "ZPF24" as the variable name (the letter "Z" is needed at the
 beginning of the PFkey).

 +------------------------------------------------------------------+
 | ---- Syncronize ISPF Profile Pool Variables Across Profiles ---- |
 | COMMAND ==>                                                      |
 |                                                                  |
 | Variable Name ==> zpf24                                          |
 |                                                                  |
 |           OR                                                     |
 |                                                                  |
 | Dataset Name  ==>                                                |
 |                                                                  |
 |           END to quit or ENTER to process your request           |
 +------------------------------------------------------------------+

 Press ENTER.  You will receive messages indicating your various
 profiles are being synchronized.

 If you have many variable to syncronize, put them in a dataset with one
 variable name per line like:

 PJOBSUFF
 UTILNAME
 BINNM
 CCNTR
 QBRN1

 Then, on the screen, you can use the dataset name field instead and it
 will use your dataset as input and syncronize all the variables in the
 dataset.