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

Options to perform date field arithmetic


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Alexis Sebastian

New User


Joined: 04 Mar 2010
Posts: 38
Location: DC

PostPosted: Mon Nov 29, 2010 1:42 pm
Reply with quote

Frank,

This paper is really good.

I have tried one of the examples in the paper using DATE field arithmetic but could not get it. Below are the details about the version updated in my environment.

Code:
Z/OS DFSORT V1R5 - 08:00 ON MON NOV 29, 2010


Below are details from the DFSMSG,
Code:
ICE000I 0 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 08:00 ON MON NOV
           INREC OVERLAY=(11:1,8,Y4T,ADDDAYS,+50,TOGREG=Y4T,                   
                                 £                                             
ICE006A 0 OPERAND DEFINER ERROR                                                 
                          21:1,8,Y4T,SUBMONS,+7,TOGREG=Y4T,                     
                          £                                                     
ICE007A 0 SYNTAX ERROR                                                         
                          31:1,8,Y4T,ADDYEARS,+2,TOGREG=Y4T)                   
                          £                                                     
ICE007A 0 SYNTAX ERROR                                                         
           OUTFIL REMOVECC,                                                     
           HEADER1=('Input +50 days -7 months +2 years')                       


Could you please advise me whether i do have these options to perform date field arithmetic?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Nov 29, 2010 3:14 pm
Reply with quote

AFAIK, z/OS DFSORT V1R10 is used for z/OS 1.10-1.11. z/OS DFSORT V1R12 is used for z/OS 1.12. These are the only currently supported releases of DFSORT - so you seem to use an old version of DFSort and the error mesages clearly says, you don't have latest PTF to get those options working for you.

You should also look at the mesasge of type ICE201I, to determine which level of DFSORT functions you have available.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Nov 29, 2010 9:15 pm
Reply with quote

Hello,

When you have a question, please start a new topic for your question. Please do not ask for help as a reply to a "Sticky".

Your question has been split into a new topic.
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 Nov 30, 2010 12:47 am
Reply with quote

Alex,

z/OS DFSORT V1R5 is no longer supported, so the date arithmetic PTF is not available for that release. You should be using one of the supported releases - z/OS DFSORT V1R10 or z/OS DFSORT V1R12. The date arithmetic PTF is available for both of those releases.
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 Replacing 'YYMMDD' with date, varying... SYNCSORT 3
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 Need to convert date format DFSORT/ICETOOL 20
No new posts Need help to append a date&tsp at... DFSORT/ICETOOL 9
Search our Forums:

Back to Top