Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
This topic is locked: you cannot edit posts or make replies. Get and display content of an address... lind sh CICS 1 Mon Aug 08, 2016 9:18 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us