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
 

 

How to validate month of current date in the sort card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
diwakaraprasad.sadagopan

New User


Joined: 14 Jun 2010
Posts: 1
Location: Chennai

PostPosted: Tue Aug 31, 2010 11:50 am    Post subject: How to validate month of current date in the sort card
Reply with quote

Hi Friends,

Need your help for one query. We have a Job which runs monthly and need to introduce a new sort card which has to copy data from input to output on some condition only in the month of september. For all other months empty file will be created.

Input file: 200 FB
Output :200 FB

Is there validation can be done on DATE field for checking the month in the include condition?

Please help!!!!
Back to top
View user's profile Send private message

sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 578
Location: USA

PostPosted: Tue Aug 31, 2010 7:27 pm    Post subject:
Reply with quote

Diwakaraprasad,
Quote:
We have a Job which runs monthly and need to introduce a new sort card which has to copy data from input to output on some condition only in the month of september.

Please define your conditions for copying data from input to output. Please show some example of the input and your expected output. What is the position of the DATE field and date format (ccyy-mm-dd or ccyy/mm/dd etc.) in your input file?

Thanks.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am


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