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

Requirement to capture Month, Year


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
V S Amarendra Reddy

Active User


Joined: 13 Sep 2006
Posts: 216
Location: USA

PostPosted: Fri May 11, 2007 8:26 pm
Reply with quote

I have a question regarding capturing the current month and year.

I have a requirement of capturing current month and year and a parm should be updated (In the format like MMMYYYY i.e For this month it should be updated like MAY2007 For next month it should be like JUN2007).

Currently it is getting done manually. My requirement is it to be automated.

Please don't suggest me to code a new program from scratch.

As the parm will be used as for appending as a last qualifier for the dataset to be identified as it is created in this month and is getting used as input in IEBGENER utility.

Amar icon_confused.gif
Back to top
View user's profile Send private message
rahulkolhe2003

New User


Joined: 06 Mar 2007
Posts: 12
Location: columbus

PostPosted: Sat May 12, 2007 12:20 am
Reply with quote

Please check this previous topic.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Sat May 12, 2007 1:38 am
Reply with quote

The topic posted by rahulkolhe2003 looks like it should give you a good starting point. You will, of course, have to create the logic to translate the two-digit numeric month value into the three-character alpha equivilent.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
No new posts Rexx to capture output from TSO HSEND... CLIST & REXX 9
No new posts How to extract the data for current y... DFSORT/ICETOOL 8
Search our Forums:

Back to Top