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 display a date along with subject

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
dipti85
Currently Banned

New User


Joined: 11 Jun 2009
Posts: 6
Location: chennai

PostPosted: Wed Jun 17, 2009 9:50 am    Post subject: To display a date along with subject
Reply with quote

Hi,

I am sending mail from mainframe. but in subject i just want to send date also so that it can display along with information that is mention in subject.

for example:-

subject:-HOST UPLOAD COUNT 06/17/2009

how we can do this?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jun 17, 2009 10:18 am    Post subject:
Reply with quote

Hello and welcome to the forum,

Suggest you post the e-mail step you are using and someone may have a suggestion.

There are multiple ways to get the system date and depending on your requirement, different suggestions might be offered.
Back to top
View user's profile Send private message
dipti85
Currently Banned

New User


Joined: 11 Jun 2009
Posts: 6
Location: chennai

PostPosted: Wed Jun 17, 2009 10:45 am    Post subject: To display a date along with subject
Reply with quote

Hi,

I am sending mail at step02 by using proc SCOIPXMT.

//STEP02 EXEC SCOIPXMT,
// MEMBER=MDC
//MAILREPT DD DSN=HDN.OUTPUT.DATE.FILE1,DISP=SHR
//SYSTSIN DD DSN=APPL.DEVL.PARMLIB(&MEMBER),DISP=SHR


APPL.DEVL.PARMLIB(MDC)
%XMITIP (SAINID@NISSAN-USA.COM) -
MSGDS 'KDS762U.HELLO.DIPTI'-
FILEDD MAILREPT -
SUBJECT 'HOST UPLOAD COUNT'

I want to send date along with that. so i need output in the below format:-

SUBJECT :-'HOST UPLOAD COUNT' 06/17/2009

I think this information is enough for you.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed Jun 17, 2009 10:59 am    Post subject: Reply to: To display a date along with subject
Reply with quote

why not build dynamically the SYSTSIN data so that it contains the data
search the forums for EZACSMF1

http://www.ibmmainframes.com/about25886.html
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 How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts SUBSTR for Date functions Shaheen Shaik DB2 4 Thu Apr 06, 2017 2:14 pm


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