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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts How to get previous month in SYMNAMES Suganya87 SYNCSORT 9 Fri Oct 28, 2016 1:37 pm


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