T24: Getting Next Date from Frequency Field

1,247 views
Skip to first unread message

master

unread,
Jun 15, 2010, 3:02:00 AM6/15/10
to jBASE
T24 Version: R09
Application: STANDING.ORDER

Little background - many frequency fields in T24 are in the format
YYYYMMDDXXXXX where XXXXX is the frequency, e.g. 20100101M0101.

Using the subroutine CFQ gives the next date from a frequency string.

My question regards the new frequency format in T24:

Currently the frequency will be in the format: YYYYMMDD eXY eXM eXW
eXD e0F or something like that. e.g.
20090209 e0Y e1M e0W o9D e0F

Anyone knows how to calculate the next date from this? I tried
converting the above format to the old YYYYMMDDXXXXX format but the
old format does not support all the features of the new format. For
instance, in the new format, a user can specify '20100101 e0Y e0M e1W
o3D e0F' meaning '01 JAN 2010 Weekly on Wed'. Im having a hard time
translating that to a format usable by CFQ. In fact, I think CFQ
cannot handle this new format.

I'm sure someone somewhere has done this before :)

Thanx in advance

Harish Venugopal

unread,
Jun 15, 2010, 10:03:12 AM6/15/10
to jb...@googlegroups.com
I dont think your claim about CFQ not being able to handle the extended dates is correct. To the extent i have been working with T24, the CFQ API has been modified to handle the extended dates under the newly introduced process for recurrence pattern.
 
Hope this helps.
 
Harish


--
Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24

To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply all
Reply to author
Forward
0 new messages