Skip to main content

Featured

Space Explorers Book 7: Answers and Explanations

Memunic Space Explorers › Book 7: Memoon and the Search for Another Home › Answers and Explanations Answers and Explanations Habitable means life could live there; inhabited means life does live there. A world can be habitable and empty, as an unoccupied flat has a roof and water but nobody in it. The Moon has almost no air, so water would boil or freeze, and its gravity is only about one-sixth of Earth’s, too weak to keep air. Accept also: no greenhouse blanket, so it swings between very hot and very cold. Venus. It matches Earth in size and roughly in mass, but its thick carbon dioxide air traps heat, making it hot and crushing. “Twin” is only true for size and weight. A dip of 1 per cent means (planet width divided by star width) squared is 0.01, so the ratio is 0.1: the planet is about a tenth as wide as the star. Repeats at the same gap show the planet is going round the star in 12 days, and rule out a one-time event such as a passing object. A planet shines only by reflected l...

Xref and Impact Analysis Tool for Mainframe Applications

As a mainframe programmer or designer, we would have done the impact analysis of changing a component (be it a copybook or a SYSIN card or a DB2 Table or a program or a JCL or so on), which we have to do a lot of times. For doing this we usually run SRCHFOR or PDSMAN scans to find out the cross reference of the modules in other components.
Say for example, we have to change a copybook, we search for all the cobol programs which use the copybook so as to see if a compile is required. Further we would be searching for these Cobol programs in the JCL and Proclib Libraries to see all the places where these programs are used. The process continues till we reach the end point of analysis.
Now this process takes a lot of efforts and time as a lot of time is wasted to run the searches and this also breaks the flow of analysis of the modules, which is the actual work of the programmer. To overcome this problem, I have built the Xref and Impact Analysis tool.

Tool Components and Modules:
The tool essentially has two major processes:
  • Xref Build Process which scans for cross references of the modules amongst the related components. This is the backend process which can be run periodically depending on the frequency of your application changes.
  • The Tool Interface which the programmer uses to find the cross references of any module and aids in the impact analysis process.
The tool consists of the following modules:
Rexx Programs:
  • XREFCBLD : Scans for Cross Reference between modules. Like Cross Reference of copybooks in Cobol Programs and Cobol Programs in Sysins and JCLs etc. The scans are done based on the definitions of source-target relationships in the Inrelf File.
  • XREFDBLD: Scans for cross references of DB2 tables and views in Application components. The DB2 tables and views used in application modules are gotten from the sysibm.systables with given qualifiers as mentioned in the INRELF files.
  • XREF: This is the Interface program, which the programmer uses for his impact analysis.  This screen presents to you the cross-reference data that has been built by the previously mentioned modules in a manner which aids you in your multi level impact analysis process. 

ISPPLIBs: XREFPNL1 and XREFPNL2

Parameter File: INRELF: This is the main driver file to build the Xref Databases. You mention The source libraries along with their relationship with the target libraries. This will be discussed in more details in the set up secion. A sample INRELF file is also present in the zip file.

All these modules are attached in the zip file below.


Set Up Process:
  • Place the rexx modules in your rexx library and the ISPF panels in your ISPPLIB library.
  • Set up Your Inrelf File. The structure of the inrelf File is as below:
Position 1 – 40 : Target Library. Target Library is the library whose modules may be referenced in the modules of the Source Library.
Position 41 – 50: Type of Target Library components. Basically below are the types for various kinds of components:
- Sysins: SYSN
- Copybooks: COPY
- JCLS: JCL
- Cobol Programs: COB
- JCL Procs: JPRO
- EZT Programs: EZT
- EZMaclibs: EZM
- DB2 tables and Views: DB2
Position 51 – 90: Source Library. It is the library whose members are scanned thru to find if they contain the names of the members of the Target library.
Position 91 – 100: Source Library Type.
Comments can be written starting with “—“ i.e two dashes or hyphens.
Excepting for the comments, the data records should be sorted based on Traget Library. i.e ideally all the records for the same target library should be placed together in the file.
  • Set the following variables in the init_Process routine of the XREFCBLD,XREFDBLD and XREF Rexx programs: hlq1, hlq2, hlq3, inrelf, "LIBDEF ISPPLIB".
  • Run the XREFCBLD and XREFDBLD commands which submits various scan jobs – one each for every Target Library in Inrelf File. Note that the execution of the command may take some time depending on the number of libraries defined as target and source libraries. The command goes inside each PDS and first cross verifies existence, finds number of members, builds scan member list etc before submitting the jobs. You can very well call these commands from a batch job scheduled in your scheduler.  The jobs will create the output XREF Data files with names “(hlq1).(hlq2).(jobname).(type).SCANRPT”. Please note that these jobs are restartable from the abending step in case they abend for some reason.
  • After all the jobs are done, You can go ahead and start using the tool using XREF command. The usage of the XREF command tool is explained below.

