Sunday 11 March 2012

Mainframe - Tips

Change ID of Last Updated ID

1. Put "G" in front of member in PDS or PS you want to change the ID
2. Popup will occur in that, Remove your ID from it... Done.

To Repeat the Command More than One Time
1. Put  "&<<command>>" this will retain you command even after successful  execution.

Name the Screen
1. Put "Scrname <<Name of the scree>>"  in the command line
2. To retrieve the that screen <<Screen Name>> + PF9

Example Command Line>> Scrname job

to retrieve 
command Line>> job + press PF9  ..... done

To View the current use of PDS/PS
1. Put View command in front of PDS/PS
Lime

 Command ===>                                                 
                                                              
 Command - Enter "/" to select action                  Message
 --------------------------------------------------------------
    V     <<Data Set Name>>                                  
 ***************************** End of Data Set list ***********

it will say dataset use, then press PF1 twice to get the current user of the dataset.

HEXADECIMAL  View

1. Open the dataset  you want to view in HEX
 2. in command line put HEX ON

Command ===>  HEX ON

to make it normal View put HEX OFF in the command Line


Too create you own REXX library

if you want to execute your own REXX program in you mainframe session? yes you can do so by typing the
following command in the TSO session

1. Start  Goto Option 6 (command from Main ISPF screen)
2. then Type the following command

ALTLIB ACTIVATE APPLICATION(EXEC)  DA('<<your dataset name where you have your REXX program>>')

Done
then you can execute your REXX command in that mainframe session.

Note :- If you logout from the session then you have to do this process all over again to make you REXX work in that session.


To View the USER STATISTIC

1. Put SAREA in the command line to see the user statistic

Command ===>   SAREA

To View Clipboard Information

To view the Clipboard information

1. After Executing a valid CUT command
2. PUT CUT DISPLAY
3. from the popup scrren you can select to Browser or Edit clipboard information.