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 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: 10327
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 the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts Validate the Date girishb2 DFSORT/ICETOOL 9 Tue Sep 19, 2017 1:12 am
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm

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