Sign In

Dz Challenge: Tips and Techniques Got a great tip or technique to share?
z & A > Dz Challenge: Tips and Techniques > Take the Dz Tips and Techniques CHALLENGE! View modes: 
User avatar
Guest
steven.styer@pnc.com - 4/6/2012 9:19:53 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
Some additional tips to make SWAPBAR more effective.
1) replace SPLIT on PF key assignments with START. Default Z/os settings will give you 8 screens to start.
2) use SCRNAME xxxxxxx with xxxxxx the name you want to lable the screen, this name will show on the swap bar.
Eventually I will create a REXX to display a box that will ask for a screen name, do the START, and the SCRNAME commands to save me some keystrokes.

3) For those not using point-n-shoot fields, SWAP LIST gives a pop-up box with all open screens. I assign this to F21 to be opposite the regular SWAP on F9.
4) To quickly exit from a split screen, I assign ';=x' to F15 (opposite F3 END). This will close the whole screen split at once.

User avatar
Guest
Stefan - 4/13/2012 2:55:25 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
I have developed a small REXX program which uses the new SWAPBAR command. It allows you to define your initial applications together with a meaningful screen name. It splits the screen as often as necessary, invokes the desired application, sets the screen name, swaps back to your initial screen and activates the SWAPBAR.
So this tool is designed for being used as an initial script which you normally invoke once a day.
Find my sourcecode here.

User avatar
Member
Member
jan - 3/26/2012 8:38:57 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
When working as a z/OS consultant, it comes in handy if you can execute your own Rexx execs. Without requesting a change to the LOGON procedure and without using the fully quoted dsname for every execution, I use the following small Rexx program LIBS:

/* Rexx to co-allocate a SYSEXEC file
*/
address "TSO"
"ALTLIB DISPLAY"
"ALLOC DD(SYSUEXEC) DSN('<your fully qualified Rexx dsname>') SHR REUSE"
"ALTLIB ACTIVATE USER(EXEC)"

exit

Behind PF13 I define:

tso exec '<your fully qualified Rexx dsname>(LIBS)'

User avatar
Member
Member
claudior - 3/26/2012 1:12:11 PM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
Some time ago a client asked me to upgrade one of his ISV products. Scenario was:

- a Sysplex with both production and development systems;
- production systems have separated sysres volumes, mater catalog and parmlib datasets from the development ones;
- differently from the majority of the ISV products installed, this specific one had a single load library, shared across all systems and not in linklist;
- product is heavily used by application and development users as well as by a lot of production jobs through STEPLIB;
- massive edit of users and production jobs has not been allowed by client;

Client wanted that upgrade first took place on development systems and only after 2 or 3 weeks production upgrade would be allowed.

Solution:
- lets assume that current version single product load library dsname is SYS2.PRODUCT.LINKLIB;
- on development systems, create a new and empty SYS2.PRODUCT.DEV.LINKLIB and copy all new version modules to it;
- on production systems, create a new and empty SYS2.PRODUCT.PROD.LINKLIB and copy current SYS2.PRODUCT.LINKLIB modules to it;
- add SYS2.PRODUCT.DEV.LINKLIB to all development systems linklist;
- add SYS2.PRODUCT.PROD.LINKLIB to all production systems linklist;
- delete all SYS2.PRODUCT.LINKLIB modules, making it an empty dataset. DO NOT DELETE IT !

That way, all users and production jobs will try to use the STEPLIB dataset but since it is empty they will also look for the linklist. Development systems will find new version modules and production ones will keep using previous product version.

At the time of the production systems upgrade you can just copy all new version modules to the already empty SYS2.PRODUCT.LINKLIB and them remove both SYS2.PRODUCT.DEV.LINKLIB and SYS2.PRODUCT.PROD.LINKLIB from their systems linklist.

User avatar
Member
Member
nhaley - 4/4/2012 10:56:05 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
Ever want a quick way to view/browse/edit a dataset member from anywhere in ISPF, use the EPDF command to browse/edit/view a dataset member.

For example.

Edit
EPDF 'SHARED.USERID.EXEC(@@LOGON)'

Browse
EPDF 'SHARED.USERID.EXEC(@@LOGON)' BROWSE

View
EPDF 'SHARED.USERID.EXEC(@@LOGON)' VIEW

User avatar
Member
Member
huntr1 - 4/5/2012 9:31:39 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
To get a good basic understanding of mainframes read the IBM Redbook - Introduction to the New Mainframe: z/OS Basics - http://www.redbooks.ibm.com/abstracts/sg246366.html

To be a z/OS Systems Programmer, refer to the IBM Redbooks, ABCs of z/OS Systems Programming Vols 1 to 13 -
http://www.redbooks.ibm.com/cgi-bin/searchsite.cgi?query=ABCs+AND+of+AND+z/OS+AND+System+AND+Programming

Highly recommended !

User avatar
Member
Member
sdstyer - 4/5/2012 11:11:37 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
Learn to customize your PF keys.
Some will like keylists for different assignments for each screen, but I prefer to keep the basics on every screen with very few exceptions.
The F1 through F12, I rarely change... I prefer 'start' to 'split'.
In F13 through F24, I like ';=x' to quick exit from a split screen, dslist, top, bottom, swap list, left m, right m, and retp (retrieve list) to help make navigation quick.

User avatar
Member
Member
zLalli - 4/6/2012 12:55:36 PM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
http://www-03.ibm.com/systems/z/?lnk=mhpr

http://www.ibmsystemsmag.com/mainframe/

User avatar
Member
Member
Krooc - 4/7/2012 11:08:21 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
Hey you all, Young and fresh meat here (turned 22 yesterday :))

I got tons of Tips and Tricks if anyone would like, I'll share on of the best I've yet to known:

ISPF Editor has tons of helpful tricks and tips. Need to filter some of text into another dataset or another member? View your file and use the Exclude command ("X string [location] all"), Then "Flip" Command to Exclude only the rest of the DS and "DELETE ALL X".

Another important tip: You can use the Replace command to save your dataset to another location while in view session. I'd advice you to always browse your datasets in View mode, and Save only with the Replace command. Don't know how? You can use "REPlace .ZF .ZL", Hit enter and then enter your desired dataset location.

plus, While coding I hate doing shifting. So I often use the line commands ")" and "(", that adds and remove two blank spaces in the beginning of the line. useful.

That's all for now. Hope I helped :)
Al.


User avatar
Guest
gilp - 4/10/2012 8:14:17 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
Create an equivalent to the windows "start bar" uner ISPF, showing all currently open ISPF screens and allowing you to swap between them using your mouse:

1. Use the KEYS command to change your SPLIT PFkey to START.
2. Issue the command "SWAPBAR ON" from any ISPF screen. The swap bar should appear in the bottom of the screen.
2.1 If SWAPBAR command is not available, try: TSO ISPTL
3. In PCOM menu, under Edit > Preferences > Hotspots, check ENTER at cursor position.

Now use the START PFkey to start new ISPF screens and swap between them by double-clicking the screen name in the swap bar at the bottom of the screen.

1 2 3 4