Regarding date comparision using dfsort urgent

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
paheli
Member
Posts: 6
Joined: Tue Jul 01, 2008 10:10 pm

Regarding date comparision using dfsort urgent

Post by paheli » Fri Jul 25, 2008 10:14 am

Hi,

i have a sort card where i am comparing one of my date field with system date
the code is

INCLUDE=(9,10,CH,LT,&DATE1(-)-6)

Then it work proper

where as
INCLUDE=(9,10,CH,LT,(&DATE1(-)-19,2,BI))

(19,2,CH) Is my field which is defined in layout and having the value '6' above
and in this case teh sort card is not working properly.

is it possible that we can substract a field from the &Date?

Please do the needful

thanks,

skolusu
Member
Posts: 43
Joined: Sat Jul 26, 2008 12:38 am

Post by skolusu » Wed Jul 30, 2008 1:38 am

paheli,

The current features of DFSORT does not support date calculations from within the records.
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

paheli
Member
Posts: 6
Joined: Tue Jul 01, 2008 10:10 pm

Post by paheli » Thu Jul 31, 2008 5:48 pm

thanks
:lol:

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others