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: 10231
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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


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