IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To display a date along with subject


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Jun 17, 2009 10:18 am
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Jun 17, 2009 10:59 am
Reply with quote

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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Need help to append a date&tsp at... DFSORT/ICETOOL 9
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
Search our Forums:

Back to Top