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: 10211
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 Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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