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

ISFROWS returns 0


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sakrat

Active User


Joined: 05 Feb 2014
Posts: 164
Location: India

PostPosted: Wed Apr 22, 2015 8:05 pm
Reply with quote

Garry Carroll wrote:
Assuming that you can get everything done up to the point of produucing the report, continue from....

Quote:
It checks for RC of the job submitted to make sure report is created.

Now the jcl names which the user selected from the ispf table will be founf one by one in the report and the details corresponding to the jcl will be moved to sstem variable and written into new file with comma separated.

Once all the jcls are found and written into the new file, it will be sent to the specific mail with csv format excel sheet. So that now the control m doc is created.


If your REXX builds the necessary DFSORT/SYNCSORT control cards to identify the 'jcl names' (jobnames?) that the user entered, the necessary control cards can be built by the REXX to be used in a sort step to extract the details from the report into a comma separated file. This comma separated file can be attached in MIME format to an email to be sent by z/OS SMTP server to whatever email address you (or the users) specify. This can all be achieved within the submitted job.

Garry.



you mean to add one more step in the job which is submitted for created the report and other for sending the mail... right...?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Apr 22, 2015 8:08 pm
Reply with quote

Yes, one more step to process the report and produce the .csv file and another step after that to send the mail with .csv file as an attachment.

Garry.
Back to top
View user's profile Send private message
sakrat

Active User


Joined: 05 Feb 2014
Posts: 164
Location: India

PostPosted: Wed Apr 22, 2015 8:14 pm
Reply with quote

Garry Carroll wrote:
Yes, one more step to process the report and produce the .csv file and another step after that to send the mail with .csv file as an attachment.

Garry.


Ok will try it out and then let you know. ... anyway thanks for helping me.. I learned a new concept sdsf in rexx and how can we use it... this topic was new learning to me..... icon_smile.gif
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 -> CLIST & REXX Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts Date insertion returns -180 CICS 1
No new posts attchmvs from rexx subroutine that re... CLIST & REXX 1
No new posts DFHRESPONSE returns issue CICS 3
No new posts GetObjectArrayElement returns NULL Java & MQSeries 2
No new posts LINK , START, ATI control returns CICS 9
Search our Forums:

Back to Top