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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm


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