Explore ProEd Our Offerings Why ProEd? Cool Mainframe Tips Our Customers Testimonials Resource Library

Cool Mainframe Tips

no image TIP-001
SDSF


If You want to rearrange the columns in SDSF-

  1. 1. Go to SDSF.
  2. 2. In command line type "arr ?".
  3. 3. This will bring the complete list of SDSF column names.
  4. You can move the columns using "/" and "//".

One column in the SDSF that we can bring to fron position in the MAX-RC (which usual is the last column in SDSF) which shows the completion code or the abend code for the job.

no image TIP-002
VSAM


If you want to make your VSAM data set read-only, use INHIBIT with ALTER command. E.g. ALTER XXX.XX.DATA INHIBIT ALTER XXX.XX.INDEX INHIBIT

no image TIP-003
JCL


If there is a situation, where you need to code more that 255 steps in a JOB, then you need to split jcl into two jcls, at the end of the first jcl check the condition code and initiate the second jcl.



no image TIP-004
DB2


How to select the duplicate rows from a table?
SELECT columns
FROM table
GROUP BY columns
HAVING COUNT(*) > 1

no image TIP-005
CICS


Use CALLs instead of LINKs in CICS
EXEC CICS LINK
- establishes a new run unit
- sets up environment
- Does CICS table-search
- For all this activities, it executes 1400 machine code instructions
CALL
- It executes around 12 machine code instructions
Just replacing EXEC CICS LINK with CALL statement on a case study, it was found that
Internal Transaction Response time improved 23 - 78 %
Total CPU Time improved 15 - 23 %
Dynamic storage use improved 11 - 30 %
* CALL used in the study is STATIC CALL . COBOL refered here is VS COBOL II

no image TIP-006
VSAM


REUSE & REPLACE parameters:

REUSE:

To specify REUSE parameter in DEFINE AIX  command on Base Cluster is very useful    

 REPLACE:

We should use REPLACE parameter in REPRO command only for new additions in Base Cluster    

Join ProEd Frame
ProEd Community
 
Contact Counselor
Name :
Email :
Location :
Contact No :
Topic :
Message :
Captcha :  
     
 
Useful Tags
Z/OS Jobs Training Server Z/OS CICS Mainframe professionals CLIST
Recent News
ProEd ties up with MIT, Aurangabad

ProEd Training Pvt Ltd, Bangalore and MIT, Aurangabad collaborates with each other towards prov....
06 February, 2012

ProEd Training Pvt Ltd Accreditation

The IAO has awarded Proed Training Pvt. Ltd accreditation status after in-depth evaluation of the educationa....
07 June, 2011

Community
community deepak
fresher
b.e fresher(2011)
read more
community SANJIB SINHA
I AM SANJIB SINHA, B.E. APPLIED ELECTRONICS AND INSTRUMENTATION ENGINEER
read more
Join the Conversation
community Visit ProEd Community
facebook ProEd on Facebook
twitter ProEd updates on Twitter
linkedin Join us on LinkedIn
youtube Our YouTube Channel
 
Contact ProEd
Contact Contact Head Office
facebook Contact ProEd Center
facebook Contact Overseas Office