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

Check wheather DATEA = (DATEB + 1), using DFSORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Cketha
Warnings : 1

New User


Joined: 19 May 2007
Posts: 22
Location: mumbai

PostPosted: Tue Mar 18, 2008 12:21 pm
Reply with quote

Hi,

I have i/p a file with two date fields DATEA and DATEB, CCYY-MM-DD format.
Wants to check wheather DATEA = (DATEB + 1), using sortcard
Is it possible? If yes How?
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Mar 18, 2008 9:13 pm
Reply with quote

DFSORT does not have any built-in functions for doing arithmetic on date fields.

If you show an example of your input records and what you want for output, and explain the limits for the dates (e.g. minimum possible date to maximum possible date), we might be able to help you. Also, give the RECFM and LRECL of the input file and the starting possition of each date field.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top