Customizing the IMS abend
search and notification email
You can customize the email notification that is sent,
adding a specific URL link, by modifying both the URLS and the SYSUT1
members.
You can access and modify the members by doing one of
the following:
Running the setup panel, which displays the customizable members
in sequence for editing.
Directly accessing the members in ISPF in the Runtime partitioned
data set using the names specified in the setup panel.
To create a link to be inserted into the SYSUT1 member, modify
the URLS member:
Procedure
Access the URLS member. The URLS member is the second member
in sequence from setup panel.
Insert the link using the following format:
*This is a new link
#NEWURL,#PARM=(value1,value2)
http://www.new.com/
A sample is shown in the figure below.
The
first line, which is preceded with an asterisk (*), is a comment line.
Following the comment line is the name of the link, preceded with
#. The name can be up to eight alphanumeric characters, including
the #. Following the link name is the URL link to be associated with
the name.
Optionally, you can specify a conditional
statement, by specifying #PARM=(value1,value2,...). Use the following
syntax:
Specify a comma after the name to separate the name and the conditional
statement.
Following the comma, specify a parameter that exists in your particular
customization, preceded with #.
Following the parameter, specify "=" or "!=" depending on if you
want to check for equality or inequality.
Following the "=" sign or "!=", specify one or a set of values
to be checked for the specified parameter, enclosed within parentheses.
A
value cannot exceed 20 characters.
If you have multiple URLs
with the same name, the foremost URL that satisfies the conditional
statement is mapped into the formatted email.
For equality,
if any of the value matches a part of the parameter's value, the conditional
statement is satisfied. For inequality, if none of the value matches
a part of the parameter's value, the conditional statement is satisfied.
This creates a link that can be inserted into the SYSUT1
member to become part of the IMS ASN
email
This link replaces any occurrence of the
link name that exists in the SYSUT1 member, if no PARM conditions
are specified or if the PARM conditions are satisfied. An example
of how to insert the name into the SYSUT1 member is in the figure
below.
To add a link in the email using the SYSUT1 member:
Access the SYSUT1 member. The SYSUT1 member is the third member
in sequence from the setup panel and follows the URLS member.
Scroll down to the text and HTML sections. These two sections
are marked by Content-Type: text/plain and Content-Type:
text/html, respectively.
Add the following text in the text section.
9. This is a new link
#NEWURL
Add the HTML syntax in the HTML section. You must follow HTML
syntax rules in the HTML section.
<li>
<a href="
#NEWURL
">This is a new link.
</a></li>
In the HTML section, the name of the link
#NEWURL must be on a line by itself.
This creates a link at the bottom of the list in each IMS ASN email.