Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
To bold the content of the dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ayappanb
Warnings : 1

New User


Joined: 22 Feb 2007
Posts: 24
Location: Chennai

PostPosted: Mon Nov 12, 2007 4:25 pm    Post subject: To bold the content of the dataset
Reply with quote

Hi,

I am automatically generating an EMAIL. My request is that in the mail content i need to bold some sentence.

for e.g. the content is

Todays defect

Cycle date: 04/11/2007
Defect identified: 044345
Defect identified: 664533

The output should be

Todays defect

Cycle date: 04/11/2007
Defect identified: 044345
Defect identified: 664533


Th date(04/11/2007) and 'Defect identified' shoud be bold.

The content is present in different data set. cycle date is in one and next two lines in another.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Nov 12, 2007 4:31 pm    Post subject:
Reply with quote

Unless you generate your email as HTML or RTF, I think you can't change a dataset content/caracteristics.

O.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Mon Nov 12, 2007 4:45 pm    Post subject: Reply to: To bold the content of the dataset
Reply with quote

ayappan,

Yes, as pointed out by ofer you need to generate the EMAIL as HTML.

You need to add HTML tags in the required places in the dataset and then attach it as an HTML.

BTW, which utility are you using for generating e-mails?
Back to top
View user's profile Send private message
ayappanb
Warnings : 1

New User


Joined: 22 Feb 2007
Posts: 24
Location: Chennai

PostPosted: Tue Nov 13, 2007 11:58 am    Post subject: Reply to: To bold the content of the dataset
Reply with quote

I am executing one module to generate the email step.
How will I code in HTML? Just give me an example....
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Nov 13, 2007 12:29 pm    Post subject: Reply to: To bold the content of the dataset
Reply with quote

ayappan,

Quote:
How will I code in HTML? Just give me an example....



Try this if you are familiar with REXX. Say you have a dataset A to be mailed. You will have to do the following.

1) Read the dataset A into a stem variable.
2) Add all the required HTML tags in the dataset by adding suitable logic.

After adding the tags your dataset should look like this.

Code:
<html>

 

<body>

 

<para>

Todays &nbsp; defect <br>

 

Cycle &nbsp; date: &nbsp; <b> 04/11/2007 </b> <br>

<b>Defect &nbsp; identified: </b> &nbsp; 044345<br>

<b>Defect &nbsp; identified: </b>  &nbsp; 664533 <br>

</para>

 

</body>


 

</html>


Attach this new dataset (after adding these tage) as a HTML file in the email JCL so that the report would be emailed as a HTML file.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us