Hi Senthil, If you just want to check ifs a working day or not , just use the standard T24 routine AWD ...output is H-holiday, W - Working or X- undefined (i.e Feb 30) so its easy ... :-)
Cheers... On Mon, Jan 19, 2009 at 6:05 PM, Mike Preece <[email protected]> wrote: > > Just for fun... > > SUBJECT=SUBJECT[1,22]:"en":SUBJECT[23,5] > > On Jan 16, 12:04 pm, "Senthil Kumaran" <[email protected]> > wrote: > > There is a field name called *EB.HOL.MTH.01.TABLE *TO* > > EB.HOL.MTH.12.TABLE* IN HOLIDAY table > > > > I wrote a Program to check whether the Date given is holiday or working > date > > using that above mention field... > > > > From the statement, i got the month for the entered date using *mont = > > DATE[5,2]* > > > > Next, I read the holiday application using the company code using the > code > > > > CALL F.READ(F.HOLIDAY,COMPANYCODE,RECORD.HOL,F.HOLIDAY,ERR.HOL) * > > CONSIDER I ASSIGNED ALL THE THINGS > > > > val = "*EB.HOL.MTH.":mont:".TABLE"* > > * *LIST = R.HOL<val*>* > > ** > > * * While debugging i got the error saying *Non- numeric value > is > > assigned* .. > > > > Whether we can concate the field with the value... > > > > I got ID of Holiday using concatation of Company code and > > current year . If that works and opened the holiday application, why the > > concatination on the field doesn't > > > > Cheers , > > Senthil > > > > ** > > > > ** > > ** > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
