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
 

 

Options to perform date field arithmetic

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Options to perform date field arithmetic
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

Senior Member


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

PostPosted: Mon Nov 29, 2010 3:14 pm    Post subject:
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

Site Director


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

PostPosted: Mon Nov 29, 2010 9:15 pm    Post subject:
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 Moderator


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

PostPosted: Tue Nov 30, 2010 12:47 am    Post subject:
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    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 INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 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


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