Tool User Guide:




Comments

  1. Where is the download link?

    ReplyDelete
  2. Its there in the blog buddy..the Box.net link

    ReplyDelete
  3. Sorry, but link not showing after 'All these modules are attached in the zip file below.' And tool user guide area is blank as well

    ReplyDelete
  4. Hi Atom Padhy.. It is an usefull tool.. The box link is not available now.. Could you please share the download link.. Thanks

    ReplyDelete
  5. I have been searching for a useful post like this on salesforce course details, it is highly helpful for me and I have a great experience with this Salesforce Training who are providing certification and job assistance. Salesforce job oriented training Gurgaon

    ReplyDelete
  6. I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. click here

    ReplyDelete

Post a Comment

Popular posts from this blog

CA-7 Job Status and Failure Reason Codes

Here are the various status codes that You may see for jobs in the Queue or Logs in CA-7. R-C0002 R-C0003 R-C0099 R-C0255 R-JCLER A-U0002 A-U0004 A-U0015 A-U0043 A-U4095 A-SOC7 A-U4000 Reason Code/Job Status Code explanation: The indication of the job's current disposition. Values and their meanings are: A-Snnnn-- The job has failed with a system abend. A-Unnnn --The job has failed with a user abend. C-Cnnnn --The job has completed successfully and is going through completion processing. E-ARFATT-- An error occurred during the attempt to attach ARF definitions. This can result if the ARFSET specified is not defined. A diagnostic message may have been written to the CA-7 log, the OS console, or to the trailer queue for the job (in which case it can be displayed using LQ,JOB=x,LIST=ALL). E-ARFERR ---The job encountered an error in the ARF processing. Do a LARFQ command for the job to get more specific information. E-SEGERR --The job has been requeued...

Installing and Configuring Hadoop on Ubuntu as a Pseudo Distributed Single Node Cluster

Briefly what is psuedo-distributed single node Hadoop cluster: It is a Hadoop distributed cluster having Single Node. All the five daemons (NN,DN,JT,TT,SNN) are running as individual JVM (java process) instances. We will get all distributed features of Hadoop. This mode is used to develop, test, and staging (before production) Map Reduce programs quickly. It writes all the system, daemon and user logs to different files on the cluster To install Hadoop in this mode, we have to modify the hadoop-env.sh, core-site.xml, hdfs-site.xml, mapred-site.xml. hadoop-env.sh contains all the Environment variables which are required for running Hadoop. All the default values are fine, Only we have to modify the JAVA_HOME=“The location of Java Home Directory” Core-site.xml contains all the cluster specific information like io, temp directory, sorting, file system uri etc. Hdfs-site.xml contains all the parameters which are specific to HDFS like name node directory, data node directory...

Whistling Winds and Waterfalls: 4 Days of Magic in Shillong

Nestled in the clouds, where the scent of pine trees mingles with the rhythm of waterfalls and the tunes of local guitar-strumming youth—Shillong is more than a place. It’s a vibe. If you’ve got 3 nights and 4 days, you’ve got just enough time to fall in love. Here’s how to make the most of it—food, fun, fog and fantastic views included. Day 1: Shillong, We’re Coming for You! You land in Guwahati, barely out of the airport when the hills start calling. You hop into your cab, Spotify on, windows down, and the three-hour ride to Shillong begins. Just when you think it can’t get better, you stop at Umiam Lake —a lake so calm, it looks like someone ironed the water. By evening, you’re sipping hot chai in Laitumkhrah, maybe nibbling on spicy momos or pork jadoh from a roadside stall. You’re checked into your charming hotel ( Tripura Castle if you fancy old-world royalty, Ri Kynjai if you’re into lakeside poetry). The breeze whispers secrets of waterfalls and pine forests. Sleep well, drea...