Multiple Macro Dump Extraction Technique Used To Reduce Development Costs For Macro Formatters And Also Used As A Control Dataset Recovery Method
Publication Date: 2010-Nov-23
The IP.com Prior Art Database
Upon an IPL or system restart most applications will copy a control dataset with user settings and load it across areas in storage that are mapped by various macros. This publication documents that it is possible to create a utility that will implement a multiple macro dump extraction technique to re-build the application's control dataset. By doing so the utility provides a means to reduce costs for software developers and also provide a means to restore a customer's control dataset when it has been deleted or corrupted and no back-ups exists.
Page 01 of 6
Multiple Macro Dump Extraction Technique Used To Reduce Development Costs For Macro Formatters And Also Used As A Control Dataset Recovery Method .
The current method to retrieving user settings from storage is the following:
1) Use the IPCS utility to access data areas in a dump.
2) Check to see if the applications' development team has created the IPCS commands necessary to format all their various macros.
3) Identify the IPCS command for the specific macro that contains the user settings you want to review. Here is an example of what the command IP VERBX SMSDATA 'FORMAT(DATACLAS)' output looks like. The command formats the macro IGDDCD which contains all the various user settings in an SMS Data Class that pertain specifically to dataset attributes:
+000038 DCDUSER:IBMUSER DCDDATE:2008/01/24 DCDTIME:15:20 Data Class Description
+000058 DATA CLASS FOR A KSDS VSAM
+000094 KEYS(10 0)
+0000D0 DCDRCORG:01 DCDRECFM:00 DCDBLOCK
FLAG:00 DCDCNTL:03 +0000D4 DCDSPEC: 09900004 DCDKOFF:0000 DCDKLEN:0A
+0000DC DCDSPPRI:00000006 DCDSPSEC:00000001
+0000E4 DCDDIBLK:00000000 DCDAVREC:03 DCDREDUC:40
+0000EA DCDRBIAS:00 DCDAUNIT:00000000 DCDLRECL:00000085 +0000F8 DCDCISZ:00000000 DCDCIPCT:0000 DCDCAPCT:0000
+000100 DCDXSYS:00 DCDXREG:00 DCDVINDX:00 DCDCAMT:00
+000104 DCDVOLCT:0000 DCDDSNTY:0000 DCDEXPYR:0000
+00010A DCDEXPDY:0000 DCDCOMP:00 DCDMEDIA:00 DCDRECTE:00 +000110 DCDVSAM1:.... DCDSPEC2:06000000 DCDBWOTP:00
+000125 DCDLOGRC:00 DCDSPAND:00 DCDLOGLN:0000
+00012A DCDLOGID: DCDCT:00
4) Now that the IPCS command output is available, review the macro definition constants to understand exactly what each setting means. In the example above note the data field DCDRCORG. This data field represents the desired dataset organization. A setting of x'01' is not what the user specified. In order to know exactly what the user set, it is required to review the constants defined in macro IGDDCD. The macro definition will explain that a constant x'01' for DCDRCORG is the equivalent to KS. KS is the desired user setting for the record organization of data class DCKSDS. Here is display of the output from the user's interface ISMF for the same data class to review how different the formatted output is:
Page 02 of 6
Description : DATA CLASS FOR A KSDS VSAM
Recfm . . . . . . . . . :
Recorg . . . . . . . . . : KS
Reuse . . . . . . . . . . . : NO
Initial Load . . . . . . . . : RECOVERY
RLS CF Cache Value . . . . . : ALL
RLS Above the 2-GB Bar . . . : NO Extent Constraint Removal . : NO
Development may be conducted as follows:
A) Development creates IPCS commands for every macro they use.
B) Development updates these IPCS commands at every release level if the macro changes.
C) Development updates the IPCS command reference for each command.
D) Development updates logic manuals on how the macros definition have changed and detail all constants.
E) Any one outside of Development (i.e. - Level 2 Support)...