From owner-sqr-users@list.iex.net Mon Jan 5 12:09:08 1998 Date: Mon, 5 Jan 1998 11:42:53 +0000 From: David Stanley SICAS Center Subject: INTERACTIVE AND BATCH modes Hi... I'm working with an Alpha with VMS 6.1 with SQR 3.12... The problem I'm having is this: I would like to call the system to retrieve the F$MODE() status to find if the env is "Ineractive or Batch". I've played around with this a bit and seam to be getting puzzled. Has anyone else worked thru this??? My code so far goes as follows: let $system_call = 'IF F$MODE() .NES. 'BATCH' THEN MODE_TEST:="INTERACTIVE" ' call system using $system_call #status let $mode = getenv('MODE_TEST') .. .. .. I've also tried let $system_call = 'MODE_TEST:=F$MODE()' The main issue is that the SYMBOL MODE_TEST doesn't seam to be getting assigned. I've debuged the code to see what's getting what and everything appears to be fine. Thanx for any input in advance David Stanley Lead Programmer SICAS Center SUNY Oneonta If you take a shovel and start digging, you will eventaully be standing in a hole. stanledd@oneonta.edu http://www.oneonta.edu/~stanledd/ From owner-sqr-users@list.iex.net Mon Jan 5 15:01:53 1998 Date: Mon, 5 Jan 1998 11:26:28 -0700 From: Robert Goshko Subject: Re: INTERACTIVE AND BATCH modes ------ =_NextPart_000_01BD19CC.F6C26640 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable My guess David, is that when you execute your CALL SYSTEM command, you = are envoking a secondary command shell and once this shell exits (when = control is returned to SQR) the secondary environment with you variable = get blown away and when you do the GETENV, you are querying the primary = command shell, which never had the environment variable MODE_TEST. Have you tried to set the MODE_TEST environment variable within your = default environment profile so that it is set all the time? (I'm no VMS = guru, but I have had this problem on other platforms). Later... Rob ----------------------------------------------------------- Through the NIC... Over the twisted pair...=20 Off the Router... >>SWISH<<... Nothing but NET! -------------------+-------------------+------------------- Robert Goshko | rgoshko@ibm.net | (403) 417-AXIS Axis Developments | | Sherwood Park, AB -----Original Message----- From: David Stanley SICAS Center [SMTP:stanledd@SNYONEVA.CC.ONEONTA.EDU] Sent: Monday, January 05, 1998 4:43 AM To: Multiple recipients of list SQR-USERS Subject: INTERACTIVE AND BATCH modes Hi... I'm working with an Alpha with VMS 6.1 with SQR 3.12... The problem I'm having is this: I would like to call the system to retrieve the F$MODE() status to find if the env is "Ineractive or Batch". I've played around with this a bit and seam to be getting puzzled. Has anyone else worked thru this??? My code so far goes as follows: let $system_call =3D 'IF F$MODE() .NES. 'BATCH' THEN MODE_TEST:=3D"INTERACTIVE" ' call system using $system_call #status let $mode =3D getenv('MODE_TEST') .. .. .. I've also tried let $system_call =3D 'MODE_TEST:=3DF$MODE()' The main issue is that the SYMBOL MODE_TEST doesn't seam to be getting assigned. I've debuged the code to see what's getting what and everything appears to be fine. Thanx for any input in advance David Stanley Lead Programmer SICAS Center SUNY Oneonta If you take a shovel and start digging, you will eventaully be standing = in a hole. stanledd@oneonta.edu http://www.oneonta.edu/~stanledd/ ------ =_NextPart_000_01BD19CC.F6C26640 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IjYSAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEkAYAkAEAAAEAAAAQAAAAAwAAMAIAAAAL AA8OAAAAAAIB/w8BAAAAQQAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAFNRUi1VU0VSU0BVU0Eu TkVUAFNNVFAAU1FSLVVTRVJTQFVTQS5ORVQAAAAAHgACMAEAAAAFAAAAU01UUAAAAAAeAAMwAQAA ABIAAABTUVItVVNFUlNAVVNBLk5FVAAAAAMAFQwBAAAAAwD+DwYAAAAeAAEwAQAAABQAAAAnU1FS LVVTRVJTQFVTQS5ORVQnAAIBCzABAAAAFwAAAFNNVFA6U1FSLVVTRVJTQFVTQS5ORVQAAAMAADkA AAAACwBAOgEAAAAeAPZfAQAAABIAAABTUVItVVNFUlNAVVNBLk5FVAAAAAIB918BAAAAQQAAAAAA AACBKx+kvqMQGZ1uAN0BD1QCAAAAAFNRUi1V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FAAABAAAABAAAADguMAAD ACaACCAGAAAAAADAAAAAAAAARgAAAAABhQAAAAAAAAsAL4AIIAYAAAAAAMAAAAAAAABGAAAAAA6F AAAAAAAAAwAwgAggBgAAAAAAwAAAAAAAAEYAAAAAEYUAAAAAAAADADKACCAGAAAAAADAAAAAAAAA RgAAAAAYhQAAAAAAAB4AQYAIIAYAAAAAAMAAAAAAAABGAAAAADaFAAABAAAAAQAAAAAAAAAeAEKA CCAGAAAAAADAAAAAAAAARgAAAAA3hQAAAQAAAAEAAAAAAAAAHgBDgAggBgAAAAAAwAAAAAAAAEYA AAAAOIUAAAEAAAABAAAAAAAAAB4APQABAAAABQAAAFJFOiAAAAAAAwANNP03AACQqw== ------ =_NextPart_000_01BD19CC.F6C26640-- From owner-sqr-users@list.iex.net Mon Jan 5 17:18:08 1998 Date: Mon, 5 Jan 1998 13:54:46 PST From: Bill Bowers Subject: Help with SQL I am running the following sql within an sqr and it runs, and runs and runs. Anybody (familiar with PeopleSoft) have any ideas? select c.deptid, q.union_cd, b.pay_end_dt, b.erncd sum(b.oth_hrs), sum(b.oth_pay) from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' and b.company = c.company and b.paygroup = c.paygroup and b.pay_end_dt = c.pay_end_dt and b.page# = c.page# and b.line# = c.line# and b.addl# = c.addl# group by c.deptid, q.union_cd, b.pay_end_dt, b.Erncd Thanks in advance Bill Bowers St. Peters Hospital Olympia, Washington (360) 393-5437 From owner-sqr-users@list.iex.net Mon Jan 5 17:27:12 1998 Date: Mon, 5 Jan 1998 14:06:48 -0800 From: Vicki Lo Subject: To print the Trade Mark symbol Hello everyone! Is there a trick to use SQR to print the Trade Mark symbol (an R in the circle)? I did "encode <174> into $trade_mark" to get the symbol. When I did a "display", I can see it is printed perfectly, however, when I do a "print", Just a space is printed. Do we need to do something special to print the symbols? Victoria Lo Email address: VICKIL@remedystaff.com From owner-sqr-users@list.iex.net Mon Jan 5 17:34:17 1998 Date: Mon, 5 Jan 1998 16:16:40 -0600 From: Samantha Huffstetler Subject: Landscape Legal Output Has anyone done any reports using legal paper? I need to create a report on legal paper with landscape orientation. I have tried changing the paper size parameters to (11,14) but the document created is still letter size. Any suggestions would be appreciated. Thanks- Sam From owner-sqr-users@list.iex.net Mon Jan 5 17:35:32 1998 Date: Mon, 5 Jan 1998 15:22:08 -0700 From: "Johnson, Kate" Subject: Re: Help with SQL What are your indexes on these 3 tables? 1) ps_pay_oth_earns 2) ps_employment 3) ps_pay_earnings > ---------- > From: Bill Bowers[SMTP:bowersb@PSPH.PROVIDENCE.ORG] > Reply To: SQR-USERS@USA.NET > Sent: Monday, January 05, 1998 2:54 PM > To: Multiple recipients of list SQR-USERS > Subject: Help with SQL > > I am running the following sql within an sqr and it runs, and > runs and > runs. Anybody (familiar with PeopleSoft) have any ideas? > > > select > c.deptid, > q.union_cd, > b.pay_end_dt, > b.erncd > sum(b.oth_hrs), > sum(b.oth_pay) > from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c > where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' > and b.company = c.company > and b.paygroup = c.paygroup > and b.pay_end_dt = c.pay_end_dt > and b.page# = c.page# > and b.line# = c.line# > and b.addl# = c.addl# > group by c.deptid, > q.union_cd, > b.pay_end_dt, > b.Erncd > > Thanks in advance > > Bill Bowers > St. Peters Hospital > Olympia, Washington > (360) 393-5437 > From owner-sqr-users@list.iex.net Mon Jan 5 18:23:37 1998 Date: Mon, 5 Jan 1998 15:49:21 -0700 From: Robert Goshko Subject: Re: Help with SQL ------ =_NextPart_000_01BD19F1.A636BDA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Form the looks of it Bill you have a Cartesian join going on, you forgot = to join the employment table with the pay earnings table (you are = joining every row in the employment table with every combination of pay = earnings/pay other earnings), you also missed a key field between pay = earnings and pay other earnings (off_cycle) Try this: select c.deptid, q.union_cd, b.pay_end_dt, b.erncd sum(b.oth_hrs), sum(b.oth_pay) from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' and b.company =3D c.company and b.paygroup =3D c.paygroup and b.pay_end_dt =3D c.pay_end_dt and b.off_cycle =3D c.off_cycle and b.page# =3D c.page# and b.line# =3D c.line# and b.addl# =3D c.addl# and q.emplid =3D c.emplid and q.empl_rcd# =3D c.empl_rcd# group by c.deptid, q.union_cd, b.pay_end_dt, b.Erncd Later... Rob ----------------------------------------------------------- Through the NIC... Over the twisted pair...=20 Off the Router... >>SWISH<<... Nothing but NET! -------------------+-------------------+------------------- Robert Goshko | rgoshko@ibm.net | (403) 417-AXIS Axis Developments | | Sherwood Park, AB -----Original Message----- From: Bill Bowers [SMTP:bowersb@PSPH.PROVIDENCE.ORG] Sent: Monday, January 05, 1998 2:55 PM To: Multiple recipients of list SQR-USERS Subject: Help with SQL I am running the following sql within an sqr and it runs, and runs = and runs. Anybody (familiar with PeopleSoft) have any ideas? select c.deptid, q.union_cd, b.pay_end_dt, b.erncd sum(b.oth_hrs), sum(b.oth_pay) from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' and b.company =3D c.company and b.paygroup =3D c.paygroup and b.pay_end_dt =3D c.pay_end_dt and b.page# =3D c.page# and b.line# =3D c.line# and b.addl# =3D c.addl# group by c.deptid, q.union_cd, b.pay_end_dt, b.Erncd Thanks in advance Bill Bowers St. Peters Hospital Olympia, Washington (360) 393-5437 ------ =_NextPart_000_01BD19F1.A636BDA0 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+Ih4WAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEkAYAkAEAAAEAAAAQAAAAAwAAMAIAAAAL AA8OAAAAAAIB/w8BAAAAQQAAAAAAAACBKx+kvqM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AADguMAADACaACCAGAAAAAADAAAAAAAAARgAA AAABhQAAAAAAAAsAL4AIIAYAAAAAAMAAAAAAAABGAAAAAA6FAAAAAAAAAwAwgAggBgAAAAAAwAAA AAAAAEYAAAAAEYUAAAAAAAADADKACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAB4AQYAIIAYA AAAAAMAAAAAAAABGAAAAADaFAAABAAAAAQAAAAAAAAAeAEKACCAGAAAAAADAAAAAAAAARgAAAAA3 hQAAAQAAAAEAAAAAAAAAHgBDgAggBgAAAAAAwAAAAAAAAEYAAAAAOIUAAAEAAAABAAAAAAAAAB4A PQABAAAABQAAAFJFOiAAAAAAAwANNP03AADSUw== ------ =_NextPart_000_01BD19F1.A636BDA0-- From owner-sqr-users@list.iex.net Mon Jan 5 18:26:02 1998 Date: Mon, 5 Jan 1998 17:07:24 -0600 From: Ravi Varadarajan Subject: Re: Help with SQL First try giving one date just to test it. secondly join from c to b than b-> ie. c.xx = b.xxx Ravi From owner-sqr-users@list.iex.net Mon Jan 5 18:47:46 1998 Date: Mon, 5 Jan 1998 15:29:52 -0700 From: Ben Le Subject: Re: Help with SQL Bill, I can see you are missing a comma after 'b.erncd'. I don't see any joint with 'ps_employment q' table with other tables at where clause (this may be a performance's problem). Hope will help. Happy New Year! At 01:54 PM 1/5/98 PST, you wrote: > I am running the following sql within an sqr and it runs, and runs and > runs. Anybody (familiar with PeopleSoft) have any ideas? > > > select > c.deptid, > q.union_cd, > b.pay_end_dt, > b.erncd > sum(b.oth_hrs), > sum(b.oth_pay) > from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c > where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' > and b.company = c.company > and b.paygroup = c.paygroup > and b.pay_end_dt = c.pay_end_dt > and b.page# = c.page# > and b.line# = c.line# > and b.addl# = c.addl# > group by c.deptid, > q.union_cd, > b.pay_end_dt, > b.Erncd > > Thanks in advance > > Bill Bowers > St. Peters Hospital > Olympia, Washington > (360) 393-5437 > > Benjamin Le System Development, ITS Portland Community College PO Box 19000 Portland, OR. 97280-0990 U.S.A. Phone: (503)-977-4970 Fax:(503)-977-4987 E-mail: Mailto:ble@pcc.edu PCC Web: http://www.pcc.edu From owner-sqr-users@list.iex.net Mon Jan 5 18:57:11 1998 Date: Tue, 6 Jan 1998 09:29:27 +1100 From: Steven Baldwin Subject: Re: Help with SQL I'm no peoplesoft expert, but it would appear you are not joining the ps_employment table (alias q) with anything else, giving a cartesian join against this table. If it contains a lot of rows, and from the name it sounds like it might, this could explain the unexpectedly long execution time. Hope this helps. Steve ---------------------------------------------- Steve Baldwin Phone : +61 3 9840 3829 Fax : +61 3 9840 3824 E-Mail : Steven.Baldwin@hancorp.com.au ---------------------------------------------- > ---------- > From: Bill Bowers[SMTP:bowersb@PSPH.PROVIDENCE.ORG] > Sent: Tuesday, 6 January 1998 8:54 > To: Multiple recipients of list SQR-USERS > Subject: Help with SQL > > I am running the following sql within an sqr and it runs, and > runs and > runs. Anybody (familiar with PeopleSoft) have any ideas? > > > select > c.deptid, > q.union_cd, > b.pay_end_dt, > b.erncd > sum(b.oth_hrs), > sum(b.oth_pay) > from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c > where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' > and b.company = c.company > and b.paygroup = c.paygroup > and b.pay_end_dt = c.pay_end_dt > and b.page# = c.page# > and b.line# = c.line# > and b.addl# = c.addl# > group by c.deptid, > q.union_cd, > b.pay_end_dt, > b.Erncd > > Thanks in advance > > Bill Bowers > St. Peters Hospital > Olympia, Washington > (360) 393-5437 > From owner-sqr-users@list.iex.net Mon Jan 5 19:36:03 1998 Date: Mon, 5 Jan 1998 17:16:39 -0600 From: Ravi Varadarajan Subject: Re: Landscape Legal Output Sam, Try changing the printer-init statement in the setup sqcs you are using. There was a discussion before on this topic. Please refer that atricle. Ravi From owner-sqr-users@list.iex.net Mon Jan 5 20:03:04 1998 Date: Mon, 5 Jan 1998 14:46:12 PST From: Bill Bowers Subject: Re[2]: Help with SQL Index information: ps_employment: emplid, empl_rcd# ps_pay_earnings: company, paygroup, pay_end_dt, off_cycle, page#, line#, addl# ps_pay_oth_earns:company, paygroup, pay_end_dt, off_cycle, page#, line#, addl#, erncd My e-mail address is bowersb@psph.providence.org Thanks! ______________________________ Reply Separator _________________________________ Subject: Re: Help with SQL Author: SQR-USERS@USA.NET at INTERNET Date: 1/5/98 2:43 PM What are your indexes on these 3 tables? 1) ps_pay_oth_earns 2) ps_employment 3) ps_pay_earnings > ---------- > From: Bill Bowers[SMTP:bowersb@PSPH.PROVIDENCE.ORG] > Reply To: SQR-USERS@USA.NET > Sent: Monday, January 05, 1998 2:54 PM > To: Multiple recipients of list SQR-USERS > Subject: Help with SQL > > I am running the following sql within an sqr and it runs, and > runs and > runs. Anybody (familiar with PeopleSoft) have any ideas? > > > select > c.deptid, > q.union_cd, > b.pay_end_dt, > b.erncd > sum(b.oth_hrs), > sum(b.oth_pay) > from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c > where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' > and b.company = c.company > and b.paygroup = c.paygroup > and b.pay_end_dt = c.pay_end_dt > and b.page# = c.page# > and b.line# = c.line# > and b.addl# = c.addl# > group by c.deptid, > q.union_cd, > b.pay_end_dt, > b.Erncd > > Thanks in advance > > Bill Bowers > St. Peters Hospital > Olympia, Washington > (360) 393-5437 > From owner-sqr-users@list.iex.net Mon Jan 5 20:12:23 1998 Date: Tue, 6 Jan 1998 10:58:08 +1000 From: "MORRIS, Dean" Subject: Julian dates in PeopleSoft Dear All, I'm currently working on a PeopleSoft Financials v7 implementation on an Oracle database. We're trying to find a standard function that will translate a Julian date into standard date format. ie. a number between 1 and 365 and convert it to a 31-12-1997 type date. This logic is fairly easy to write, but I was hoping to be able to use a standard SQR function to do it. There does not seem to be one in the standard SQC files. Can anyone help? Thanks in advance. Dean. From owner-sqr-users@list.iex.net Mon Jan 5 20:50:09 1998 Date: Mon, 5 Jan 1998 15:07:02 -0700 From: "Jensen, Ray - Broomfield" Subject: Re: Help with SQL Bill - I don't see a join to the ps_employment table in you where clause. Ray Jensen The Ultimate Software Consultants Senior Consultant 303-664-2821 ray.jensen@cexp.com jensenr@tusc.com >-----Original Message----- >From: Bill Bowers [SMTP:bowersb@PSPH.PROVIDENCE.ORG] >Sent: Monday, January 05, 1998 2:55 PM >To: Multiple recipients of list SQR-USERS >Subject: Help with SQL > > I am running the following sql within an sqr and it runs, and runs and > runs. Anybody (familiar with PeopleSoft) have any ideas? > > > select > c.deptid, > q.union_cd, > b.pay_end_dt, > b.erncd > sum(b.oth_hrs), > sum(b.oth_pay) > from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c > where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' > and b.company = c.company > and b.paygroup = c.paygroup > and b.pay_end_dt = c.pay_end_dt > and b.page# = c.page# > and b.line# = c.line# > and b.addl# = c.addl# > group by c.deptid, > q.union_cd, > b.pay_end_dt, > b.Erncd > > Thanks in advance > > Bill Bowers > St. Peters Hospital > Olympia, Washington > (360) 393-5437 From owner-sqr-users@list.iex.net Mon Jan 5 23:50:07 1998 Date: Tue, 6 Jan 1998 15:29:49 +1100 From: Julian Stevens Subject: Wrapping Proportional Fonts Does anyone have a solution to wrapping of proportional fonts ( mixed case and all uppercase )??? Any ideas! In anticipation of responses, Cheers, Julian Stevens. From owner-sqr-users@list.iex.net Tue Jan 6 00:06:17 1998 Date: Mon, 5 Jan 1998 20:40:55 -0800 From: Grant Chappell Subject: Re: To print the Trade Mark symbol Vicki, My guess is that the printer doesn't understand what code 174 is. I would look at the printer and see what symbol set it is using (Roman 8, pc 8, etc.). Then see if that symbol set includes the circled R. If it does, use that number, if not, you can change the printer symbol set at run time or manualy. Grant At 02:06 PM 1/5/98 -0800, you wrote: >Hello everyone! >Is there a trick to use SQR to print the Trade Mark symbol (an R in >the circle)? >I did "encode <174> into >$trade_mark" to get the symbol. >When I did a "display", I can see it is printed perfectly, however, >when I do a "print", >Just a space is printed. Do we need to do something special to print >the symbols? > >Victoria Lo >Email address: VICKIL@remedystaff.com > If people never did silly things, nothing intelligent would ever happen - Andrew Grove. From owner-sqr-users@list.iex.net Tue Jan 6 00:32:01 1998 Date: Mon, 5 Jan 1998 20:15:59 -0800 From: Grant Chappell Subject: Re: Landscape Legal Output Sam, I have done this two ways. First, on the client, you can set up sqrw to send the report to sqrv (viewer), then when you print, select legal paper (and landscape orientation). The second is to create a new set of printer sqc's, with the additional parameter for legal paper. If you are using an hp 4 or newer printer the command is: <27>&l3A . Depending on your printer, you may have to tell the printer which tray has legal paper: <27>&lxH (where x= source tray). At 04:16 PM 1/5/98 -0600, you wrote: >Has anyone done any reports using legal paper? I need to create a report on legal paper with landscape orientation. I have tried changing the paper size parameters to (11,14) but the document created is still letter size. > >Any suggestions would be appreciated. > >Thanks- >Sam > If people never did silly things, nothing intelligent would ever happen - Andrew Grove. From owner-sqr-users@list.iex.net Tue Jan 6 07:51:19 1998 Date: Tue, 6 Jan 1998 07:46:26 -0500 From: Gary Lane Subject: Re: Julian dates in PeopleSoft Dean, Look in DATEMATH.SQC. There are several routines that may be of help. 1. dtu-ser-to-ymd - This routine will take a Julian date and return year, month and day. You then can use dtu-format-date which takes year, month and day and returns the ddate in yyyy-mm-dd format. From this point the format-datetime routine which is found in DATETIME.SQC can be used to format the date in native format or other desired formats. Hope this helps. From owner-sqr-users@list.iex.net Tue Jan 6 08:10:01 1998 Date: Tue, 6 Jan 1998 08:01:23 -0500 From: Lynn Francis Subject: Re: Help with SQL Bill, It would appear that your where clause does not include any qualification = of the join to ps_employment q. This would result in a Cartesion product of = all the qualifying joins from b and c with every record of q. ***************************************************************************= ** from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' and b.company =3D c.company and b.paygroup =3D c.paygroup and b.pay_end_dt =3D c.pay_end_dt and b.page# =3D c.page# and b.line# =3D c.line# and b.addl# =3D c.addl# *************************************************************************= **** Lynn Francis From owner-sqr-users@list.iex.net Tue Jan 6 11:58:13 1998 Date: Tue, 6 Jan 1998 05:25:24 -0700 From: Robert Goshko Subject: Re: Julian dates in PeopleSoft ------ =_NextPart_000_01BD1A71.3307FCB0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dean, I wrote a function that converts full Julian dates (number of days since = January 1, 0001) to an actual date, you could use this (along with the = function I wrote to convert the other way). =20 You could convert December 31 of the prior year to a Julian date, add = your number and then convert it back to a Gregorian date. you can look = at the functions on the SQR user group web page (http://www.sqrug.com/) = in the Library section... I believe it is in the #include section. Hope this helps. Later... Rob ----------------------------------------------------------- Through the NIC... Over the twisted pair...=20 Off the Router... >>SWISH<<... Nothing but NET! -------------------+-------------------+------------------- Robert Goshko | rgoshko@ibm.net | (403) 417-AXIS Axis Developments | | Sherwood Park, AB -----Original Message----- From: MORRIS, Dean [SMTP:Dean.MORRIS@SUNCORP-METWAY.COM.AU] Sent: Monday, January 05, 1998 5:58 PM To: Multiple recipients of list SQR-USERS Subject: Julian dates in PeopleSoft Dear All, I'm currently working on a PeopleSoft Financials v7 implementation on an Oracle database. We're trying to find a standard function that will translate a Julian date into standard date format. ie. a number between 1 and 365 and convert it to a 31-12-1997 type date. This logic is fairly easy to write, but I was hoping to be able to use a standard SQR function to do it. There does not seem to be one in the standard SQC files. Can anyone help? Thanks in advance. Dean. ------ =_NextPart_000_01BD1A71.3307FCB0 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IiAOAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEkAYAkAEAAAEAAAAQAAAAAwAAMAIAAAAL AA8OAAAAAAIB/w8BAAAAQQAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAFNRUi1VU0VSU0BVU0Eu TkVUAFNNVFAAU1FSLVVTRVJTQFVTQS5ORVQAAAA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AAwAygAggBgAAAAAAwAAAAAAAAEYAAAAAGIUAAAAA AAAeAEGACCAGAAAAAADAAAAAAAAARgAAAAA2hQAAAQAAAAEAAAAAAAAAHgBCgAggBgAAAAAAwAAA AAAAAEYAAAAAN4UAAAEAAAABAAAAAAAAAB4AQ4AIIAYAAAAAAMAAAAAAAABGAAAAADiFAAABAAAA AQAAAAAAAAAeAD0AAQAAAAUAAABSRTogAAAAAAMADTT9NwAAgR0= ------ =_NextPart_000_01BD1A71.3307FCB0-- From owner-sqr-users@list.iex.net Tue Jan 6 13:07:23 1998 Date: Tue, 6 Jan 1998 12:48:51 -0500 From: Nathan Treadway Subject: Re: INTERACTIVE AND BATCH modes > My code so far goes as follows: > let $system_call = 'IF F$MODE() .NES. 'BATCH' THEN > MODE_TEST:="INTERACTIVE" ' > > call system using $system_call #status > > let $mode = getenv('MODE_TEST') > .. > .. > .. > > I've also tried let $system_call = 'MODE_TEST:=F$MODE()' > > The main issue is that the SYMBOL MODE_TEST doesn't seam to be > getting assigned. I've debuged the code to see what's getting what The first "trick" is that, under VMS, the "getenv" function looks at logicals, not symbols. Thus, something like this should work: let $system_call = 'define/job/nolog MODE_TEST ''F$MODE()' You need the /job so that the logical define is not tied to the spawned subprocess but rather to the whole job; otherwise it would be vanish before execution returned to your SQR program. The /nolog prevents a warning message from being printed if MODE_TEST already has a value (such as if you ran the program more than once). However, my tests show that when you use CALL SYSTEM USING, the F$MODE() is not evaluated they way it would be on the command line or in a .COM file. A work-around would be to use your "if" idea: let $system_call = 'if f$mode() .eqs. "INTERACTIVE" ' || 'then define/job/nolog "INTERACTIVE" ' You could also create a .com file that contained the line $ define/job/nolog MODE_TEST 'F$MODE() and call that .com file from the CALL SYSTEM USING. (It might be easier to simply put $ define MODE_TEST 'F$MODE() login.com or something like that; then you wouldn't need to spawn from within the SQR, and the define would run only once per login.) Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | info@ontko.com (auto-reply server) nathant@ontko.com | Richmond, IN | ftp.ontko.com, http://www.ontko.com/ From owner-sqr-users@list.iex.net Tue Jan 6 14:46:02 1998 Date: Tue, 6 Jan 1998 11:26:07 -0800 From: Vicki Lo Subject: Draw a double box Has anyone use SQR to draw a slightly larger box outside a smaller box? If you do, please let me know how. Because I am not able to do it. Thank you. Vicki Email address: VICKIL@remedystaff.com From owner-sqr-users@list.iex.net Tue Jan 6 14:57:34 1998 Date: Tue, 6 Jan 1998 09:02:43 -0600 From: Frank Ellington Subject: Re: Help with SQL Bill, try this SQL-PLUS code: select c.deptid, q.union_cd, b.pay_end_dt, b.erncd, sum(b.oth_hrs), sum(b.oth_pay) from ps_pay_oth_earns b, ps_employment q, ps_job j, ps_pay_earnings c where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' and b.company = c.company and b.paygroup = c.paygroup and b.pay_end_dt = c.pay_end_dt and b.off_cycle = c.off_cycle and b.page# = c.page# and b.line# = c.line# and b.addl# = c.addl# and q.emplid = c.emplid and q.empl_rcd# = c.empl_rcd# and j.emplid = q.emplid and j.empl_rcd# = j.empl_rcd# and j.EFFDT = (SELECT MAX(JJ.EFFDT) from PS_JOB JJ where JJ.EMPLID = J.EMPLID AND JJ.EMPL_RCD# = J.EMPL_RCD# AND JJ.EFFDT <= b.pay_end_dt) and j.EFFSEQ = (SELECT MAX(JJJ.EFFSEQ) from PS_JOB JJJ where JJJ.EMPLID = J.EMPLID AND JJJ.EMPL_RCD# = J.EMPL_RCD# AND JJJ.EFFDT = J.EFFDT) group by c.deptid, q.union_cd, b.pay_end_dt, b.Erncd / gave me 55 rows in less than 30 seconds in test environment Good Luck Frank ______________________________ Reply Separator _________________________________ Subject: Help with SQL Author: SQR-USERS@USA.NET at MEMCPSMTP Date: 1/5/98 1:54 PM I am running the following sql within an sqr and it runs, and runs and runs. Anybody (familiar with PeopleSoft) have any ideas? select c.deptid, q.union_cd, b.pay_end_dt, b.erncd sum(b.oth_hrs), sum(b.oth_pay) from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' and b.company = c.company and b.paygroup = c.paygroup and b.pay_end_dt = c.pay_end_dt and b.page# = c.page# and b.line# = c.line# and b.addl# = c.addl# group by c.deptid, q.union_cd, b.pay_end_dt, b.Erncd Thanks in advance Bill Bowers St. Peters Hospital Olympia, Washington (360) 393-5437 From owner-sqr-users@list.iex.net Tue Jan 6 15:17:57 1998 Date: Tue, 6 Jan 1998 11:04:33 -0500 From: "Connaghan, Rebecca" Subject: Re: Help with SQL Bill, Shouldn't you have join criteria tying your employment table to the others in your WHERE clause? Rebecca > -----Original Message----- > From: Bill Bowers [SMTP:bowersb@PSPH.PROVIDENCE.ORG] > Sent: Monday, January 05, 1998 4:55 PM > To: Multiple recipients of list SQR-USERS > Subject: Help with SQL > > I am running the following sql within an sqr and it runs, and > runs and > runs. Anybody (familiar with PeopleSoft) have any ideas? > > > select > c.deptid, > q.union_cd, > b.pay_end_dt, > b.erncd > sum(b.oth_hrs), > sum(b.oth_pay) > from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c > where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' > and b.company = c.company > and b.paygroup = c.paygroup > and b.pay_end_dt = c.pay_end_dt > and b.page# = c.page# > and b.line# = c.line# > and b.addl# = c.addl# > group by c.deptid, > q.union_cd, > b.pay_end_dt, > b.Erncd > > Thanks in advance > > Bill Bowers > St. Peters Hospital > Olympia, Washington > (360) 393-5437 From owner-sqr-users@list.iex.net Tue Jan 6 17:32:05 1998 Date: Tue, 6 Jan 1998 12:47:06 PST From: Bill Bowers Subject: Re[2]: Help with SQL Thanks Frank Why did you add ps_job to the sql-plus code? Bill ______________________________ Reply Separator _________________________________ Subject: Re: Help with SQL Author: SQR-USERS@USA.NET at INTERNET Date: 1/6/98 12:06 PM Bill, try this SQL-PLUS code: select c.deptid, q.union_cd, b.pay_end_dt, b.erncd, sum(b.oth_hrs), sum(b.oth_pay) from ps_pay_oth_earns b, ps_employment q, ps_job j, ps_pay_earnings c where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' and b.company = c.company and b.paygroup = c.paygroup and b.pay_end_dt = c.pay_end_dt and b.off_cycle = c.off_cycle and b.page# = c.page# and b.line# = c.line# and b.addl# = c.addl# and q.emplid = c.emplid and q.empl_rcd# = c.empl_rcd# and j.emplid = q.emplid and j.empl_rcd# = j.empl_rcd# and j.EFFDT = (SELECT MAX(JJ.EFFDT) from PS_JOB JJ where JJ.EMPLID = J.EMPLID AND JJ.EMPL_RCD# = J.EMPL_RCD# AND JJ.EFFDT <= b.pay_end_dt) and j.EFFSEQ = (SELECT MAX(JJJ.EFFSEQ) from PS_JOB JJJ where JJJ.EMPLID = J.EMPLID AND JJJ.EMPL_RCD# = J.EMPL_RCD# AND JJJ.EFFDT = J.EFFDT) group by c.deptid, q.union_cd, b.pay_end_dt, b.Erncd / gave me 55 rows in less than 30 seconds in test environment Good Luck Frank ______________________________ Reply Separator _________________________________ Subject: Help with SQL Author: SQR-USERS@USA.NET at MEMCPSMTP Date: 1/5/98 1:54 PM I am running the following sql within an sqr and it runs, and runs and runs. Anybody (familiar with PeopleSoft) have any ideas? select c.deptid, q.union_cd, b.pay_end_dt, b.erncd sum(b.oth_hrs), sum(b.oth_pay) from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' and b.company = c.company and b.paygroup = c.paygroup and b.pay_end_dt = c.pay_end_dt and b.page# = c.page# and b.line# = c.line# and b.addl# = c.addl# group by c.deptid, q.union_cd, b.pay_end_dt, b.Erncd Thanks in advance Bill Bowers St. Peters Hospital Olympia, Washington (360) 393-5437 From owner-sqr-users@list.iex.net Tue Jan 6 19:22:17 1998 Date: Tue, 6 Jan 1998 15:32:57 -0800 From: Ken Gartman Subject: Re: Available: SQR Tree Utility (Attempt 2) Hi there, Wayne! I'd also like a copy of your Software. Happy Computing, Ken Gartman Maryland, USA Wayne Ivory wrote: > > Since I posted my original message I've had a few replies and noticed the example I had pasted into the message got all scrunched together (I hate that - so much for WYSIWYG). I'll try pasting it here using a different method - unfortunately I won't know if it works until after I've done it. In case it doesn't, imagine a Windows-Explorer type display. > > TAX016AU.SQR > > 35 Init-DateTime () > 36 Init-Number () > 37 Init-Report (45) > 51 Stdapi-Init () > 54 Prompt (1389) > 56 Select-Parameters () > 57 Get-Values (1444) > 60 Process-Parameters (1413) > 1431 Format-DateTime () > 1432 Format-DateTime () > 61 Array-Init (100) > 38 Process-Main (135) > 145 Get-Group-Name (1338) > 146 Build-company-list (1260) > 1277 Get-Company-Data () > 147 Get-Totals (157) > 169 Cmpny-State-Data (177) > 178 Pay-Earnings (192) > 223 Get-PayGroup-Erncd (726) > 739 Chk-Exempt-Erncd (771) > > ******** Original Message follows **************** > If anyone is interested I've written a Unix shell script that produces a Procedure-Call tree for an SQR program. It shows which procedures call which procedures, the line they are called from, and the line the called procedure is on. Here's a sample: > > TAX016AU.SQR > > 35 Init-DateTime () > 36 Init-Number () > 37 Init-Report (45) > 51 Stdapi-Init () > 54 Prompt (1389) > 56 Select-Parameters () > 57 Get-Values (1444) > 60 Process-Parameters (1413) > 1431 Format-DateTime () > 1432 Format-DateTime () > 61 Array-Init (100) > 38 Process-Main (135) > 145 Get-Group-Name (1338) > 146 Build-company-list (1260) > 1277 Get-Company-Data () > 147 Get-Totals (157) > 169 Cmpny-State-Data (177) > 178 Pay-Earnings (192) > 223 Get-PayGroup-Erncd (726) > 739 Chk-Exempt-Erncd (771) > > If you'd like a copy send me an email. > > Wayne Ivory > Information Services > Westralian Sands Limited > > Wayne Ivory > Information Services > Westralian Sands Limited > > > ! > ! > > ! > ! From owner-sqr-users@list.iex.net Tue Jan 6 19:41:08 1998 Date: Tue, 6 Jan 1998 15:21:53 -0800 From: Ken Gartman Subject: Re: Help with SQL Bill Bowers wrote: > > I am running the following sql within an sqr and it runs, and runs and > runs. Anybody (familiar with PeopleSoft) have any ideas? > > select > c.deptid, > q.union_cd, > b.pay_end_dt, > b.erncd > sum(b.oth_hrs), > sum(b.oth_pay) > from ps_pay_oth_earns b, ps_employment q, ps_pay_earnings c > where b.pay_end_dt between '01-JAN-97' and '31-DEC-97' > and b.company = c.company > and b.paygroup = c.paygroup > and b.pay_end_dt = c.pay_end_dt > and b.page# = c.page# > and b.line# = c.line# > and b.addl# = c.addl# > group by c.deptid, > q.union_cd, > b.pay_end_dt, > b.Erncd > > Thanks in advance > > Bill Bowers > St. Peters Hospital > Olympia, Washington > (360) 393-5437 Hi, Bill! There doesn't seem to be a join condition for the "q" table. You're getting a Cartesian product. This is not a problem of SQR or PeopleSoft, but of SQL. Happy Computing, Ken Gartman From owner-sqr-users@list.iex.net Tue Jan 6 20:55:10 1998 Date: Tue, 6 Jan 1998 16:00:42 -0800 From: Ken Gartman Subject: Re: Julian dates in PeopleSoft Hi there, Dean! Please don't be casual in differentiating "Julian Day" (the number of a day in a year) from "Julian Date" (the number of days since a specifice starting date.) Julian days range from 1 to 366. February 28th is always Julian day 59. March 1st is Julian day 60 some years, and Julian day 61 during other years. For any day of the year after February, the Julian day cannot be determined without knowing if it is a leap year or a regular year. There is no need to write your own function. Peoplesoft has a good set of date manipulation routines, and ORACLE has a better one. Happy computing, Ken Gartman MORRIS, Dean wrote: > > Dear All, > > I'm currently working on a PeopleSoft Financials v7 implementation on an > Oracle database. > > We're trying to find a standard function that will translate a Julian > date into standard date format. ie. a number between 1 and 365 and > convert it to a 31-12-1997 type date. This logic is fairly easy to > write, but I was hoping to be able to use a standard SQR function to do > it. There does not seem to be one in the standard SQC files. > > Can anyone help? > > Thanks in advance. > > Dean. From owner-sqr-users@list.iex.net Tue Jan 6 21:33:21 1998 Date: Wed, 7 Jan 1998 10:24:03 +0800 From: Wayne Ivory Subject: Re: Available: SQR Tree Utility (Attempt 2) This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_7B2EF073.71107C32 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline With compliments. And could you please do me a favour - I have sent it to = several people and asked them to let me know what they think. But apart = from one guy who said there was no attachment and asked me to resend, I = haven=27t heard anything. Could you please advise if you got it and if it works (and if you like = it). Wayne Ivory Information Services Westralian Sands Limited >>> Ken Gartman 7/1/98 7:32:57 am >>> Hi there, Wayne=21 I=27d also like a copy of your Software. Happy Computing, Ken Gartman Maryland, USA Wayne Ivory wrote: > > Since I posted my original message I=27ve had a few replies and noticed = the example I had pasted into the message got all scrunched together (I = hate that - so much for WYSIWYG). I=27ll try pasting it here using a = different method - unfortunately I won=27t know if it works until after = I=27ve done it. In case it doesn=27t, imagine a Windows-Explorer type = display. > > TAX016AU.SQR > > 35 Init-DateTime () > 36 Init-Number () > 37 Init-Report (45) > 51 Stdapi-Init () > 54 Prompt (1389) > 56 Select-Parameters () > 57 Get-Values (1444) > 60 Process-Parameters (1413) > 1431 Format-DateTime () > 1432 Format-DateTime () > 61 Array-Init (100) > 38 Process-Main (135) > 145 Get-Group-Name (1338) > 146 Build-company-list (1260) > 1277 Get-Company-Data () > 147 Get-Totals (157) > 169 Cmpny-State-Data (177) > 178 Pay-Earnings (192) > 223 Get-PayGroup-Erncd (726) > 739 Chk-Exempt-Erncd (771) > > ******** Original Message follows **************** > If anyone is interested I=27ve written a Unix shell script that produces = a Procedure-Call tree for an SQR program. It shows which procedures call = which procedures, the line they are called from, and the line the called = procedure is on. Here=27s a sample: > > TAX016AU.SQR > > 35 Init-DateTime () > 36 Init-Number () > 37 Init-Report (45) > 51 Stdapi-Init () > 54 Prompt (1389) > 56 Select-Parameters () > 57 Get-Values (1444) > 60 Process-Parameters (1413) > 1431 Format-DateTime () > 1432 Format-DateTime () > 61 Array-Init (100) > 38 Process-Main (135) > 145 Get-Group-Name (1338) > 146 Build-company-list (1260) > 1277 Get-Company-Data () > 147 Get-Totals (157) > 169 Cmpny-State-Data (177) > 178 Pay-Earnings (192) > 223 Get-PayGroup-Erncd (726) > 739 Chk-Exempt-Erncd (771) > > If you=27d like a copy send me an email. > > Wayne Ivory > Information Services > Westralian Sands Limited > > Wayne Ivory > Information Services > Westralian Sands Limited > > > =21 > =21 > > =21 > =21 --=_7B2EF073.71107C32 Content-Type: application/octet-stream; name="sqrtree" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sqrtree" IyBQcmludCB0aGUgY2FsbC10cmVlIHN0cnVjdHVyZSBvZiBhbiBTUVIgcHJvZ3JhbQ0KIyBDb3B5 cmlnaHQgMTk5NyBieSBXYXluZSBJdm9yeSAtIHdpdm9yeUB3c2wuY29tLmF1DQojIFRoaXMgc2hl bGwgc2NyaXB0IG1heSBiZSBmcmVlbHkgY29waWVkIGFuZCBkaXN0cmlidXRlZCBhcyBsb25nIGFz IHRoZQ0KIyBjb3B5cmlnaHQgbm90aWNlIHJlbWFpbnMgaW50YWN0Lg0KDQppZiBbICQjIC1uZSAx IF0NCnRoZW4NCgllY2hvICJVc2FnZTogICQwIHNxcmZpbGUiDQoJZXhpdCAxDQpmaQ0KDQphd2sg Jw0KCWZ1bmN0aW9uIHByaW50dHJlZShQTkFNRSxJTkRFTlQsZikgew0KCQlwcmludCBJTkRFTlQg UE5BTUUgIiAoIiBQUk9DTElORVtQTkFNRV0gIikiDQoJCWZvciAoZj0xIDsgZjw9Q0FMTENPVU5U W1BOQU1FXSA7IGYrKykge3ByaW50ZigiJS02cyIsQ0FMTExJTkVbUE5BTUUsZl0pIDsgcHJpbnR0 cmVlKENBTExFRFBST0NbUE5BTUUsZl0sSU5ERU5UICIgICAgIil9DQoJfQ0KCUJFR0lOe0ZOQU1F PUZJTEVOQU1FIDsgd2hpbGUgKGk9aW5kZXgoRk5BTUUsIi8iKSkgRk5BTUU9c3Vic3RyKEZOQU1F LGkrMSkgOyBwcmludCBGTkFNRSA7IHByaW50ICIgIn0NCnsNCglpZiAoJDEgPT0gImJlZ2luLXBy b2NlZHVyZSIpIHsNCgkJUE9TPW1hdGNoKCQyLCJbXi1BLVphLXowLTldIikNCgkJaWYgKFBPUyA9 PSAwKSBQT1M9bGVuZ3RoKCQyKSsxDQoJCVBST0NFRFVSRT1zdWJzdHIoJDIsMSxQT1MtMSkNCgkJ UFJPQ0xJTkVbUFJPQ0VEVVJFXT1OUg0KCX0gDQoJaT1tYXRjaCgkMCwiW0RkXVtPb10gIikNCglp ZiAoaSA+IDAgJiYgc3Vic3RyKCQxLDEsMSkgIT0gIiEiICYmIHN1YnN0cigkMSwxLDYpICE9ICIj ZGVidWciKSB7DQoJCWo9bWF0Y2goc3Vic3RyKCQwLGkrMyksIlteIF0iKQ0KCQlpPWkraisyDQoJ CVBPUz1tYXRjaChzdWJzdHIoJDAsaSksIlteLUEtWmEtejAtOV0iKQ0KCQlpZiAoUE9TID09IDAp IFBPUz1sZW5ndGgoJDApLWkrMg0KCQlDQUxMQ09VTlRbUFJPQ0VEVVJFXSsrDQoJCUNBTExFRFBS T0NbUFJPQ0VEVVJFLENBTExDT1VOVFtQUk9DRURVUkVdXT1zdWJzdHIoJDAsaSxQT1MtMSkNCgkJ Q0FMTExJTkVbUFJPQ0VEVVJFLENBTExDT1VOVFtQUk9DRURVUkVdXT1OUg0KCX0NCn0gRU5Ee2Zv ciAoaT0xIDsgaTw9Q0FMTENPVU5UWyIiXSA7IGkrKykge3ByaW50ZigiJS02cyIsQ0FMTExJTkVb IiIsaV0pIDsgcHJpbnR0cmVlKENBTExFRFBST0NbIiIsaV0sIiIpfX0nICQxDQo= --=_7B2EF073.71107C32-- From owner-sqr-users@list.iex.net Wed Jan 7 00:29:59 1998 Date: Wed, 7 Jan 1998 11:17:26 +1100 From: Steve Cavill Subject: Re: Draw a double box This is a multi-part message in MIME format. --------------73155ACCA4C186B14DF49592 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This should be fairly straightforward. Here's a sample. Let me know if it doesn't work. Cheers, Steve. Vicki Lo wrote: > Has anyone use SQR to draw a slightly larger box outside a smaller box? > If you do, please let me know how. Because I am not able to do it. > Thank you. > > Vicki > Email address: VICKIL@remedystaff.com --------------73155ACCA4C186B14DF49592 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Steve Cavill Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Steve Cavill n: Cavill;Steve org: SQRIBE Technologies adr;dom: 1/14 Aquatic Drive;;;Frenchs Forest;;; email;internet: steve.cavill@sqribe.com.au title: Customer Services Manager x-mozilla-cpt: ;0 x-mozilla-html: TRUE version: 2.1 end: vcard --------------73155ACCA4C186B14DF49592-- From owner-sqr-users@list.iex.net Wed Jan 7 00:50:24 1998 Date: Tue, 6 Jan 1998 16:35:11 -0700 From: Ben Le Subject: Re: Available: SQR Tree Utility (Attempt 2) Wayne, I'd like to have one too. Thanks. My e-mail: ble@pcc.edu At 03:32 PM 1/6/98 -0800, you wrote: >Hi there, Wayne! > I'd also like a copy of your Software. > > Happy Computing, > Ken Gartman > Maryland, USA > > >Wayne Ivory wrote: >> >> Since I posted my original message I've had a few replies and noticed the example I had pasted into the message got all scrunched together (I hate that - so much for WYSIWYG). I'll try pasting it here using a different method - unfortunately I won't know if it works until after I've done it. In case it doesn't, imagine a Windows-Explorer type display. >> >> TAX016AU.SQR >> >> 35 Init-DateTime () >> 36 Init-Number () >> 37 Init-Report (45) >> 51 Stdapi-Init () >> 54 Prompt (1389) >> 56 Select-Parameters () >> 57 Get-Values (1444) >> 60 Process-Parameters (1413) >> 1431 Format-DateTime () >> 1432 Format-DateTime () >> 61 Array-Init (100) >> 38 Process-Main (135) >> 145 Get-Group-Name (1338) >> 146 Build-company-list (1260) >> 1277 Get-Company-Data () >> 147 Get-Totals (157) >> 169 Cmpny-State-Data (177) >> 178 Pay-Earnings (192) >> 223 Get-PayGroup-Erncd (726) >> 739 Chk-Exempt-Erncd (771) >> >> ******** Original Message follows **************** >> If anyone is interested I've written a Unix shell script that produces a Procedure-Call tree for an SQR program. It shows which procedures call which procedures, the line they are called from, and the line the called procedure is on. Here's a sample: >> >> TAX016AU.SQR >> >> 35 Init-DateTime () >> 36 Init-Number () >> 37 Init-Report (45) >> 51 Stdapi-Init () >> 54 Prompt (1389) >> 56 Select-Parameters () >> 57 Get-Values (1444) >> 60 Process-Parameters (1413) >> 1431 Format-DateTime () >> 1432 Format-DateTime () >> 61 Array-Init (100) >> 38 Process-Main (135) >> 145 Get-Group-Name (1338) >> 146 Build-company-list (1260) >> 1277 Get-Company-Data () >> 147 Get-Totals (157) >> 169 Cmpny-State-Data (177) >> 178 Pay-Earnings (192) >> 223 Get-PayGroup-Erncd (726) >> 739 Chk-Exempt-Erncd (771) >> >> If you'd like a copy send me an email. >> >> Wayne Ivory >> Information Services >> Westralian Sands Limited >> >> Wayne Ivory >> Information Services >> Westralian Sands Limited >> >> >> ! >> ! >> >> ! >> ! > > Ben ITS - 977-4970 Mailto:ble@pcc.edu From owner-sqr-users@list.iex.net Wed Jan 7 13:25:44 1998 Date: Wed, 7 Jan 1998 07:36:17 +0000 From: David Stanley SICAS Center Subject: Batch VS Intractive and output directory Platform: Alpha OS: VMS 6.1 SQR: 3.12.... My thanx to everyone in there response to this topic. The team feels after researching this that we will go with my original idea to make this an input parameter. On another subject... I would like to redirect the default directory to the current directory that I'm in rather than SYS$LOGIN or the directory in which the SQR resides. We use the new-report option, which will direct the SQR directory as a default, or we can easily change the default to SYS$LOGIN. Is there a way in which the current directory can be made default??? Thanx in advance.... David Stanley Lead Programmer SICAS Center SUNY Oneonta If you take a shovel and start digging, you will eventaully be standing in a hole. stanledd@oneonta.edu http://www.oneonta.edu/~stanledd/ From owner-sqr-users@list.iex.net Wed Jan 7 14:51:33 1998 Date: Wed, 7 Jan 1998 11:22:06 -0800 From: Vicki Lo Subject: Typeface value of Arial and Symbol fonts Does anyone has any idea of the typeface value of Arial and Symbol fonts? To select different fonts on the same report in SQR, I believe we could either Use "declare printer" or "graphic font" to change fonts. However, we need To know the typeface value of each font before we can select it. The font number Listed in the SQR manual is differ from the PCL Font List from the HP printer and The manual does not list all the fonts that's being commonly used. Anyone has A list of the font number, please send it to me. I am greatly appreciated for your help. Vicki Lo Email: VICKIL@remedystaff.com From owner-sqr-users@list.iex.net Thu Jan 8 02:16:19 1998 Date: Wed, 7 Jan 1998 16:31:40 -0800 From: Scott Gunter Subject: SQLBase & SQR Help I need to know how to access the current date in an SQR Batch program that is connecting to a SQLBase database. I use SYSDATE in "where" clauses, but it doesn't work in other contexts. Thanks in advance for any help. Scott ksgunter@tdyryan.com From owner-sqr-users@list.iex.net Thu Jan 8 05:16:59 1998 Date: Thu, 8 Jan 1998 00:26:23 -0800 From: Chris Snow Subject: Re: SQLBase & SQR Help This is a multi-part message in MIME format. ------=_NextPart_000_0041_01BD1BCC.0CCD4760 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Scott, Each of the database platforms handle datefields differently. For SQLBase, if you are selecting a date field from a table, one possible syntax would be: begin-select @datetochar(datefield, 'dd-Mon-yy') &datefield from sometable end-select where "datefield" is the column name of the field you're selecting and "&datefield" is any variable name for the converted value. The string, 'dd-Mon-yy' can of course be any acceptable date format and edits the results. The value can be printed at the select by including the print expression at the end of the variable, such as @datetochar(datefield, 'dd-Mon-yy') &datefield (+1,1) or, print it somewhere else in the program as usual. Again, this only works for SQLBase. Oracle, Sybase, and SQLServer (ODBC) are all different. There are also lots of other ways to select and manipulate these date fields, but this one selects and converts all in one fail swoop. Hope this helps. __________________________________ Chris Snow, Integrity Information Services 800-724-5939 pgr. chris_snow@msn.com 'As knowledge increases, wonder deepens' Charles Morgan -----Original Message----- From: Scott Gunter To: Multiple recipients of list SQR-USERS Date: Wednesday, January 07, 1998 11:20 PM Subject: SQLBase & SQR Help I need to know how to access the current date in an SQR Batch program that is connecting to a SQLBase database. I use SYSDATE in "where" clauses, but it doesn't work in other contexts. Thanks in advance for any help. Scott ksgunter@tdyryan.com ------=_NextPart_000_0041_01BD1BCC.0CCD4760 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Scott,
 
Each of the database platforms handle datefields=20 differently.  For SQLBase, if you are selecting a date field from a = table,=20 one possible syntax would be:
 
begin-select
@datetochar(datefield, 'dd-Mon-yy')=20 &datefield
from sometable 
end-select 
 
where "datefield" is the column name of = the field=20 you're selecting and "&datefield" is any variable name for = the=20 converted value.  The string, 'dd-Mon-yy' can of course be any = acceptable=20 date format and edits the results.  The value can be printed at the = select=20 by including the print expression at the end of the variable, such=20 as
 
@datetochar(datefield, 'dd-Mon-yy') = &datefield (+1,1)
 
or, print it somewhere else in the = program as=20 usual.
 
Again, this only works for SQLBase.  Oracle, = Sybase, and=20 SQLServer (ODBC) are all different.  There are also lots of other = ways to=20 select and manipulate these date fields, but this one selects and = converts all=20 in one fail swoop.
Hope this helps. 
 
__________________________________
Chris=20 Snow, Integrity Information Services
800-724-5939 pgr.
chris_snow@msn.com
'As = knowledge=20 increases, wonder=20 deepens'
          &= nbsp;           &n= bsp;           &nb= sp;       =20 Charles Morgan
 
 
-----Original = Message-----
From:=20 Scott Gunter <ksgunter@TDYRYAN.COM>
T= o:=20 Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
= Date:=20 Wednesday, January 07, 1998 11:20 PM
Subject: SQLBase = & SQR=20 Help

I need to know how to access the current date = in=20 an
SQR Batch program that is connecting to a = SQLBase
database.

I=20 use SYSDATE in "where" clauses, but it doesn't work
in = other=20 contexts.

Thanks in advance for any help.

Scott
ksgunter@tdyryan.com
<= /HTML> ------=_NextPart_000_0041_01BD1BCC.0CCD4760-- From owner-sqr-users@list.iex.net Thu Jan 8 06:24:38 1998 Date: Thu, 8 Jan 1998 11:12:39 +0000 From: Karen Wickham Subject: Expansion/Cross-referencing tool Platform: SQL Server OS: NT SQR: v3 We are currently customising PeopleSoft delivered SQRs. Some of which have 30+ #include statements. Have you used/know of an expansion/cross-referencing tool which will document the progra Karen Wickham, Anchor Trust. From owner-sqr-users@list.iex.net Thu Jan 8 08:33:53 1998 Date: Thu, 8 Jan 1998 08:22:26 -0400 From: Kelly Korb Subject: SQR Training We are a new group of SQR users. We are using SQR with Peoplesoft and have attended the classes given by PeopleSoft. Does anyone know of additional training classes that are available for SQR? Thanks in advance for help in this matter. Kelly From owner-sqr-users@list.iex.net Thu Jan 8 10:57:25 1998 Date: Thu, 8 Jan 1998 06:55:47 -0600 From: Doug Harper Subject: Re: SQR Training For additional classes on SQR check out the SQRIBE web site. www.sqribe.com -----Original Message----- From: Kelly Korb To: Multiple recipients of list SQR-USERS Date: Thursday, January 08, 1998 7:34 AM Subject: SQR Training >We are a new group of SQR users. We are using SQR with Peoplesoft and have >attended the classes given by > PeopleSoft. Does anyone know of additional training classes that are >available for SQR? > > Thanks in advance for help in this matter. > > Kelly > From owner-sqr-users@list.iex.net Thu Jan 8 11:21:08 1998 Date: Thu, 8 Jan 1998 10:21:59 -0500 From: CSC Consulting Subject: PCL to PS Does anyone know of a PCL to PostScript converter/translator besides "lj2ps", "psroff3.0", or "hp2pbm". (I have had difficulty getting any of these to work properly). Essentially, I have some old SQR's in PCL that I need to fax out or email in PDF format. The old PCL files either have "all" PCL or ASCII with a one line PCL init header. For the faxes, I need either ASCII or PostScript. For email, I need PostScript since I already use the Adobe Acrobat Distiller to covert PS to PDF. Thanks in advance. Tom R. Loden CSC Consulting From owner-sqr-users@list.iex.net Thu Jan 8 13:22:18 1998 Date: Thu, 8 Jan 1998 08:40:27 -0600 From: "Cooper, Marcus" Subject: Re: SQLBase & SQR Help You might want to try this Begin-select @DateToChar(sysdate,'MM/DD/YYYY') &YourVar from TableName end-select Where TableName has only 1 or 2 rows so it doesn't take any time. Then, of course, you can use &YourVar as your variable for the current date I hope this helps Marcus Cooper Grant Thornton LLP mcooper@apl.gt-wis.com -----Original Message----- From: Scott Gunter [SMTP:ksgunter@TDYRYAN.COM] Sent: Wednesday, January 07, 1998 6:32 PM To: Multiple recipients of list SQR-USERS Subject: SQLBase & SQR Help I need to know how to access the current date in an SQR Batch program that is connecting to a SQLBase database. I use SYSDATE in "where" clauses, but it doesn't work in other contexts. Thanks in advance for any help. Scott ksgunter@tdyryan.com From owner-sqr-users@list.iex.net Thu Jan 8 13:51:38 1998 Date: Thu, 8 Jan 1998 10:20:52 -0500 From: Eric Hoffman Subject: Re: Expansion/Cross-referencing tool http://www.nau.edu/hr/hris/readme.htm Try the url above. Eric ______________________________ Reply Separator _________________________________ Subject: Expansion/Cross-referencing tool Author: SQR-USERS@USA.NET at Internet Date: 1/8/98 11:12 AM Platform: SQL Server OS: NT SQR: v3 We are currently customising PeopleSoft delivered SQRs. Some of which have 30+ #include statements. Have you used/know of an expansion/cross-referencing tool which will document the progra Karen Wickham, Anchor Trust. From owner-sqr-users@list.iex.net Thu Jan 8 13:58:40 1998 Date: Thu, 8 Jan 1998 09:34:14 -0600 From: "Jeremy C. Radwan" Subject: Re: SQLBase & SQR Help At 04:31 PM 1/7/98 -0800, you wrote: >I need to know how to access the current date in an >SQR Batch program that is connecting to a SQLBase >database. You can just write a select statement to give you the date right from SQLBase. I'm not familiar with SQLBase per se, but there is probably a table with one row, or a dummy table (like DUAL in Oracle). You can right a select in a procedure like: begin-select SYSDATE &Date move &Date to $Date from DUAL end-select Hope this helps, Jeremy --- Jeremy C. Radwan - http://www.concentric.net/~jradwan/ "Although it is not exactly 'real,' 'cyberspace' is a genuine place. Things happen there that have genuine consequences." - Bruce Sterling, "The Hacker Crackdown" From owner-sqr-users@list.iex.net Thu Jan 8 14:17:13 1998 Date: Thu, 8 Jan 1998 09:36:25 -0600 From: "Jeremy C. Radwan" Subject: Re: SQR Training At 08:22 AM 1/8/98 -0400, you wrote: > PeopleSoft. Does anyone know of additional training classes that are >available for SQR? Before I started using PeopleSoft and SQR I was sent to a training company in Detroit that taught straight SQR (non-PeopleSoft related) that went into a lot more detail than the PeopleSoft class. I don't remember the name of the company, but I do know they were an approved MITI training center. MITI is now SQRIBE, but I'm sure if you contact them (or check the website) they should be able to point you in the direction of training companies that teach SQR. Jeremy --- Jeremy C. Radwan - http://www.concentric.net/~jradwan/ "Although it is not exactly 'real,' 'cyberspace' is a genuine place. Things happen there that have genuine consequences." - Bruce Sterling, "The Hacker Crackdown" From owner-sqr-users@list.iex.net Thu Jan 8 15:21:19 1998 Date: Thu, 8 Jan 1998 08:34:44 -0700 From: "Jensen, Ray - Broomfield" Subject: Re: SQR Training Kelly - The company I work for offers training classes for SQR. For more information you can contact myself or call 800-755-8872 and ask for Kathleen Rinker, or you can check or page on the internet - www.tusc.com Ray Jensen The Ultimate Software Consultants Senior Consultant 303-664-2821 ray.jensen@cexp.com jensenr@tusc.com >-----Original Message----- >From: Kelly Korb [SMTP:Kelly_D._Korb@WESTFIELD-COS.COM] >Sent: Thursday, January 08, 1998 5:22 AM >To: Multiple recipients of list SQR-USERS >Subject: SQR Training > >We are a new group of SQR users. We are using SQR with Peoplesoft and have >attended the classes given by > PeopleSoft. Does anyone know of additional training classes that are >available for SQR? > > Thanks in advance for help in this matter. > > Kelly From owner-sqr-users@list.iex.net Thu Jan 8 17:55:46 1998 Date: Thu, 8 Jan 1998 17:38:11 -0500 From: Maury Davis Subject: Call WINEXEC from SQR? Can anyone help with the following: Trying to call a Windows executable (WINEXEC) from within an SQR? Any help would be appreciated. Thanks, Maury Davis From owner-sqr-users@list.iex.net Thu Jan 8 20:19:07 1998 Date: Thu, 8 Jan 1998 08:58:00 -0500 From: Wendy Stern Subject: Re: SQR Training I went to the SQRibe web site. They offer education courses by different groups. I took Advanced SQR a 2 day course from Context Intergration. I found it very helpful. I had been coding SQR for about a year when I took it. > ---------- > From: Kelly Korb[SMTP:Kelly_D._Korb@WESTFIELD-COS.COM] > Sent: Thursday, January 08, 1998 7:22 AM > To: Multiple recipients of list SQR-USERS > Subject: SQR Training > > We are a new group of SQR users. We are using SQR with Peoplesoft and > have > attended the classes given by > PeopleSoft. Does anyone know of additional training classes that > are > available for SQR? > > Thanks in advance for help in this matter. > > Kelly > From owner-sqr-users@list.iex.net Thu Jan 8 21:34:14 1998 Date: Thu, 8 Jan 1998 08:39:51 -0500 From: Sam Spritzer Subject: SQR Training -Reply Hi Kelly, You might want to check the SQRIBE web page for certified trainers. The URL is www.SQRIBE.com. I have found that nothing beats "hand-on" experience training along with working with someone who is extremely knowledgeable in SQR. Good luck! Sam >>> Kelly Korb 01/08/98 07:22am >>> We are a new group of SQR users. We are using SQR with Peoplesoft and have attended the classes given by PeopleSoft. Does anyone know of additional training classes that are available for SQR? Thanks in advance for help in this matter. Kelly From owner-sqr-users@list.iex.net Fri Jan 9 02:50:51 1998 Date: Thu, 8 Jan 1998 15:39:40 -0800 From: Scott Gunter Subject: Re: SQLBase & SQR Help Jeremy, Thanks for the help. I don't know if there is a table in SQLBase like the one you describe in Oracle. However the following worked for me: date-time () YYYY &curryear !Get current year from SQLBase let $currentyear = &curryear I placed this code in my Init-Report procedure (not within a begin-select). It returns the current year from SQLBase. Now I am trying to select records from a table based on whether the column "termination_dt" has a year value equal to $currentyear. I tried using the "substr" function on the termination_dt (i.e. substr(C.termination_dt,7,4) = $currentyear) but this only causes a "missing right parentheses" error). If you have any suggestions I'm all ears. Here is the (trimmed down version) Select statement: begin-SELECT A.emplid A.orig_hire_dt A.name B.empl_status A.ssn B.File_nbr C.termination_dt add 1 to #TotalRecords Do WriteRecordOut FROM PS_Personal_Data A, PS_Job B, PS_Employment C WHERE A.emplid = B.emplid AND C.emplid = B.emplid AND C.empl_rcd_nbr = B.empl_rcd_nbr AND (B.empl_status in ('A','L','P') OR (B.empl_status in ('D','R','T') AND substr(C.termination_dt,7,4) = $currentyear)) AND B.Effdt = (SELECT MAX(Effdt) FROM PS_Job B1 WHERE B1.Emplid = B.Emplid AND B1.Empl_Rcd_Nbr = B.Empl_Rcd_Nbr AND B1.Effdt <= SYSDATE) AND B.EffSeq = (SELECT MAX(EffSeq) FROM PS_JOB B2 WHERE B2.Emplid = B.Emplid AND B2.Empl_Rcd_Nbr = B.Empl_Rcd_Nbr AND B2.Effdt = B.Effdt) ORDER BY A.emplid end-SELECT Thanks again. Scott Gunter ksgunter@tdyryan.com Teledyne Ryan Aeronautical 619/291-7311 x1741 At 09:34 AM 1/8/98 -0600, you wrote: >At 04:31 PM 1/7/98 -0800, you wrote: > >>I need to know how to access the current date in an >>SQR Batch program that is connecting to a SQLBase >>database. > >You can just write a select statement to give >you the date right from SQLBase. I'm not familiar >with SQLBase per se, but there is probably a table >with one row, or a dummy table (like DUAL in Oracle). >You can right a select in a procedure like: > >begin-select >SYSDATE &Date > move &Date to $Date >from DUAL >end-select > >Hope this helps, >Jeremy > > >--- >Jeremy C. Radwan - >http://www.concentric.net/~jradwan/ >"Although it is not exactly 'real,' 'cyberspace' is a genuine place. Things >happen > there that have genuine consequences." - Bruce Sterling, "The Hacker >Crackdown" > > Scott Gunter IS Representative SR Teledyne Ryan Aeronautical 619/291-7311 x1741 From owner-sqr-users@list.iex.net Fri Jan 9 05:33:50 1998 Date: Fri, 9 Jan 1998 08:13:53 -0200 From: Romeu Finoti Sciotta Subject: Re: Typeface value of Arial and Symbol fonts This is a multi-part message in MIME format. ------=_NextPart_000_001D_01BD1CD6.85FEF6A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Vicki. You have to verify the "SQR Fonts" session in WIN.INI file and you = should include others fonts later. Example: [SQR Fonts] 3=3DCourier New,fixed 300=3DCourier New,fixed,bold 4=3DArial,proportional 400=3DArial,proportional,bold 5=3DTimes New Roman,proportional 500=3DTimes New Roman,proportional,bold 6=3DAvantGarde,proportional 8=3DPalatino,proportional 800=3DPalatino,proportional,bold 11=3DSymbol,symbol After it, you should include in your program following instructions: Example: Begin-setup #declare Courier 3 #declare Arial 4 End-setup Begin-Program . . Alter-Printer Font=3D{Arial} Point-Size=3D12 . . Alter-Printer Font=3D{Courier} Point-Size=3D10 . . End-Program I expect that I could help you. Regards. Romeu F. Sciotta Alcan Aluminio do Brasil Ltda. romeufs@mandic.com.br -----Mensagem original----- De: Vicki Lo Para: Multiple recipients of list SQR-USERS Data: Quarta-feira, 7 de Janeiro de 1998 17:54 Assunto: Typeface value of Arial and Symbol fonts >Does anyone has any idea of the typeface value of Arial and Symbol >fonts? >To select different fonts on the same report in SQR, I believe we >could either >Use "declare printer" or "graphic font" to change fonts. However, we >need >To know the typeface value of each font before we can select it. The >font number >Listed in the SQR manual is differ from the PCL Font List from the HP >printer and >The manual does not list all the fonts that's being commonly used. >Anyone has >A list of the font number, please send it to me. I am greatly >appreciated for your help. > >Vicki Lo >Email: VICKIL@remedystaff.com > ------=_NextPart_000_001D_01BD1CD6.85FEF6A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Vicki.

You have to verify the "SQR Fonts" = session in=20 WIN.INI file and you should
include others fonts=20 later.

Example:
[SQR Fonts]
3=3DCourier = New,fixed
300=3DCourier=20 New,fixed,bold
4=3DArial,proportional
400=3DArial,proportional,bold=
5=3DTimes=20 New Roman,proportional
500=3DTimes New=20 Roman,proportional,bold
6=3DAvantGarde,proportional
8=3DPalatino,pr= oportional
800=3DPalatino,proportional,bold
11=3DSymbol,symbol
<= BR>After=20 it, you should include in your program following=20 instructions:

Example:
Begin-setup
    = #declare=20 Courier 3
    #declare Arial=20 4
End-setup

Begin-Program
.
.
   = Alter-Printer=20 Font=3D{Arial} Point-Size=3D12
.
.
   Alter-Printer=20 Font=3D{Courier} Point-Size=3D10
.
.
End-Program

I = expect that I=20 could help you.

Regards.

Romeu F. Sciotta
Alcan = Aluminio do=20 Brasil Ltda.
romeufs@mandic.com.br

--= ---Mensagem=20 original-----
De: Vicki Lo <VICKIL@REMEDYSTAFF.COM>
= Para:=20 Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
= Data:=20 Quarta-feira, 7 de Janeiro de 1998 17:54
Assunto: Typeface value of = Arial and=20 Symbol fonts


>Does anyone has any idea of the typeface = value of=20 Arial and Symbol
>fonts?
>To select different fonts on the = same=20 report in SQR, I believe we
>could either
>Use "declare = printer" or "graphic font"  to change fonts. = However,=20 we
>need
>To know the typeface value of each font before we = can=20 select it. The
>font number
>Listed in the SQR manual is = differ from=20 the PCL Font List from the HP
>printer and
>The manual does = not list=20 all the fonts that's being commonly used.
>Anyone has
>A = list of the=20 font number, please send it to me. I am greatly
>appreciated for = your=20 help.
>
>Vicki Lo
>Email: VICKIL@remedystaff.com
>=
 
------=_NextPart_000_001D_01BD1CD6.85FEF6A0-- From owner-sqr-users@list.iex.net Fri Jan 9 05:53:22 1998 Date: Thu, 8 Jan 1998 19:43:42 -0600 From: Rakesh Kunta Subject: Re: SQR Training Hi Kelly, Here is the site that you might want to look at: http://www.sqribe.com/SERVER/servind.htm I took the training with Source Information two months back. I took both the Part 1and 2 for SQR Programmers. It was really very nice. Can you do me a favour. Actually, right now there is not a whole lot of SQR development in my company which is where i want to be. I also have PeopleTools certification. So, if you guys are looking for any SQR people w/ Peoplesoft, can you let me know. I can give you more details in case you need. I really appreciate your time. Thanks in advance. Rakesh. Sr. Systems Analyst. 817-258-1625. Kelly_D._Korb@WESTFIELD-COS.COM on 01/08/98 06:22:26 AM Please respond to SQR-USERS@USA.NET To: SQR-USERS@list.iex.net cc: (bcc: Rakesh Kunta/HQ/PCS PrimeCo) Subject: SQR Training We are a new group of SQR users. We are using SQR with Peoplesoft and have attended the classes given by PeopleSoft. Does anyone know of additional training classes that are available for SQR? Thanks in advance for help in this matter. Kelly From owner-sqr-users@list.iex.net Fri Jan 9 07:37:30 1998 Date: Thu, 8 Jan 1998 19:36:43 -0500 From: "Matthew F. Reagan" Subject: Re: SQR Training Kelly, My company (I am the instructor) also offers certified SQR training specializing in on-site customized classes. I was teaching SQR back when the product was owned by SQC (then D&N, then SQL*Solutions, then Sybase, then MITI, now called SQRIBE). Please call me at (610)651-6259 if you wish to discuss details. Matt... At 08:22 AM 1/8/98 -0400, you wrote: >We are a new group of SQR users. We are using SQR with Peoplesoft and have >attended the classes given by > PeopleSoft. Does anyone know of additional training classes that are >available for SQR? > > Thanks in advance for help in this matter. > > Kelly > > From owner-sqr-users@list.iex.net Fri Jan 9 13:09:11 1998 Date: Fri, 9 Jan 1998 08:16:32 -0600 From: Wes Williams Subject: Re: SQLBase & SQR Help -Reply Scott try the following: @yearno(C.termination_dt) = $currentyear Wes >>> Scott Gunter 01/08/98 05:39pm >>> Jeremy, Thanks for the help. I don't know if there is a table in SQLBase like the one you describe in Oracle. However the following worked for me: date-time () YYYY &curryear !Get current year from SQLBase let $currentyear = &curryear I placed this code in my Init-Report procedure (not within a begin-select). It returns the current year from SQLBase. Now I am trying to select records from a table based on whether the column "termination_dt" has a year value equal to $currentyear. I tried using the "substr" function on the termination_dt (i.e. substr(C.termination_dt,7,4) = $currentyear) but this only causes a "missing right parentheses" error). If you have any suggestions I'm all ears. Here is the (trimmed down version) Select statement: begin-SELECT A.emplid A.orig_hire_dt A.name B.empl_status A.ssn B.File_nbr C.termination_dt add 1 to #TotalRecords Do WriteRecordOut FROM PS_Personal_Data A, PS_Job B, PS_Employment C WHERE A.emplid = B.emplid AND C.emplid = B.emplid AND C.empl_rcd_nbr = B.empl_rcd_nbr AND (B.empl_status in ('A','L','P') OR (B.empl_status in ('D','R','T') AND substr(C.termination_dt,7,4) = $currentyear)) AND B.Effdt = (SELECT MAX(Effdt) FROM PS_Job B1 WHERE B1.Emplid = B.Emplid AND B1.Empl_Rcd_Nbr = B.Empl_Rcd_Nbr AND B1.Effdt <= SYSDATE) AND B.EffSeq = (SELECT MAX(EffSeq) FROM PS_JOB B2 WHERE B2.Emplid = B.Emplid AND B2.Empl_Rcd_Nbr = B.Empl_Rcd_Nbr AND B2.Effdt = B.Effdt) ORDER BY A.emplid end-SELECT Thanks again. Scott Gunter ksgunter@tdyryan.com Teledyne Ryan Aeronautical 619/291-7311 x1741 At 09:34 AM 1/8/98 -0600, you wrote: >At 04:31 PM 1/7/98 -0800, you wrote: > >>I need to know how to access the current date in an >>SQR Batch program that is connecting to a SQLBase >>database. > >You can just write a select statement to give >you the date right from SQLBase. I'm not familiar >with SQLBase per se, but there is probably a table >with one row, or a dummy table (like DUAL in Oracle). >You can right a select in a procedure like: > >begin-select >SYSDATE &Date > move &Date to $Date >from DUAL >end-select > >Hope this helps, >Jeremy > > >--- >Jeremy C. Radwan - >http://www.concentric.net/~jradwan/ >"Although it is not exactly 'real,' 'cyberspace' is a genuine place. Things >happen > there that have genuine consequences." - Bruce Sterling, "The Hacker >Crackdown" > > Scott Gunter IS Representative SR Teledyne Ryan Aeronautical 619/291-7311 x1741 From owner-sqr-users@list.iex.net Fri Jan 9 17:37:26 1998 Date: Fri, 9 Jan 1998 09:27:24 -0800 From: Scott Gunter Subject: Re: SQLBase & SQR Help I want to thank everyone for there help. I was finally able to select records from a table based on whether the column "termination_dt" has a year value equal to $currentyear. The key was that you can use SQLBase functions (described in the SQLBase SQL Reference Manual) in the Where clause of a Begin-Select. The following Select statement is a trimmed down version of what I finally used. begin-SELECT A.emplid B.deptid A.orig_hire_dt A.name B.action B.action_reason B.action_dt B.empl_status A.ssn B.File_nbr C.termination_dt FROM PS_Personal_Data A, PS_Job B, PS_Employment C WHERE A.emplid = B.emplid AND C.emplid = B.emplid AND C.empl_rcd_nbr = B.empl_rcd_nbr AND B.paygroup = '&XQ' AND (B.empl_status in ('A','L','P') OR (B.empl_status in ('D','R','T') AND @yearno(C.termination_dt) = $currentyear) OR (B.empl_status = 'S' AND @yearno(B.effdt) = $currentyear)) AND B.Effdt = (SELECT MAX(Effdt) FROM PS_Job B1 WHERE B1.Emplid = B.Emplid AND B1.Empl_Rcd_Nbr= B.Empl_Rcd_Nbr AND B1.Effdt <=SYSDATE) AND B.EffSeq = (SELECT MAX(EffSeq) FROM PS_JOB B2 WHERE B2.Emplid = B.Emplid AND B2.Empl_Rcd_Nbr= B.Empl_Rcd_Nbr AND B2.Effdt = B.Effdt) ORDER BY A.emplid end-SELECT Scott Gunter IS Representative SR Teledyne Ryan Aeronautical 619/291-7311 x1741 From owner-sqr-users@list.iex.net Fri Jan 9 22:45:58 1998 Date: Fri, 9 Jan 1998 12:58:42 -0400 From: David Cholaghian Subject: Re: SQLBase & SQR Help -Reply Scott, Instead of using substr(C.termination_dt,7,4) = $currentyear in your SQL Try TO_CHAR(C.termination_dt,'YYYY') = $currentyear David Cholaghian Bentley College From owner-sqr-users@list.iex.net Mon Jan 12 04:39:24 1998 Date: Mon, 12 Jan 1998 10:27:57 +0100 From: Fredrik Mansfeld Subject: Print with italic font Hi, I have a very short question which I hope someone can give me a quick answer to: How do I do to print text in my reports with italics. I use SQRW version 4.0 and print on a Postscript printer. Regards, Fredrik Mansfeld, Abaris AB, Sweden From owner-sqr-users@list.iex.net Mon Jan 12 10:43:57 1998 Date: Mon, 12 Jan 1998 10:23:32 -0500 From: Paul Siem Subject: Barcode Printing Hi, I am printing out barcodes using the print-barcode command. Although there is a parameter for determining the height of the barcode, there isn't one to change the width of the barcode. For some of the larger barcodes I'm having problems fitting it on one label. Does anyone know of any way to 'squeeze' the barcode graphics ?? Any help is appreciated... Thanx Paul Siem Bay Resources 11880 28th Street North St. Petersburg, FL 33716 psiem@bay.com From owner-sqr-users@list.iex.net Mon Jan 12 11:18:33 1998 Date: Mon, 12 Jan 1998 07:14:00 -0700 From: Donald Raikes Subject: Re: Barcode Printing Paul, I worked with the print-barcode last year and discovered a couple of problems with it as well. I was able to modify the width, but I had to do it the hard way. I actually went into the postscript .lis file and modified the code for printing the barcode. Just as a warning, I also kept getting extra characters printed in the barcode so beware. From owner-sqr-users@list.iex.net Mon Jan 12 15:02:52 1998 Date: Mon, 12 Jan 1998 09:57:13 -0600 From: Randle Boyd Subject: Re: Barcode Printing Paul, we ran into a similar problem. The best solution we could find was to switch to 'TYPE = 8'. While 'Type= 12 ' produced a shorter barcode, our barcode reader couldn't read it. If there is a way to further compress a barcode, I would be very interested. Randle >---------- >From: Paul Siem[SMTP:psiem@BAY.COM] >Sent: Monday, January 12, 1998 9:23 AM >To: Multiple recipients of list SQR-USERS >Subject: Barcode Printing > >Hi, > >I am printing out barcodes using the print-barcode command. Although there >is a parameter for determining the height of the barcode, there isn't one >to change the width of the barcode. >For some of the larger barcodes I'm having problems fitting it on one >label. > >Does anyone know of any way to 'squeeze' the barcode graphics ?? > >Any help is appreciated... > >Thanx > > >Paul Siem >Bay Resources >11880 28th Street North >St. Petersburg, FL 33716 >psiem@bay.com > From owner-sqr-users@list.iex.net Mon Jan 12 19:42:59 1998 Date: Mon, 12 Jan 1998 16:18:11 -0800 From: Tai Luong Subject: Re: Available: SQR Tree Utility (Attempt 2) Hi Wayne, I've received your mail the second time. I can't view your the attachment sqrtree. Pine gives me the error message: [Don't know how to display attachment format Application/OCTET-STREAM] What should I do? Thank you very much for trying! Tai Luong. On Wed, 7 Jan 1998, Wayne Ivory wrote: > With compliments. And could you please do me a favour - I have sent it to = > several people and asked them to let me know what they think. But apart = > from one guy who said there was no attachment and asked me to resend, I = > haven=27t heard anything. > > Could you please advise if you got it and if it works (and if you like = > it). > > Wayne Ivory > Information Services > Westralian Sands Limited > > > >>> Ken Gartman 7/1/98 7:32:57 am >>> > Hi there, Wayne=21 > I=27d also like a copy of your Software. > > Happy Computing, > Ken Gartman > Maryland, USA > > > Wayne Ivory wrote: > > > > Since I posted my original message I=27ve had a few replies and noticed = > the example I had pasted into the message got all scrunched together (I = > hate that - so much for WYSIWYG). I=27ll try pasting it here using a = > different method - unfortunately I won=27t know if it works until after = > I=27ve done it. In case it doesn=27t, imagine a Windows-Explorer type = > display. > > > > TAX016AU.SQR > > > > 35 Init-DateTime () > > 36 Init-Number () > > 37 Init-Report (45) > > 51 Stdapi-Init () > > 54 Prompt (1389) > > 56 Select-Parameters () > > 57 Get-Values (1444) > > 60 Process-Parameters (1413) > > 1431 Format-DateTime () > > 1432 Format-DateTime () > > 61 Array-Init (100) > > 38 Process-Main (135) > > 145 Get-Group-Name (1338) > > 146 Build-company-list (1260) > > 1277 Get-Company-Data () > > 147 Get-Totals (157) > > 169 Cmpny-State-Data (177) > > 178 Pay-Earnings (192) > > 223 Get-PayGroup-Erncd (726) > > 739 Chk-Exempt-Erncd (771) > > > > ******** Original Message follows **************** > > If anyone is interested I=27ve written a Unix shell script that produces = > a Procedure-Call tree for an SQR program. It shows which procedures call = > which procedures, the line they are called from, and the line the called = > procedure is on. Here=27s a sample: > > > > TAX016AU.SQR > > > > 35 Init-DateTime () > > 36 Init-Number () > > 37 Init-Report (45) > > 51 Stdapi-Init () > > 54 Prompt (1389) > > 56 Select-Parameters () > > 57 Get-Values (1444) > > 60 Process-Parameters (1413) > > 1431 Format-DateTime () > > 1432 Format-DateTime () > > 61 Array-Init (100) > > 38 Process-Main (135) > > 145 Get-Group-Name (1338) > > 146 Build-company-list (1260) > > 1277 Get-Company-Data () > > 147 Get-Totals (157) > > 169 Cmpny-State-Data (177) > > 178 Pay-Earnings (192) > > 223 Get-PayGroup-Erncd (726) > > 739 Chk-Exempt-Erncd (771) > > > > If you=27d like a copy send me an email. > > > > Wayne Ivory > > Information Services > > Westralian Sands Limited > > > > Wayne Ivory > > Information Services > > Westralian Sands Limited > > > > > > =21 > > =21 > > > > =21 > > =21 > > From owner-sqr-users@list.iex.net Tue Jan 13 01:08:22 1998 Date: Tue, 13 Jan 1998 08:55:58 +0800 From: Wayne Ivory Subject: Re: Available: SQR Tree Utility (Attempt 2) This is a Unix Shell script. It=27s not designed to be used in Windows = and hence has no extension, which is probably confusing your mail reader. = It is in fact however just a text file. You should be able to just save = the attachment to a file (if it hasn=27t done it already), port it to = Unix, give it execute permission, and run it. Good Luck. Wayne Ivory Information Services Westralian Sands Limited >>> Tai Luong 13/1/98 8:18:11 am >>> Hi Wayne, I=27ve received your mail the second time. I can=27t view your the = attachment sqrtree. Pine gives me the error message: =5BDon=27t know how to display attachment format Application/OCTET-STREAM= =5D What should I do? Thank you very much for trying=21 Tai Luong. On Wed, 7 Jan 1998, Wayne Ivory wrote: > With compliments. And could you please do me a favour - I have sent it = to =3D > several people and asked them to let me know what they think. But apart = =3D > from one guy who said there was no attachment and asked me to resend, I = =3D > haven=3D27t heard anything. > > Could you please advise if you got it and if it works (and if you like = =3D > it). > > Wayne Ivory > Information Services > Westralian Sands Limited > > > >>> Ken Gartman 7/1/98 7:32:57 am >>> > Hi there, Wayne=3D21 > I=3D27d also like a copy of your Software. > > Happy Computing, > Ken Gartman > Maryland, USA > > > Wayne Ivory wrote: > > > > Since I posted my original message I=3D27ve had a few replies and = noticed =3D > the example I had pasted into the message got all scrunched together (I = =3D > hate that - so much for WYSIWYG). I=3D27ll try pasting it here using a = =3D > different method - unfortunately I won=3D27t know if it works until = after =3D > I=3D27ve done it. In case it doesn=3D27t, imagine a Windows-Explorer = type =3D > display. > > > > TAX016AU.SQR > > > > 35 Init-DateTime () > > 36 Init-Number () > > 37 Init-Report (45) > > 51 Stdapi-Init () > > 54 Prompt (1389) > > 56 Select-Parameters () > > 57 Get-Values (1444) > > 60 Process-Parameters (1413) > > 1431 Format-DateTime () > > 1432 Format-DateTime () > > 61 Array-Init (100) > > 38 Process-Main (135) > > 145 Get-Group-Name (1338) > > 146 Build-company-list (1260) > > 1277 Get-Company-Data () > > 147 Get-Totals (157) > > 169 Cmpny-State-Data (177) > > 178 Pay-Earnings (192) > > 223 Get-PayGroup-Erncd (726) > > 739 Chk-Exempt-Erncd (771) > > > > ******** Original Message follows **************** > > If anyone is interested I=3D27ve written a Unix shell script that = produces =3D > a Procedure-Call tree for an SQR program. It shows which procedures = call =3D > which procedures, the line they are called from, and the line the called = =3D > procedure is on. Here=3D27s a sample: > > > > TAX016AU.SQR > > > > 35 Init-DateTime () > > 36 Init-Number () > > 37 Init-Report (45) > > 51 Stdapi-Init () > > 54 Prompt (1389) > > 56 Select-Parameters () > > 57 Get-Values (1444) > > 60 Process-Parameters (1413) > > 1431 Format-DateTime () > > 1432 Format-DateTime () > > 61 Array-Init (100) > > 38 Process-Main (135) > > 145 Get-Group-Name (1338) > > 146 Build-company-list (1260) > > 1277 Get-Company-Data () > > 147 Get-Totals (157) > > 169 Cmpny-State-Data (177) > > 178 Pay-Earnings (192) > > 223 Get-PayGroup-Erncd (726) > > 739 Chk-Exempt-Erncd (771) > > > > If you=3D27d like a copy send me an email. > > > > Wayne Ivory > > Information Services > > Westralian Sands Limited > > > > Wayne Ivory > > Information Services > > Westralian Sands Limited > > > > > > =3D21 > > =3D21 > > > > =3D21 > > =3D21 > > From owner-sqr-users@list.iex.net Tue Jan 13 19:42:08 1998 Date: Wed, 14 Jan 1998 10:33:12 +1000 From: "MORRIS, Dean" Subject: Viewing Report files containing printer codes. Dear All, I'm currently having a problem viewing some reports. These reports contain printer control characters. Obviously, when they are viewed from a text editor, they appear as a meaningless stream of escaped characters. What I'm after is a filter of some kind to convert these printer codes into plan ASCII viewable text. Ideally, I'd like a filter to install into Microsoft Word. Such a filter would also allow you to view the report, along with the formatting. Does anyone know if such a filter exists? Any help would be greatly appreciated. Regards, Dean. PS: Thank you to everyone who supplied some help on my Julian date problem. Dean Morris Price Waterhouse Urwick Suncorp~Metway Financial Integration Project (Project SAMBUCA) Phone (07) 3362 2413 0417 742 335 From owner-sqr-users@list.iex.net Wed Jan 14 13:47:31 1998 Date: Wed, 14 Jan 1998 08:30:41 -0500 From: Ray Ontko Subject: Re: Viewing Report files containing printer codes. Dean, There are other ways to view reports which are more than text-only: 1) Use -keep to preserve the .SPF file which can then be viewed using the SPF viewer SQRWV. This requires that the SQR viewer be installed on all machines that might be used to view the reports. 2) Use -printer:ps to generate a PostScript file which is then run through Adobe Acrobat Distiller. This produces a .PDF file, which can then be viewed with the Acrobat Reader. This requires that you purchase a license for Acrobat (less than $295) and that you install the Acrobat reader on all machines that might be used to view the reports, but this is not as bad as it sounds. Adobe has been distributing its reader free of charge for many years, and web users in your organization have likely downloaded it and are familiar with it. Hope this helps. Ray > Dear All, > > I'm currently having a problem viewing some reports. These reports > contain printer control characters. Obviously, when they are viewed > from a text editor, they appear as a meaningless stream of escaped > characters. > > What I'm after is a filter of some kind to convert these printer codes > into plan ASCII viewable text. Ideally, I'd like a filter to install > into Microsoft Word. Such a filter would also allow you to view the > report, along with the formatting. Does anyone know if such a filter > exists? > > Any help would be greatly appreciated. > > Regards, > > Dean. > > PS: Thank you to everyone who supplied some help on my Julian date > problem. > > Dean Morris > Price Waterhouse Urwick > Suncorp~Metway Financial Integration Project (Project SAMBUCA) > Phone (07) 3362 2413 0417 742 335 > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Time for a new signature line." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 14 13:57:10 1998 Date: Wed, 14 Jan 1998 09:18:52 -0500 From: Ray Ontko Subject: Re: Print with italic font Fredrik, > I have a very short question which I hope someone can give me a quick > answer to: > How do I do to print text in my reports with italics. > I use SQRW version 4.0 and print on a Postscript printer. Unfortunately, SQR doesn't support italics directly. If you can get away with it, consider using UNDERLINE instead. If you _must_ have italics, and you're willing to embed some postscript in the report, then you'll need to do something like this: print 'Here is some normal text' (1,1) print-direct printer=ps 'gsave' print-direct printer=ps '/Courier-Oblique findfont 12 scalefont setfont' print 'Here is some italic text' (2,1) print-direct printer=ps 'grestore' print 'Here is some normal text' (3,1) Note that this will show as plain text in the SQR Viewer, but will show correctly on the printer. Hope this helps. Ray ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Time for a new signature line." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 14 17:06:14 1998 Date: Wed, 14 Jan 1998 10:59:45 -0500 From: Ray Ontko Subject: SQRIBE Promotion Howdy SQR-USERS, I just received a copy of the SQRIBE Forum, their quarterly newsletter. On the front page is a box that talks about joining SQRUG, (which may not be the same as www.sqrug.com) by registering at www.sqribe.com. I went to http://www.sqribe.com and clicked on "Promotion" and added my name to their list, which I encourage you to do as well. This apparently adds you to the mailing list for a SQRIBE-sponsored SQRIBE International User Group conference to be held Nov 4-6 in Monterrey, CA, and registers you to win a free trip to any SQRIBE office, worldwide (and a life size chocolate bunny ;-). Mark your calendars and "join" SQRIBE's list by registering at the site. Ray P.S.: A note to the people at SQRIBE and www.sqrug.com: Please clarify the relationship between SQRIBE Internation User Group and SQR Users Group. ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Ask me about SQR and Linux" rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 14 23:47:41 1998 Date: Wed, 14 Jan 1998 18:48:52 -0500 From: Ray Ontko Subject: Re: Wrapping Proportional Fonts Julian, > Does anyone have a solution to wrapping of proportional fonts ( mixed > case and all uppercase )??? This requires a little work. The basic problem is that SQR doesn't know the widths of each character of a proportional font. There are solutions available for SQR, but they require you to obtain or produce your own font metrics. Take a look at: http://www.ontko.com/sqr/hp.html which is a collection of routines that I wrote for handling proportional fonts for hp printers, mostly for truncation. I did not attempt to address the wrap problem, however. For that, you'll need to look at: http://www.sqrug.com/~ftp/wrap/ Unfortunately, it doesn't address the problem of how to come up with the font metric information. Hope this helps. Ray ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Ask me about SQR for Linux" rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Fri Jan 16 03:10:03 1998 Date: Thu, 15 Jan 1998 16:10:16 -0800 From: Tai Luong Subject: Add table to select paragraph Hello Gurus! Is there a way to add a 'dynamic' table name in a SELECT paragraph? For example, in the following code, I would like to include a table called 'tab_x' in the selection, only when it is called for ($include_tab_x = 'Y'). The code below doesn't work: Begin-Program Do Init Do Test End-Program Begin Procedure Init move '' to $extra_tab move '' to $and_clause if upper($include_tab_x) = 'Y' end-if End-Procedure From owner-sqr-users@list.iex.net Fri Jan 16 14:11:23 1998 Date: Fri, 16 Jan 1998 13:56:18 -0500 From: YMCKINNE Subject: dat output files I am a new user of sqr and I am trying to create a flat file. I am opening and writing to a file within my sqr code. When I run my code, my output is sent to my temp file in my c directory. When I run my code, I am not finding my .dat file in the temp file on my c directory or anywhere on my c drive. I was wondering if someone could give me some advice on what I might try to fix the problem. My code is as follows: begin-procedure init do create_file end-procedure !init !************************************************************** !Create File !************************************************************** begin-procedure create_file open '{filename.dat}'as 1 for-writing stat=#status record=2050 end-procedure !create_file Thanks, Yolanda From owner-sqr-users@list.iex.net Fri Jan 16 16:08:56 1998 Date: Fri, 16 Jan 1998 13:07:54 -0600 From: "Cooper, Marcus" Subject: Unloading a table in SQLBase Hello everyone, I am trying to unload a table to a filename that is entered into a variable using SQLBase and SQR3. When I try this is doesn't like the variable as part of my unload statement. Here is what I am doing: Begin-procedure Begin-SQL Unload data SQL $FileName ps_health_benefit End-SQL End-procedure (where $FileName was entered through an input statement.) It says it can't bind to my variable. I hope someone can help Thanks Marcus Cooper Grant Thornton LLP Mcooper@apl.gt-wis.com From owner-sqr-users@list.iex.net Fri Jan 16 18:02:33 1998 Date: Fri, 16 Jan 1998 11:26:44 -0500 From: CSC Consulting Subject: Re: Add table to select paragraph You can try the following code to dynamically specify the table name in the select paragraph of the procedure test Begin-Program Do Init Do Test End-Program Begin Procedure Init move '' to $extra_tab move '' to $and_clause if upper($include_tab_x) = 'Y' move 'tab_x' to $table_name end-if End-Procedure begin-procedure test begin-select select a, b, c from [$table_name] end-select end-procedure ______________________________ Reply Separator _________________________________ Subject: Add table to select paragraph Author: SQR-USERS@USA.NET at INTERNET Date: 1/15/98 4:10 PM Hello Gurus! Is there a way to add a 'dynamic' table name in a SELECT paragraph? For example, in the following code, I would like to include a table called 'tab_x' in the selection, only when it is called for ($include_tab_x = 'Y'). The code below doesn't work: Begin-Program Do Init Do Test End-Program Begin Procedure Init move '' to $extra_tab move '' to $and_clause if upper($include_tab_x) = 'Y' end-if End-Procedure From owner-sqr-users@list.iex.net Fri Jan 16 18:23:48 1998 Date: Fri, 16 Jan 1998 09:00:17 -0800 From: Scott Gunter Subject: Re: Add table to select paragraph Have you considered putting the select in a paragraph and copying it so there are two paragraphs: one including your table and one not. then you could call the paragraphs depending on the value of $include_tab_x. From owner-sqr-users@list.iex.net Fri Jan 16 21:41:00 1998 Date: Fri, 16 Jan 1998 12:37:48 -0800 From: Scott Gunter Subject: Re: Unloading a table in SQLBase Hello Marcus, I'm not real experienced with SQR3, but I think that if you could issue an unload statement, and you wanted to use a bind variable in the parameter list you would need to place the variable name in braces {FileName}. Sorry, I don't have time to test this out myself, but maybe you could try it. Good Luck, Scott Gunter IS Representative SR Teledyne Ryan Aeronautical 619/291-7311 x1741 From owner-sqr-users@list.iex.net Fri Jan 16 22:40:57 1998 Date: Fri, 16 Jan 1998 14:06:01 -0500 From: Wendy Stern Subject: Re: dat output files This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------ =_NextPart_000_01BD2287.E2525DA0 Content-Type: text/plain This program reads a flat file and creates another one. Hope this helps. Wendy > ---------- > From: YMCKINNE[SMTP:YMCKINNE@LANIER.COM] > Sent: Friday, January 16, 1998 1:56 PM > To: Multiple recipients of list SQR-USERS > Subject: dat output files > > I am a new user of sqr and I am trying to create a flat file. I > am > opening and writing to a file within my sqr code. When I run my > code, > my output is sent to my temp file in my c directory. > > When I run my code, I am not finding my .dat file in the temp > file on > my c directory or anywhere on my c drive. I was wondering if > someone > could give me some advice on what I might try to fix the problem. > > > My code is as follows: > > begin-procedure init > do create_file > end-procedure !init > > !************************************************************** > !Create File > !************************************************************** > > begin-procedure create_file > open '{filename.dat}'as 1 for-writing stat=#status > record=2050 > end-procedure !create_file > > > Thanks, > > Yolanda > ------ =_NextPart_000_01BD2287.E2525DA0 Content-Type: application/octet-stream; name="conversn.sqr" Content-Disposition: attachment; filename="conversn.sqr" #include 'setenv.sqc' !Set environment #Include 'setup10.sqc' !Printer and page-size initialization begin-report do Init-DateTime do Init-Number do Stdapi-Init move 'CONVERT' to $reportid move 'Elkton Conversion file' to $reporttitle display $ReportTitle do Get-Current-DateTime display 'ReportDate: ' display $reportdate do Report close 1 close 10 display ' ' date-time () hh:mi:ss &timeended display 'count ' noline display #count display 'Report Ended: ' noline display &timeended commit do Stdapi-Term end-report begin-procedure REPORT open 'c:\UNZIPPED\OUTPUT\OUTPUT.DAT' as 1 for-reading record=1786:fixed status = #open1 if #open1 = -1 display 'Open for c:\UNZIPPED\OUTPUT\OUTPUT.DAT FAILED' stop end-if open 'Y:\PUBLIC\ELKMMS.DAT' as 10 for-writing record=47:fixed status = #open10 if #open10 = -1 display 'Open for Y:\PUBLIC\ELKMMS.DAT FAILED' stop end-if while 1 = 1 read 1 into $record:1786 if #end-file = 1 break !exit the "while" end-if do Process-Data end-while end-procedure begin-procedure Process-DATA add 1 to #count extract $account from $record 0 6 extract $make from $record 1305 4 extract $meter from $record 1310 9 extract $size from $record 1328 5 extract $start from $record 1335 6 extract $setindex from $record 1343 9 extract $removal from $record 1354 6 extract $dials from $record 1374 1 extract $temperature from $record 1587 1 write 10 from - $account:6 - $make:4 - $meter:9 - $size:5 - $start:6 - $setindex:9 - $removal:6 - $dials:1 - $temperature:1 end-procedure #Include 'getdatcd.sqc' !Get-Date-Codes procedure #Include 'datetime.sqc' !Routines for date and time formatting #Include 'curdttim.sqc' !Get-Current-DateTime procedure #Include 'number.sqc' !Routines to format numbers #include 'stdapi.sqc' !Routine to update Run status ------ =_NextPart_000_01BD2287.E2525DA0-- From owner-sqr-users@list.iex.net Sat Jan 17 00:18:17 1998 Date: Fri, 16 Jan 1998 12:34:03 -0800 From: Scott Gunter Subject: Re: dat output files Yolanda, I've included some code that might help you get started. begin-procedure InitRoutine . . . !Assign filename and path to variable !and call procedure to handle opening your file(s) let $output_file = 'c:\temp\filename.dat' Do Open-files . . . end-procedure begin-procedure Open-files OPEN $output_file AS 1 FOR-WRITING RECORD=050:FIXED STATUS = #Open1 IF #Open1 = -1 DISPLAY 'Error opening ' || $output_file DISPLAY 'Status is ' NOLINE DISPLAY #Open1 STOP QUIET END-if end-procedure ! Once you open the file you must select your data ! and move it to the output fields (defined in your ! write statement.) move &a.emplid to $0field1 move &a.name to $0field2 move &a.misc to $0field3 ! Call the write procedure for each record ! you want to write. Do WriteRecordOut !Write procedure Begin-Procedure WriteRecordOut WRITE 1 FROM $Ofield1:6 $Ofield2:20 $Ofield3:20 $Ofiller:4 End-Procedure I don't use an explicit close statement. I assume SQRW handles that at program termination. But you can include one if you like !close output file close 1 Hope this helps you get going. Scott Gunter IS Representative SR Teledyne Ryan Aeronautical 619/291-7311 x1741 From owner-sqr-users@list.iex.net Sat Jan 17 01:09:27 1998 Date: Fri, 16 Jan 1998 15:17:45 -0600 From: Wes Williams Subject: dat output files -Reply Hi Yolanda I write flatfiles by selecting the columns is wish to be included in the file and then format them into fixed lengths through the print command. This will create a .LIS file you can specify the filename if you so choose. Example: !fORMAT FOR FLAT FILE print $lastname (0,0,015) ! NAME print $div (0,0,002) ! DIVISION print &dept (0,0,003) ! DEPT print &pltsite (0,0,002) ! PLT SITE print $location (0,0,010) ! LOCATION print $Phone (0,0,013) ! PHONE print $dcode (0,0,001) ! D CODE print $device (0,0,005) ! DEVICE DESCRIPTION print &changedte (0,0,008) edit mm/dd/yy print $hnum (0,0,008) ! H NUMBER print &port (0,0,004) ! PORT print &harm (0,0,005) ! HARMONICA print &idf (0,0,008) ! IDF print &node (0,0,008) ! NODE NEW-PAGE FROM COMPANY WHERE COMPANY.COMPANY = &ENAME END-SELECT END-PROCEDURE begin-setup page-size 1 0297 no-formfeed end-setup Hope this helps Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> YMCKINNE 01/16/98 12:56pm >>> I am a new user of sqr and I am trying to create a flat file. I am opening and writing to a file within my sqr code. When I run my code, my output is sent to my temp file in my c directory. When I run my code, I am not finding my .dat file in the temp file on my c directory or anywhere on my c drive. I was wondering if someone could give me some advice on what I might try to fix the problem. My code is as follows: begin-procedure init do create_file end-procedure !init !************************************************************** !Create File !************************************************************** begin-procedure create_file open '{filename.dat}'as 1 for-writing stat=#status record=2050 end-procedure !create_file Thanks, Yolanda From owner-sqr-users@list.iex.net Sat Jan 17 01:18:25 1998 Date: Fri, 16 Jan 1998 17:12:38 -0500 From: Al Patel Subject: Re: Unloading a table in SQLBase Depending on what SQL too you're using, you should be able to capture all the output to a file. You may want to investigate those utility preferences. It may be as simple as checking a box that says capture to file, and you can specify the filename and directory. Al From owner-sqr-users@list.iex.net Sat Jan 17 02:32:10 1998 Date: Fri, 16 Jan 1998 13:50:26 -0700 From: Robert Goshko Subject: Re: Unloading a table in SQLBase ------ =_NextPart_000_01BD2285.B5D7DEA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Marcus, When you are using variable in SQL that you want to be used as part of = the SQL command statement, you have to use the square brackets (e.g. = [$FileName]), change your SQL to: Begin-procedure Begin-SQL Unload data SQL [$FileName] ps_health_benefit End-SQL End-procedure Later... Rob -----Original Message----- From: Cooper, Marcus [SMTP:MCooper@APL.GT-WIS.COM] Sent: Friday, January 16, 1998 12:08 PM To: Multiple recipients of list SQR-USERS Subject: Unloading a table in SQLBase Hello everyone, I am trying to unload a table to a filename that is entered into a variable using SQLBase and SQR3. When I try this is doesn't like the variable as part of my unload statement. Here is what I am doing: Begin-procedure Begin-SQL Unload data SQL $FileName ps_health_benefit End-SQL End-procedure (where $FileName was entered through an input statement.) It says it can't bind to my variable. I hope someone can help Thanks Marcus Cooper Grant Thornton LLP Mcooper@apl.gt-wis.com ------ =_NextPart_000_01BD2285.B5D7DEA0 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+Ih8UAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEkAYAkAEAAAEAAAAQAAAAAwAAMAIAAAAL AA8OAAAAAAIB/w8BAAAAQQAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAFNRUi1VU0VSU0BVU0Eu TkVUAFNNVFAAU1FSLVVTRVJTQFVTQS5ORVQAAAAAHgACMAEAAAAFAAAAU01UUAAAAAAeAAMwAQAA ABIAAABTUVItVVNFUlNAVVNBLk5FVAAAAAMAFQwBAAAAAwD+DwYAAAAeAAEwAQAAABQAAAAnU1FS LVVTRVJTQFVTQS5ORVQnAAIBCzABAAAAFwAAAFNNVFA6U1FS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gEAbRAAAAADABAQAAAAAAMAERAAAAAA AwCAEP////9AAAcw0GXm4r8ivQFAAAgw0GXm4r8ivQELAACACCAGAAAAAADAAAAAAAAARgAAAAAD hQAAAAAAAAMAAoAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAFgAggBgAAAAAAwAAAAAAA AEYAAAAAUoUAALcNAAADAAmACCAGAAAAAADAAAAAAAAARgAAAAABhQAAAAAAAB4AEoAIIAYAAAAA AMAAAAAAAABGAAAAAFSFAAABAAAABAAAADguMAALABaACCAGAAAAAADAAAAAAAAARgAAAAAOhQAA AAAAAAMAF4AIIAYAAAAAAMAAAAAAAABGAAAAABGFAAAAAAAAAwAZgAggBgAAAAAAwAAAAAAAAEYA AAAAGIUAAAAAAAAeACiACCAGAAAAAADAAAAAAAAARgAAAAA2hQAAAQAAAAEAAAAAAAAAHgApgAgg BgAAAAAAwAAAAAAAAEYAAAAAN4UAAAEAAAABAAAAAAAAAB4AKoAIIAYAAAAAAMAAAAAAAABGAAAA ADiFAAABAAAAAQAAAAAAAAAeAD0AAQAAAAUAAABSRTogAAAAAAMADTT9NwAAkZc= ------ =_NextPart_000_01BD2285.B5D7DEA0-- From owner-sqr-users@list.iex.net Sat Jan 17 07:42:11 1998 Date: Sat, 17 Jan 1998 08:29:29 -0400 From: Aya Fall Subject: Getting hours worked from previous pay periods. Hi there: I want to create a procedure that would determine the hours worked by an employee x pay periods prior to enrollment in SDB. The enrollment date is known. What I need to determine is the hours worked let's say 15 pay periods prior to enrollment in Sick and Disability Benefits. Hope someone can help. Thanks. Aya. From owner-sqr-users@list.iex.net Sat Jan 17 08:28:44 1998 Date: Sat, 17 Jan 1998 08:11:24 -0500 From: Sam Spritzer Subject: Re: Getting hours worked from previous pay periods. Look for a table which contains all of the hours information and then you can do a SELECT on that table with a WHERE clause of all hours that are least than (or equal to the enrollment date. If you just want 15 payperiods or the 15th payperiod, you can use COUNT to get exactly what you want. Hope this helps. Sam At 08:29 AM 1/17/98 -0400, you wrote: >Hi there: > >I want to create a procedure that would determine the hours worked by an >employee x pay periods prior to enrollment in SDB. The enrollment date >is known. What I need to determine is the hours worked let's say 15 pay >periods prior to enrollment in Sick and Disability Benefits. Hope >someone can help. > >Thanks. > >Aya. > spritzer@localnet.com "This space perpetually under construction." From owner-sqr-users@list.iex.net Sat Jan 17 23:14:11 1998 Date: Sat, 17 Jan 1998 22:44:11 EST From: BELLARY Subject: Re: dat output files I think your syntax is wrong. Remove curley brackets in " {filename.dat} " if you have used it really like this in your program and not #defined filename.dat or used 'ask filename.dat' . Also check for value of #status after open statement to verify if there was any error in opening the file. I will get back to you after I run this code practically at my workplace. Goodluck. -arun In a message dated 98-01-16 14:11:36 EST, you write: << I am a new user of sqr and I am trying to create a flat file. I am opening and writing to a file within my sqr code. When I run my code, my output is sent to my temp file in my c directory. When I run my code, I am not finding my .dat file in the temp file on my c directory or anywhere on my c drive. I was wondering if someone could give me some advice on what I might try to fix the problem. My code is as follows: begin-procedure init do create_file end-procedure !init !************************************************************** !Create File !************************************************************** begin-procedure create_file open '{filename.dat}'as 1 for-writing stat=#status record=2050 end-procedure !create_file >> From owner-sqr-users@list.iex.net Sat Jan 17 23:46:23 1998 Date: Fri, 16 Jan 1998 11:04:49 +0100 From: Jean-Luc Peyret Subject: Re: dat output files --0__=svLYTpLraIPTGu7ze2O8oKvxdSSetLlYPU51sDIaiy8FwVaStcxIaXjJ Content-type: text/plain; charset=us-ascii Hi. See responses in your code + here's an example which works for me. !directories for file writing #define outpath C:\user\sqr\ #define tempdir C:\temp\ #define NATIVE_DATE_LEN 10 #define MAX_PROG_LINEWIDTH 255 somewhere else, I open: !opening of RL SQL Audit file let #file_audit_rl = 2 let $file_audit_rl = '{outpath}AUUCFRRL.SQL' print 'open 2' (+1,1) open $file_audit_rl as #file_audit_rl for-writing record={MAX_PROG_LINEWIDTH} JLuc (Embedded image moved YMCKINNE to file: 01/16/98 07:56 PM PIC13307.PCX) Please respond to SQR-USERS@USA.NET To: Multiple recipients of list SQR-USERS cc: (bcc: Jean-Luc Peyret) Subject: dat output files I am a new user of sqr and I am trying to create a flat file. I am opening and writing to a file within my sqr code. When I run my code, my output is sent to my temp file in my c directory. When I run my code, I am not finding my .dat file in the temp file on my c directory or anywhere on my c drive. I was wondering if someone could give me some advice on what I might try to fix the problem. My code is as follows: begin-procedure init do create_file end-procedure !init !************************************************************** !Create File !************************************************************** begin-procedure create_file open '{filename.dat}'as 1 for-writing stat=#status record=2050 !this looks like a precompilation variable to me !have you #DEFINEd it? !try hardcoding 'c:\temp\filename.dat' first, then try substitution variables !do you check status? end-procedure !create_file From owner-sqr-users@list.iex.net Sat Jan 17 23:52:17 1998 Date: Fri, 16 Jan 1998 14:16:00 -0500 From: Ray Ontko Subject: Re: dat output files Yolanda, Try using open 'filename.dat' as 1 for-writing stat=#status record=2050 instead of open '{filename.dat}' as 1 for-writing stat=#status record=2050 The curly braces "{" and "}" are used to indicate the name of a #define variable. Ray > > > > > do create_file From owner-sqr-users@list.iex.net Sat Jan 17 23:54:32 1998 Date: Fri, 16 Jan 1998 11:35:22 -0800 From: Chris Snow Subject: Re: dat output files Yolanda, begin-setup end-setup begin-program From owner-sqr-users@list.iex.net Sun Jan 18 00:00:34 1998 Date: Fri, 16 Jan 1998 14:49:28 -0500 From: Jama Yusuf Subject: Re: dat output files Yolanda, Based on your partial code listing, I think you are using the substitution variable {filename.dat} without defining it, although you would have gotten an error when you ran the SQR. Not sure what is your substitution variable {filename.dat} is defined as, But here are two was of accomplishing it: do create_file From owner-sqr-users@list.iex.net Mon Jan 19 04:53:21 1998 Date: Mon, 19 Jan 1998 10:43:34 +0100 From: Eric Ingram Subject: Re: Getting hours worked from previous pay periods. Status Distribution January 17, 1998 14:36:46 The message regarding "Re: Getting hours worked from previous pay perio= ds." sent on January 17, 1998 14:36:46 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 04:53:46 1998 Date: Mon, 19 Jan 1998 10:44:13 +0100 From: Eric Ingram Subject: Getting hours worked from previous pay periods. Status Distribution January 17, 1998 14:02:16 The message regarding "Getting hours worked from previous pay periods."= sent on January 17, 1998 14:02:16 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:20:20 1998 Date: Mon, 19 Jan 1998 12:15:30 +0100 From: Eric Ingram Subject: Re: Unloading a table in SQLBase Status Distribution January 17, 1998 04:04:31 The message regarding "Re: Unloading a table in SQLBase" sent on Januar= y 17, 1998 04:04:31 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:22:52 1998 Date: Mon, 19 Jan 1998 12:17:43 +0100 From: Eric Ingram Subject: Re: dat output files Status Distribution January 17, 1998 06:21:47 The message regarding "Re: dat output files" sent on January 17, 1998 0= 6:21:47 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:24:16 1998 Date: Mon, 19 Jan 1998 12:19:47 +0100 From: Eric Ingram Subject: Re: dat output files Status Distribution January 17, 1998 04:51:46 The message regarding "Re: dat output files" sent on January 17, 1998 0= 4:51:46 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:33:10 1998 Date: Mon, 19 Jan 1998 12:21:33 +0100 From: Eric Ingram Subject: Re: Unloading a table in SQLBase Status Distribution January 17, 1998 08:36:34 The message regarding "Re: Unloading a table in SQLBase" sent on Januar= y 17, 1998 08:36:34 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:34:16 1998 Date: Mon, 19 Jan 1998 12:22:24 +0100 From: Eric Ingram Subject: dat output files -Reply Status Distribution January 17, 1998 07:21:59 The message regarding "dat output files -Reply" sent on January 17, 199= 8 07:21:59 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:43:54 1998 Date: Mon, 19 Jan 1998 12:22:29 +0100 From: Eric Ingram Subject: Re: Unloading a table in SQLBase Status Distribution January 17, 1998 07:21:34 The message regarding "Re: Unloading a table in SQLBase" sent on Januar= y 17, 1998 07:21:34 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:43:56 1998 Date: Mon, 19 Jan 1998 12:25:59 +0100 From: Eric Ingram Subject: Re: dat output files Status Distribution January 18, 1998 06:01:28 The message regarding "Re: dat output files" sent on January 18, 1998 0= 6:01:28 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:45:04 1998 Date: Mon, 19 Jan 1998 12:27:23 +0100 From: Eric Ingram Subject: Re: dat output files Status Distribution January 18, 1998 05:21:42 The message regarding "Re: dat output files" sent on January 18, 1998 0= 5:21:42 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:45:15 1998 Date: Mon, 19 Jan 1998 12:25:18 +0100 From: Eric Ingram Subject: Re: dat output files Status Distribution January 18, 1998 06:06:29 The message regarding "Re: dat output files" sent on January 18, 1998 0= 6:06:29 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:45:15 1998 Date: Mon, 19 Jan 1998 12:25:06 +0100 From: Eric Ingram Subject: Re: dat output files Status Distribution January 18, 1998 05:51:31 The message regarding "Re: dat output files" sent on January 18, 1998 0= 5:51:31 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 06:45:16 1998 Date: Mon, 19 Jan 1998 12:25:59 +0100 From: Eric Ingram Subject: Re: dat output files Status Distribution January 18, 1998 06:01:48 The message regarding "Re: dat output files" sent on January 18, 1998 0= 6:01:48 was sent by Status Recipient Type To Native Name SQR-USERS@list.iex.net Foreign Native Name SQR-USERS@list.iex.net\n\n\nINTERNET Recipients Status Reporters Type From Name Domain NOTES Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL@BULL Foreign Native Name CN=3DERIC INGRAM/OU=3DUK/O=3DBULL\nBULL\n= \n Organization BULL Org Unit 1 UK Last Name INGRAM First Name ERIC Status 769 Explanation Invalid recipient X.400 Status 769 Explanation Le d=E9lai de distribution est arriv=E9 =E0 expiration = From owner-sqr-users@list.iex.net Mon Jan 19 10:13:56 1998 Date: Mon, 19 Jan 1998 07:01:16 -0800 From: Chris Snow Subject: Fw: Re: dat output files Sorry, something happened to most all of my response... Anyhow, I pretty much agreed with the others. -----Original Message----- From: Chris Snow To: Multiple recipients of list SQR-USERS Date: Saturday, January 17, 1998 8:54 PM Subject: Re: dat output files Yolanda, begin-setup end-setup begin-program From owner-sqr-users@list.iex.net Mon Jan 19 13:07:29 1998 Date: Mon, 19 Jan 1998 12:32:39 -0400 From: Jennifer Sieber Subject: POPO005 - PO SQR modification Has anyone modified the delivered Purchase Order SQR ? I am trying to add our terms and conditions and I cannot get them to print on the whole page, I can only get them to print in the body section of the POPO005.SQR. We are in a DB2 environment, in the process of implementing release 6 GL, AP and PO. Any help is appreciated. Thanks, Jen From owner-sqr-users@list.iex.net Mon Jan 19 13:11:03 1998 Date: Mon, 19 Jan 1998 08:47:08 -0600 From: "Cooper, Marcus" Subject: Unloading a table in SQLBase again Hello again everyone, Earlier I asked how to unload a table from an SQR using SQLBase. I have changed my code to look like this: Begin-SQL Unload data SQL [$MyFile] ps_health_benefit End-SQL Where $MyFile was retrieved from an 'ASK' statement in the setup procedure. Now I am getting something very strange. I am getting the error number 5523 - Database commit failed, and then it shuts down the SQLBase server (not the box, but the program). Am I totally off the deep end here? I would appreciate any help, and thanks for the previous help on this problem. Marcus Cooper Grant Thornton LLP Mcooper@apl.gt-wis.com From owner-sqr-users@list.iex.net Mon Jan 19 20:23:33 1998 Date: Mon, 19 Jan 1998 13:36:34 EST From: JBBARTH Subject: Re: POPO005 - PO SQR modification Jen, We've have Purchasing version 5.1 running in a UNIX/Oracle environment and have modified popo005.sqr. When you say you are "trying to add our terms and conditions and I cannot get them to print on the whole page" are you refering to the disclosure text that prints at the bottom left of the page? We modified that by changing the $discl1 through $discl5 variables in the begin- footing procedure. I hope that this helps. If you have anymore questions let me know. Jake From owner-sqr-users@list.iex.net Tue Jan 20 10:23:08 1998 Date: Tue, 20 Jan 1998 08:53:09 -0600 From: Randle Boyd Subject: appending date-time to SPF Greetings, Is there a way to append the date and time to an SPF file so that it will not be overwritten by the next SPF file that is generated by the same report? If not, is the same sort of thing possible with a .LIS file? Also, does anyone run SQRs or SQTs from PowerBuilder v.5.x? TIA, Randle From owner-sqr-users@list.iex.net Tue Jan 20 15:03:58 1998 Date: Tue, 20 Jan 1998 09:45:00 -0600 From: Frank Ellington Subject: Re: appending date-time to SPF Randle: Have had luck with the following - let $filename = 'c:\temp\MEHRP001-' || $AsOfToday || '.LST' open $filename as 1 for-writing record=90 Thanks goes to Randy Meyer. Later, Frank ______________________________ Reply Separator _________________________________ Subject: appending date-time to SPF Author: at MEMCPSMTP Date: 1/20/98 8:53 AM Greetings, Is there a way to append the date and time to an SPF file so that it will not be overwritten by the next SPF file that is generated by the same report? If not, is the same sort of thing possible with a .LIS file? Also, does anyone run SQRs or SQTs from PowerBuilder v.5.x? TIA, Randle From owner-sqr-users@list.iex.net Tue Jan 20 15:20:26 1998 Date: Tue, 20 Jan 1998 15:05:34 -0500 From: "Budzinski, Robert" Subject: Can you use FTP in SQR? HI. Is it possible to FTP a file in SQR? I created a interface in SQR which creates a file that we FTP to our payroll system. We are currently going to write a UNIX script to do this, but I was wondering if this could be done in SQR. One benefit of doing it in SQR would be if the program bombs, a file would not be FTP'd and we would know to check the log. Any help would be appreciated. Thanks. From owner-sqr-users@list.iex.net Tue Jan 20 15:27:26 1998 Date: Tue, 20 Jan 1998 15:10:47 -0500 From: YMCKINNE Subject: Re: dat output files This worked for me!!! Thanks to Scott Gunter Question: I am a new user of sqr and I am trying to create a flat file. I am opening and writing to a file within my sqr code. When I run my code, my output is sent to my temp file in my c directory. When I run my code, I am not finding my .dat file in the temp file on my c directory or anywhere on my c drive. I was wondering if someone could give me some advice on what I might try to fix the problem. ______________________________ Forward Header __________________________________ Answer: Yolanda, I've included some code that might help you get started. begin-procedure InitRoutine . . . !Assign filename and path to variable !and call procedure to handle opening your file(s) let $output_file = 'c:\temp\filename.dat' Do Open-files . . . end-procedure begin-procedure Open-files OPEN $output_file AS 1 FOR-WRITING RECORD=050:FIXED STATUS = #Open1 IF #Open1 = -1 DISPLAY 'Error opening ' || $output_file DISPLAY 'Status is ' NOLINE DISPLAY #Open1 STOP QUIET END-if end-procedure ! Once you open the file you must select your data ! and move it to the output fields (defined in your ! write statement.) move &a.emplid to $0field1 move &a.name to $0field2 move &a.misc to $0field3 ! Call the write procedure for each record ! you want to write. Do WriteRecordOut !Write procedure Begin-Procedure WriteRecordOut WRITE 1 FROM $Ofield1:6 $Ofield2:20 $Ofield3:20 $Ofiller:4 End-Procedure I don't use an explicit close statement. I assume SQRW handles that at program termination. But you can include one if you like !close output file close 1 From owner-sqr-users@list.iex.net Tue Jan 20 16:13:06 1998 Date: Tue, 20 Jan 1998 11:45:22 -0500 From: Hamid Chefchaouni Subject: Re: appending date-time to SPF If you are using PowerBuilder interface you can run report.sqr and concatenate it with a random number ex:report_RandomNumber = report_56789.sqr I' m using visual basic 5 I hope this help > -----Original Message----- > From: Randle Boyd [SMTP:rboyd@RUAN.COM] > Sent: Tuesday, January 20, 1998 9:53 AM > To: Multiple recipients of list SQR-USERS > Subject: appending date-time to SPF > > Greetings, > > Is there a way to append the date and time to an SPF file so that it > will not be overwritten by the next SPF file that is generated by the > same report? If not, is the same sort of thing possible with a .LIS > file? > > Also, does anyone run SQRs or SQTs from PowerBuilder v.5.x? > > TIA, > Randle From owner-sqr-users@list.iex.net Tue Jan 20 19:10:36 1998 Date: Tue, 20 Jan 1998 07:20:34 -0400 From: Jennifer Sieber Subject: Re: POPO005 - PO SQR modification Jake, We have our own "Terms and Conditions" that needs to be attached as the first or last page of every purchase order. So I am trying to get this to print as a separate page, however, I cannot find a way to modify the Header and Footer so the terms and conditions page doesn't contain the margins for the header and footer. Is there a way to "turn off" the header or footer and then turn them back on? Thanks for your help. Jen From owner-sqr-users@list.iex.net Tue Jan 20 19:46:00 1998 Date: Tue, 20 Jan 1998 17:26:39 -0500 From: Andrew Campbell Subject: Can you use FTP in SQR? -Reply You can use the "call system using " if your ftp supports command line arguements... >>> "Budzinski, Robert" 01/20/98 03:05pm >>> HI. Is it possible to FTP a file in SQR? I created a interface in SQR which creates a file that we FTP to our payroll system. We are currently going to write a UNIX script to do this, but I was wondering if this could be done in SQR. One benefit of doing it in SQR would be if the program bombs, a file would not be FTP'd and we would know to check the log. Any help would be appreciated. Thanks. From owner-sqr-users@list.iex.net Tue Jan 20 19:54:05 1998 Date: Tue, 20 Jan 1998 10:14:58 -0500 From: Ignacio Lulli Subject: Multiple print reports Hi everybody, I new to SQRs and this group. I am trying to create several plain (no graphics) reports from my SQR. I have tried using the USE-REPORT command (along with its related DECLARE-REPORT and DECLARE-LAYOUT commands) but it doesn't seem to work. The SQR documentation said to expect files with the extensions LIS, L01, L02, etc. when using USE-REPORT. Instead I got SPF, S01, S02, etc. and these files (when opened) are full of special characters. The documentation said that that S__ files will be created ONLY when using the -nolis or -keep parameters, which I AM NOT. Can anyone tell me why I am not getting the L__ files? Where can the system be picking up the -nolis or -keep parameters? Any other ideas? (I would like to avoid using the SQR Print program, which I could not get to work.) Some parts of my code are listed below Oracle 7.3 PeopleSoft 7.0 NT !-------------------------------------------------------------------! ! Begin-Setup !-------------------------------------------------------------------! Begin-Setup DECLARE-LAYOUT main-file LEFT-MARGIN=0 TOP-MARGIN=0 BOTTOM-MARGIN=0 MAX-COLUMNS=112 ORIENTATION=LANDSCAPE END-DECLARE DECLARE-REPORT main-file LAYOUT=main-file PRINTER-type=lineprinter END-DECLARE DECLARE-LAYOUT error-file LEFT-MARGIN=0 TOP-MARGIN=0 BOTTOM-MARGIN=0 MAX-COLUMNS=112 ORIENTATION=LANDSCAPE END-DECLARE DECLARE-REPORT error-file LAYOUT=error-file PRINTER-type=lineprinter END-DECLARE DECLARE-LAYOUT audit-file LEFT-MARGIN=0 TOP-MARGIN=0 BOTTOM-MARGIN=0 MAX-COLUMNS=112 ORIENTATION=LANDSCAPE END-DECLARE DECLARE-REPORT audit-file LAYOUT=audit-file PRINTER-type=lineprinter END-DECLARE #include 'setupdb.sqc' ! Database specific setup End-Setup !-------------------------------------------------------------------! ! Begin Heading !-------------------------------------------------------------------! begin-Heading 5 #define ColR 94 let #RptCol = {ColR} - 2 print ' ' (1,1) print '*********************' () center print 'Report ID : ' (+1,1) print $ReportID () uppercase $ReportTitle1 print $ReportTitle1 () center page-number (0,#RptCol) 'Page No. ' print 'Schedule #: ' (+1,1) print $schedule_number () print 'Run Date ' (0,#RptCol) print $ReportDate () print 'Business Unit: ' (+1,1) print $business_unit () print 'Run Time ' (0,#RptCol) print $ReportTime () end-heading !****************************************************************** ! Do Generate-Payments ! Desc: Query for payment records !****************************************************************** Begin-Procedure 400-Generate-Payments !** Print main report use-report main-file #DEFINE Col1 1 #DEFINE Col2 9 #DEFINE Col3 40 #DEFINE Col3.5 88 #DEFINE Col4 95 let #w1 = {Col2} - {Col1} -1 let #w2 = {Col3} - {Col2} -1 let #w3 = {Col4} - {Col3} -1 #DEFINE Col1_len #w1 #DEFINE Col2_len #w2 #DEFINE Col3_len #w3 #DEFINE Col4_len 14 uppercase $ReportTitle2 print $ReportTitle2 (+1,,) center print 'PAYMENT' (+3,{Col1},{Col1_len}) print 'NUMBER' (+1,{Col1},{Col1_len}) print 'PAYEE NAME' (,{Col2},{Col2_len}) print 'INVOICES PAID' (,{Col3},{Col3_len}) print 'PAYMENT AMOUNT' (,{Col4},{Col4_len}) print '-------' (+1,{Col1},{Col1_len}) print '------------------------------' (,{Col2},{Col2_len}) print '------------------------------------------------------' (,{Col3},{Col3_len}) print '--------------' (,{Col4},{Col4_len}) use-report audit-file show '$report_type_aud ' $report_type_aud print $report_type_aud (+4,1,19) stop ....code continues... From owner-sqr-users@list.iex.net Tue Jan 20 21:44:29 1998 Date: Tue, 20 Jan 1998 18:21:24 -0800 From: Vicki Lo Subject: Print HPGL file Has anyone use SQR and print HPGL successfully?(use -printer:hp) We used Hijaak Pro 4.0 to convert a bmp to pgl file and my SQR statement is as follows: PRINT-IMAGE remedy_logo (1, 1) type = HPGL-FILE source = 'c:\temp\Remedy1.PGL' image-size = (40, 8) Did I need something else or anything wrong, because all I printed was a shaded box. Thank you in advance for your help! Vicki Email: VLCIKL@remedystaff.com From owner-sqr-users@list.iex.net Wed Jan 21 00:25:46 1998 Date: Tue, 20 Jan 1998 12:08:00 PST From: "TORRES, JENNIFER" Subject: Controlling HP printing & Print-Image Hello, I am trying to accomplish the following (on a unix machine): 1. Print an image on a report (using PRINT-IMAGE in eps format) 2. Control HP laserjet5si printer for SIMPLEX and PAPER TRAY (using ENCODE and PRINT-DIRECT) I can accomplish item #1 when I use -PRINTER:PS I can accomplish item #2 when i use -PRINTER:HP QUESTION: How do I control the printer and print an image in the same SQR ? Does my image need to be in HPGL format ? If so how do I convert my EPS file? Any ideas or suggestions are welcome !! J Torres Univ of Southern Colorado torres@uscolo.edu From owner-sqr-users@list.iex.net Wed Jan 21 01:18:07 1998 Date: Tue, 20 Jan 1998 15:16:54 -0500 From: Nathan Treadway Subject: Re: appending date-time to SPF > Is there a way to append the date and time to an SPF file so that it > will not be overwritten by the next SPF file that is generated by the > same report? If not, is the same sort of thing possible with a .LIS > file? I assume you are asking about appending the date/time to the *name* of the file. You can do this with the "new-report" command. If you execute a new-report with the new file name before anything is printed to the output file, the "original" report file will not be created. You can use $sqr-report (see"SQR Reserved Variables" on page 11 of the SQR v3 manual) and "date-time" or something like that to generate the proper name. If you use new-report, both the .spf and .lis file names will be changed. [Note that you can also use the -f command line option to change the name of the report files if it is easier to have the OS generate the unique file names for you rather than have SQR generate them.] Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 03:17:33 1998 Date: Tue, 20 Jan 1998 22:05:15 EST From: JBBARTH Subject: Re: POPO005 - PO SQR modification Jen, In the Begin-Header and Begin-Footer procedures you could have logic to not print the delivered text on the first page. For example: if $first_time = 'N' !* execute all the delivered code here else !* add any thing you want to print on the header/footer of your terms and !* condtions page here let $first_time = 'N' end-if Hope this helps. Jake From owner-sqr-users@list.iex.net Wed Jan 21 03:53:57 1998 Date: Tue, 20 Jan 1998 18:23:39 -0500 From: Don Mellen Subject: Re: appending date-time to SPF Try the new-report command. It will close the "current" report output and open a new report file with the name you specify. It can take a text variable as a parameter, so you can construct a name to suit you... let $report_name = 'This_report_' || $date_time || '.lis' new-report $report_name Hope this helps > Greetings, > > Is there a way to append the date and time to an SPF file so that it > will not be overwritten by the next SPF file that is generated by the > same report? If not, is the same sort of thing possible with a .LIS > file? > > Also, does anyone run SQRs or SQTs from PowerBuilder v.5.x? > > TIA, > Randle ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" From owner-sqr-users@list.iex.net Wed Jan 21 05:38:29 1998 Date: Tue, 20 Jan 1998 10:52:15 -0500 From: "Sullivant, Michael" Subject: Include Image Files Greetings Everybody.... Any suggestions on how to include images (e.g. *.jpg,*.bmp,*.tif) into printed output (i.e. check signatures). Environment: PeopleSoft HRMS Public Sector 6.01, Win95/Alpha/VMS/Oracle Thanks In advance. Michael. Msulliva@public.lib.ci.clearwater.fl.us From owner-sqr-users@list.iex.net Wed Jan 21 09:36:00 1998 Date: Wed, 21 Jan 1998 06:17:22 -0800 From: Chris Snow Subject: SQR SQL Commit Hello Everyone, I have an SQR report that performs about six table update or insert commands for each record it selects during its report. Since there is no implicit sql commit, and doing an explicit commit destroys the cursors, it places locks on all the tables in its DML statements. This of course locks all the users from these tables until the report is complete which in some cases could be several minutes (and is not acceptable). Is there a way to modify my code so that it performs an implicit commit somehow? I mean, is there a function or subroutine that SQR does that would, in effect, cause a commit without destroying the active cursors in my report? Any help at all is greatly appreciated. __________________________________ Chris Snow, Integrity Information Services 800-724-5939 pgr. chris_snow@msn.com 'As knowledge increases, wonder deepens' Charles Morgan From owner-sqr-users@list.iex.net Wed Jan 21 10:02:13 1998 Date: Wed, 21 Jan 1998 09:25:52 -0500 From: Nathan Treadway Subject: Re: POPO005 - PO SQR modification > We have our own "Terms and Conditions" that needs to be attached as the > first or last page of every purchase order. So I am trying to get this to > print as a separate page, however, I cannot find a way to modify the Header > and Footer so the terms and conditions page doesn't contain the margins for > the header and footer. Is there a way to "turn off" the header or footer > and then turn them back on? There is no way to suppress the *margins* assigned to the header and footer. As JBBARTH@AOL.COM mentioned, you can change what prints in the header, but you can't change the size of the space reserved for the header. You may be able to fake it, however, by printing the first few lines of the Terms and Conditions directly in the header. If fact, your "heading" can overflow into the "body" area of the page, so you could print the Terms and Conditions entirely from the begin-heading section. Be careful not to run off the bottom of the page or you'll get a "Second page write attempted while writing current page. Check BEFORE-PAGE, AFTER-PAGE procedures." error (even though the error is in the BEGIN-HEADING section). Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 10:17:53 1998 Date: Wed, 21 Jan 1998 09:41:11 -0500 From: Ray Ontko Subject: Re: Print HPGL file Vicki, What you have should work. If the file isn't in exactly the format expected by SQR, it may produce a different result (or no graphic), but I think that the shaded box only happens if your "type" doesn't match your -printer or it can't find the file. Hope this helps. Ray > Has anyone use SQR and print HPGL successfully?(use -printer:hp) > We used Hijaak Pro 4.0 to convert a bmp to pgl file and my SQR > statement is as follows: > PRINT-IMAGE remedy_logo (1, 1) > type = HPGL-FILE > source = 'c:\temp\Remedy1.PGL' > image-size = (40, 8) > > Did I need something else or anything wrong, because all I printed was > a shaded box. > Thank you in advance for your help! > > Vicki > Email: VLCIKL@remedystaff.com > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Time for a new signature line." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 10:19:28 1998 Date: Wed, 21 Jan 1998 09:57:31 -0500 From: Nathan Treadway Subject: Re: Controlling HP printing & Print-Image > 1. Print an image on a report (using PRINT-IMAGE in eps format) > > 2. Control HP laserjet5si printer for SIMPLEX and PAPER TRAY (using ENCODE > and PRINT-DIRECT) > > > I can accomplish item #1 when I use -PRINTER:PS > > I can accomplish item #2 when i use -PRINTER:HP > > > QUESTION: How do I control the printer and print an image in the same SQR ? > > Does my image need to be in HPGL format ? If so how do I convert my EPS > file? You do need to have both the image and the page control in the same format. If you aren't able to find a way to convert the image from EPS to HPGL, you may be able to find in the printer documentation the postscript commands needed to control the paper feed the way you want. Then you'd "print-direct printer=ps" those postscript commands (and leave the "print-image" using the EPS file). You might also be able to put the page control postscript commands as part of the init-string in a "declare-printer type=ps" paragraph, though I haven't tried that. Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 10:19:44 1998 Date: Wed, 21 Jan 1998 08:49:33 -0600 From: Wes Williams Subject: SQR SQL Commit -Reply The -RL flag may help. Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> Chris Snow 01/21/98 08:17am >>> Hello Everyone, I have an SQR report that performs about six table update or insert commands for each record it selects during its report. Since there is no implicit sql commit, and doing an explicit commit destroys the cursors, it places locks on all the tables in its DML statements. This of course locks all the users from these tables until the report is complete which in some cases could be several minutes (and is not acceptable). Is there a way to modify my code so that it performs an implicit commit somehow? I mean, is there a function or subroutine that SQR does that would, in effect, cause a commit without destroying the active cursors in my report? Any help at all is greatly appreciated. __________________________________ Chris Snow, Integrity Information Services 800-724-5939 pgr. chris_snow@msn.com 'As knowledge increases, wonder deepens' Charles Morgan From owner-sqr-users@list.iex.net Wed Jan 21 11:00:50 1998 Date: Wed, 21 Jan 1998 10:52:04 -0500 From: Nathan Treadway Subject: Re: Multiple print reports > Can anyone tell me why I am not getting the L__ files? Where can the system > be picking up the -nolis or -keep parameters? Any other ideas? (I would [...] > Oracle 7.3 > PeopleSoft 7.0 > NT I've used PeopleSoft 5.12 and I'm not sure how different the SQR execution is between the two versions, but here are some places to check: - the SQRFLAGS environment variable (NT may be different, but you can probably see the SQRFLAGS setting that SQR is getting by just typing "SET" in an MS-DOS shell) - the PeopleSoft job definition. After you submit the job, double-click on it in Process Monitor and then click on the ">>" botton at the bottom of the Process Detail(1) window. You'll get the Process Detail(2) window, which lists the parm list for the SQR command. If you see -nolis there, you'll need to look in the Process Scheduler to find out where it's coming from. - have your program do a "show" of the value of $sqr-report (for each of the different reports you are trying to generate). This will let you confirm in the .log file that the file you think is being used as the .L__ file is what SQR is using. Most likely this won't tell you much, though, since the .L__ files and .S__ files should be generated in the same place. - Try to use SQR Print or SQR Viewer with the .S__ files to make sure that some output is being generated. If you can't see anything in the .S__ files, it may be that the .L__ files are not generated because they would be empty. Note that "-keep" by itself does not prevent generation of the .L__ files; it just causes the .S__ files to be kept, too. You're probably getting a -nolis added to your command somewhere. Hope this helps. Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 11:08:46 1998 Date: Tue, 20 Jan 1998 18:33:04 -0500 From: Don Mellen Subject: Re: Can you use FTP in SQR? On Tue, 20 Jan 1998, Budzinski, Robert wrote: > HI. Is it possible to FTP a file in SQR? I created a interface in SQR > which creates a file that we FTP to our payroll system. We are > currently going to write a UNIX script to do this, but I was wondering > if this could be done in SQR. One benefit of doing it in SQR would be > if the program bombs, a file would not be FTP'd and we would know to > check the log. > > Any help would be appreciated. Thanks. Another option might be to have the sqr program create a flag file when it is done. The sqr can be run automatically by a script using CRON. The unix script can initially rm the flag file, run the sqr, then check for the existence of the flag file. If the flag file doesn't exist, you can have the script send a mail message to whomever should investigate. ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" From owner-sqr-users@list.iex.net Wed Jan 21 11:41:44 1998 Date: Wed, 21 Jan 1998 14:23:34 -0200 From: Romeu Finoti Sciotta Subject: Information About SQR 4 This is a multi-part message in MIME format. ------=_NextPart_000_0066_01BD2678.27E39840 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I = need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. ------=_NextPart_000_0066_01BD2678.27E39840 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Good day for all.
 
I'm using SQR 3 Workbench working with = Maximo=20 3.0.A./Oracle 7.3 and I need upgrade my SQR version.
Could someone send me = any reference=20 about SQR 4?
Example:
Is the SQR 4 a 32bit=20 software?
Can I download a beta version = test?
 
Any information would = be=20 appreciated.
 
Thanks.
 
Romeu Finoti = Sciotta
Alcan Aluminio do = Brasil=20 Ltda.
 
------=_NextPart_000_0066_01BD2678.27E39840-- From owner-sqr-users@list.iex.net Wed Jan 21 12:50:48 1998 Date: Wed, 21 Jan 1998 11:09:00 -0500 From: "Low, David" Subject: Re: Multiple print reports Can you tell us what method you are using to launch your SQRs, i.e. are you executing SQRW.EXE, which gives you a window showing your switches, or are you launching them from the PeopleSoft environment? ______________________________ Reply Separator _________________________________ Subject: Multiple print reports Author: SMTP:Ignacio_Lulli@PEOPLESOFT.COM at INTERNET Date: 20/01/98 7:47 PM Hi everybody, I new to SQRs and this group. I am trying to create several plain (no graphics) reports from my SQR. I have tried using the USE-REPORT command (along with its related DECLARE-REPORT and DECLARE-LAYOUT commands) but it doesn't seem to work. The SQR documentation said to expect files with the extensions LIS, L01, L02, etc. when using USE-REPORT. Instead I got SPF, S01, S02, etc. and these files (when opened) are full of special characters. The documentation said that that S__ files will be created ONLY when using the -nolis or -keep parameters, which I AM NOT. Can anyone tell me why I am not getting the L__ files? Where can the system be picking up the -nolis or -keep parameters? Any other ideas? (I would like to avoid using the SQR Print program, which I could not get to work.) Some parts of my code are listed below Oracle 7.3 PeopleSoft 7.0 NT ... From owner-sqr-users@list.iex.net Wed Jan 21 13:04:40 1998 Date: Wed, 21 Jan 1998 08:46:58 -0500 From: Ray Ontko Subject: Re: Controlling HP printing & Print-Image Jennifer, You can either convert your image to HPGL format and use -printer:hp, OR, you can use the postscript commands that allow your printer to choose a tray and simplex/duplex and use -printer:ps. You'll need to check the manual for the 5si to see what the postscript commands are for setting the paper tray, but I think it's something like "2 setpapertray" to select the second bin. So, PRINT-DIRECT PRINTER=PS '2 setpapertray' or something like that should work. I think that this would be easier than converting the eps image to HPGL, but if you can do this, that should also work. Ray > Hello, I am trying to accomplish the following (on a unix machine): > > 1. Print an image on a report (using PRINT-IMAGE in eps format) > > 2. Control HP laserjet5si printer for SIMPLEX and PAPER TRAY (using ENCODE > and PRINT-DIRECT) > > > I can accomplish item #1 when I use -PRINTER:PS > > I can accomplish item #2 when i use -PRINTER:HP > > > QUESTION: How do I control the printer and print an image in the same SQR ? > > Does my image need to be in HPGL format ? If so how do I convert my EPS > file? > > Any ideas or suggestions are welcome !! > > J Torres > Univ of Southern Colorado > torres@uscolo.edu > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Time for a new signature line." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 13:36:39 1998 Date: Wed, 21 Jan 1998 09:48:58 -0500 From: Nathan Treadway Subject: Re: Print HPGL file > Has anyone use SQR and print HPGL successfully?(use -printer:hp) > We used Hijaak Pro 4.0 to convert a bmp to pgl file and my SQR > statement is as follows: > PRINT-IMAGE remedy_logo (1, 1) > type = HPGL-FILE > source = 'c:\temp\Remedy1.PGL' > image-size = (40, 8) > > Did I need something else or anything wrong, because all I printed was > a shaded box. We have been able to use print-image type=hpgl-file and -printer:hp to print images, and the above statement looks correct as far as I can remember (I'm no longer at the site where we did this, so I don't have the source code with me to double-check). Make sure you are using -printer:hp and you don't have any "declare-report printer-type" or "use-printer-type" statements specifying non-HP printers. It may be that Hijaak Pro is not producing the HPGL files in the proper format -- see page 93 of the _SQR3 Users Guide_ for the requirements. We didn't use a conversion program to generate our HPGL files so I'm not sure how likely this is to be the problem. Are you able to get print-image to work with -printer:wp and the original ..BMP graphic file? Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 14:08:40 1998 Date: Wed, 21 Jan 1998 11:19:44 -0500 From: "Connaghan, Rebecca" Subject: Re: Multiple print reports In PS 7.0, check the SQR Flags override statement in the Process Scheduler, Process Definition for the job you are running. Rebecca > -----Original Message----- > From: Nathan Treadway [SMTP:nathant@ONTKO.COM] > Sent: Wednesday, January 21, 1998 10:52 AM > To: Multiple recipients of list SQR-USERS > Subject: Re: Multiple print reports > > > Can anyone tell me why I am not getting the L__ files? Where can the > system > > be picking up the -nolis or -keep parameters? Any other ideas? (I > would > [...] > > Oracle 7.3 > > PeopleSoft 7.0 > > NT > > I've used PeopleSoft 5.12 and I'm not sure how different the SQR > execution > is between the two versions, but here are some places to check: > - the SQRFLAGS environment variable (NT may be different, but you > can > probably see the SQRFLAGS setting that SQR is getting by just > typing > "SET" in an MS-DOS shell) > - the PeopleSoft job definition. After you submit the job, > double-click > on it in Process Monitor and then click on the ">>" botton at the > bottom of the Process Detail(1) window. You'll get the Process > Detail(2) window, which lists the parm list for the SQR command. > If you see -nolis there, you'll need to look in the Process > Scheduler > to find out where it's coming from. > - have your program do a "show" of the value of $sqr-report (for > each of the different reports you are trying to generate). This > will let you confirm in the .log file that the file you think > is being used as the .L__ file is what SQR is using. Most likely > this won't tell you much, though, since the .L__ files and .S__ > files > should be generated in the same place. > - Try to use SQR Print or SQR Viewer with the .S__ files to make > sure > that some output is being generated. If you can't see anything > in the > .S__ files, it may be that the .L__ files are not generated > because > they would be empty. > > Note that "-keep" by itself does not prevent generation of the .L__ > files; > it just causes the .S__ files to be kept, too. You're probably > getting a > -nolis added to your command somewhere. > > Hope this helps. > > Nathan > ---------------------------------------------------------------------- > ------ > Nathan Treadway | Ray Ontko & Co. | Software consulting services > nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 14:36:12 1998 Date: Wed, 21 Jan 1998 11:42:23 -0500 From: Ignacio Lulli Subject: Re: Multiple print reports Thanks Nathan for your help. Unfortunately, I had tried all of the things that you mentioned in your email. Last night, I was looking at it again and have a feeling that the SPF files result from how I am writing the code, maybe in the Heading section. I added "FOR-REPORTS language to my program and the LIS files worked probably for a while until I changed something else. I haven't had time to pursue this lead yet. Any comments would be appreciated. But by the way, you, Ray and all the others in this users group are great. I paged through some of the prior email and was VERY impressed. Keep up the great work! --Ignacio From owner-sqr-users@list.iex.net Wed Jan 21 14:54:54 1998 Date: Wed, 21 Jan 1998 15:36:44 -0500 From: Cheryl Clark Subject: Printing Variables I am running an SQR which reads in a flat file and loads PeopleSoft tables. The variables all display correctly and go into the tables correctly, but print incorrectly on the control report. It appears that the variable is retaining the previous value and writing over it with the new value. For instance, if the variable length is 20, but the actual length of the value is 10 and the previous value had a length of 18, you get the first 10 characters correct followed by 8 characters of the previous value. I have a show immediately preceding the print and the variable is correct in the show statement. Any suggestions would be greatly appreciated! Thanks! Cheryl From owner-sqr-users@list.iex.net Wed Jan 21 15:09:23 1998 Date: Wed, 21 Jan 1998 11:54:00 PST From: "TORRES, JENNIFER" Subject: Re: Controlling HP printing & Print-Image (SOLUTION) BIG thanks to all with ideas to solve my printing problems. As a solution, the following code worked and I was able to use the eps file to print my signatures. (the postscript commands are for a HP laserjet 5si and I used -PRINTER:PS) ! this will set printer to simplex and pull paper from tray3 use-report checks let $tray3 = '<> setpagedevice' let $simplex = '<> setpagedevice' print-direct printer=ps $tray3 print-direct printer=ps $simplex J Torres Univ of Southern Colorado torres@uscolo.edu From owner-sqr-users@list.iex.net Wed Jan 21 15:14:25 1998 Date: Wed, 21 Jan 1998 15:01:04 -0500 From: "McCoy, Ken D (INPO)" Subject: Re: Printing Variables Sounds like an update instead of an insert run a delete on the table before you start inserting rows delete from PS_????? will clear it > -----Original Message----- > From: Cheryl Clark [SMTP:cclark@KPMG.COM] > Sent: Wednesday, January 21, 1998 3:37 PM > To: Multiple recipients of list SQR-USERS > Subject: Printing Variables > > I am running an SQR which reads in a flat file and loads PeopleSoft > tables. > The variables all display correctly and go into the tables correctly, > but print > incorrectly on the control report. It appears that the variable is > retaining > the > previous value and writing over it with the new value. For instance, > if the > variable length is 20, but the actual length of the value is 10 and > the previous > value had a length of 18, you get the first 10 characters correct > followed by > 8 characters of the previous value. > > I have a show immediately preceding the print and the variable is > correct > in the show statement. > > Any suggestions would be greatly appreciated! Thanks! > Cheryl From owner-sqr-users@list.iex.net Wed Jan 21 16:45:08 1998 Date: Wed, 21 Jan 1998 15:04:53 -0500 From: Andrew Campbell Subject: Printing Variables -Reply Have you forgotten to commit? >>> Cheryl Clark 01/21/98 03:36pm >>> I am running an SQR which reads in a flat file and loads PeopleSoft tables. The variables all display correctly and go into the tables correctly, but print incorrectly on the control report. It appears that the variable is retaining the previous value and writing over it with the new value. For instance, if the variable length is 20, but the actual length of the value is 10 and the previous value had a length of 18, you get the first 10 characters correct followed by 8 characters of the previous value. I have a show immediately preceding the print and the variable is correct in the show statement. Any suggestions would be greatly appreciated! Thanks! Cheryl From owner-sqr-users@list.iex.net Wed Jan 21 16:52:10 1998 Date: Wed, 21 Jan 1998 10:49:40 -0400 From: Jennifer Sieber Subject: Re: POPO005 - PO SQR modification Jake, Thanks!!! I had to put the $first_time flag in the footer section as well as the header. Then the report needed a new-pagecommand as the first action in the begin-report section. Thanks again! Jen From owner-sqr-users@list.iex.net Wed Jan 21 17:27:25 1998 Date: Wed, 21 Jan 1998 15:34:47 -0500 From: Gary Lane Subject: Re: Printing Variables Is it possible that you are not advancing to the next line in your print statement? A sample of the code might be helpful. From owner-sqr-users@list.iex.net Wed Jan 21 18:04:58 1998 Date: Wed, 21 Jan 1998 14:47:21 -0800 From: Murray Leckie Subject: calls to SQL I was wondering if anybody has ever had any problems making an SQL update to an oracle database (version 7) with SQR (version 3). I am getting my variables back in a display and the select is working okay however the program is hanging after the select at the call to SQL. If I do the command through SQL without the variables, I have no problems. begin-procedure Update-ITM-VENDOR display $vend_id display $Inv_ITEM_ID begin-select a.vendor_id, a.inv_item_id from ps_itm_vendor a where a.inv_item_id = $inv_item_id end-select display 'working so far' begin-sql update PS_ITM_VENDOR set vendor_id = $vend_id where inv_item_id = $Inv_item_id end-sql R. Murray Leckie mleckie@sierrasys.com Telephone: (902) 425-6688 Fax: (902) 425-6689 From owner-sqr-users@list.iex.net Wed Jan 21 18:05:09 1998 Date: Wed, 21 Jan 1998 17:43:25 -0500 From: Don Mellen Subject: Re: Printing Variables Since you state that the tables load correctly, put the control report is the problem, I would guess that the control report you wrote is supposed to print the old value and then the new value. It sounds like they are both printing in the same location and the new value overwrites the old one on the report. Make sure that you advance the print line or offset the position where your old/new values print. Hope this helps, Don On Wed, 21 Jan 1998, Cheryl Clark wrote: > I am running an SQR which reads in a flat file and loads PeopleSoft tables. > The variables all display correctly and go into the tables correctly, but print > incorrectly on the control report. It appears that the variable is retaining > the > previous value and writing over it with the new value. For instance, if the > variable length is 20, but the actual length of the value is 10 and the previous > value had a length of 18, you get the first 10 characters correct followed by > 8 characters of the previous value. > > I have a show immediately preceding the print and the variable is correct > in the show statement. > > Any suggestions would be greatly appreciated! Thanks! > Cheryl > ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" From owner-sqr-users@list.iex.net Wed Jan 21 18:30:30 1998 Date: Wed, 21 Jan 1998 16:13:10 -0500 From: "Connaghan, Rebecca" Subject: Re: Controlling HP printing & Print-Image (SOLUTION) Has anyone had success printing a bmp image? I'm getting a grey box where the image should be. > -----Original Message----- > From: TORRES, JENNIFER [SMTP:TORRES@USCOLO.EDU] > Sent: Wednesday, January 21, 1998 2:54 PM > To: Multiple recipients of list SQR-USERS > Subject: Re: Controlling HP printing & Print-Image (SOLUTION) > > BIG thanks to all with ideas to solve my printing problems. > As a solution, the following code worked and I was able to use the eps > file > to print my signatures. > (the postscript commands are for a HP laserjet 5si and I used > -PRINTER:PS) > > ! this will set printer to simplex and pull paper from tray3 > > use-report checks > let $tray3 = '<> > setpagedevice' > let $simplex = '<> setpagedevice' > print-direct printer=ps $tray3 > print-direct printer=ps $simplex > > J Torres > Univ of Southern Colorado > torres@uscolo.edu From owner-sqr-users@list.iex.net Wed Jan 21 18:35:02 1998 Date: Wed, 21 Jan 1998 08:40:58 +0100 From: "Stokman, Gilbert" Subject: Re: appending date-time to SPF I use this: date-time () YYYY|MM|DD|HH24|MI|SS &today let $batch_id = &today let $file = 'c:\temp\trnhrstm' || $batch_id || '.txt' open $file as 1 for-writing record=315:vary with this u get a unique filename every second! :) N.B. SQR versions for Win3.X and lower cannot handle long file names so there this solution will not work! (the version delivered with PeopleSoft 5.X is a Win3.X version) Gilbert Stokman Cap Gemini Netherlands > > -----Original Message----- > > From: Randle Boyd [SMTP:rboyd@RUAN.COM] > > Sent: Tuesday, January 20, 1998 9:53 AM > > To: Multiple recipients of list SQR-USERS > > Subject: appending date-time to SPF > > > > Greetings, > > > > Is there a way to append the date and time to an SPF file so that it > > will not be overwritten by the next SPF file that is generated by > the > > same report? If not, is the same sort of thing possible with a .LIS > > file? > > > > Also, does anyone run SQRs or SQTs from PowerBuilder v.5.x? > > > > TIA, > > Randle > ================================================================================ De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor de geadresseerde. Gebruik van deze informatie door anderen dan de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. KPMG staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan. ================================================================================ The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. KPMG is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ================================================================================ From owner-sqr-users@list.iex.net Wed Jan 21 18:38:23 1998 Date: Wed, 21 Jan 1998 18:20:50 -0500 From: Charles Dornbos Subject: Date math Hi, I am using SQR3 with an Oracle 7.2 database and want to use a variable for date math. The syntax is testdate < sysdate - #offset. The problem I'm having is that if I put in a number instead of the #offset it works fine (say 30, I get 30 days less), the procedures to get the #offset are working fine (I get the numerical result I expected) but SQR treats #offset as a 0. Is this a bug? what am I missing? charlied@tir.com From owner-sqr-users@list.iex.net Wed Jan 21 18:42:27 1998 Date: Wed, 21 Jan 1998 18:37:09 -0500 From: Ray Ontko Subject: Re: Controlling HP printing & Print-Image (SOLUTION) With PRINT-IMAGE, .bmp files ONLY work for .spf files when viewed, or when using or -printer:wp. In other words, if you want to use -printer:hp, you need an HPGL image, and if you want to use -printer:ps, you need an EPS image. Ray > Has anyone had success printing a bmp image? I'm getting a grey box > where the image should be. > > > -----Original Message----- > > From: TORRES, JENNIFER [SMTP:TORRES@USCOLO.EDU] > > Sent: Wednesday, January 21, 1998 2:54 PM > > To: Multiple recipients of list SQR-USERS > > Subject: Re: Controlling HP printing & Print-Image (SOLUTION) > > > > BIG thanks to all with ideas to solve my printing problems. > > As a solution, the following code worked and I was able to use the eps > > file > > to print my signatures. > > (the postscript commands are for a HP laserjet 5si and I used > > -PRINTER:PS) > > > > ! this will set printer to simplex and pull paper from tray3 > > > > use-report checks > > let $tray3 = '<> > > setpagedevice' > > let $simplex = '<> setpagedevice' > > print-direct printer=ps $tray3 > > print-direct printer=ps $simplex > > > > J Torres > > Univ of Southern Colorado > > torres@uscolo.edu > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Time for a new signature line." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 19:16:37 1998 Date: Wed, 21 Jan 1998 16:53:24 -0500 From: Nathan Treadway Subject: Re: Printing Variables > incorrectly on the control report. It appears that the variable is retaining > the > previous value and writing over it with the new value. For instance, if the > variable length is 20, but the actual length of the value is 10 and the previous > value had a length of 18, you get the first 10 characters correct followed by > 8 characters of the previous value. > > I have a show immediately preceding the print and the variable is correct > in the show statement. It sounds like you aren't moving the print position to the next line each time you print the variable. If you print two values in the same position, you'll see the "overlapping" behavior you describe. I'm not sure what else you are trying to print on each line, so I can't be sure of the best way to make sure you are advancing down the page. If you are only printing the one variable in questions, just make sure the position specification you give to print has "+1" for the line, as in print $variable (+1,10) (Other possibilities include adding a "position (+1)" statement or using "next-listing", for example.) Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 21 19:52:17 1998 Date: Thu, 22 Jan 1998 08:47:13 +0800 From: Wayne Ivory Subject: Re: SQR SQL Commit We had to code around a similar problem in the Today language running over = Informix. From memory what we did was store the key of the main record in = a variable, do a commit, reread the primary record using the variables for = the key, then proceed to the next record. Cumbersome, but it should get = around your problem assuming you can implement it in SQR (I=27m fairly new = to SQR so I don=27t know all the techniques). Wayne Ivory Information Services Westralian Sands Limited >>> Chris Snow 21/1/98 10:17:22 pm >>> Hello Everyone, I have an SQR report that performs about six table update or insert = commands for each record it selects during its report. Since there is no implicit sql commit, and doing an explicit commit destroys the cursors, it places locks on all the tables in its DML statements. This of course locks all = the users from these tables until the report is complete which in some cases could be several minutes (and is not acceptable). Is there a way to modify my code so that it performs an implicit commit somehow? I mean, is there a function or subroutine that SQR does that would, in effect, cause a commit without destroying the active cursors in = my report? Any help at all is greatly appreciated. __________________________________ Chris Snow, Integrity Information Services 800-724-5939 pgr. chris_snow=40msn.com=20 =27As knowledge increases, wonder deepens=27 Charles Morgan From owner-sqr-users@list.iex.net Wed Jan 21 20:13:35 1998 Date: Wed, 21 Jan 1998 16:00:32 -0700 From: John Dunn Subject: Log Files: V3 vs. V4 Greetings: I recently upgraded from V3 to V4 of SQR for Windows/NT v4 for Oracle. My programs appear to run OK without modification, but the log files are different. In version 3, the log files would contain some informational message like 'SQR end of run' (I don't have any old ones around to look at) if the job completed without errors. In version 4, the log file gets created but there is no message--nothing-- in the file. Is this the way it's supposed to work in V 4? Is the assumption that if the file is empty then the job completed successfully? TIA, John From owner-sqr-users@list.iex.net Wed Jan 21 23:30:29 1998 Date: Wed, 21 Jan 1998 23:12:14 EST From: BELLARY Subject: Re: Can you use FTP in SQR? You can execute any operating system command using SQR's CALL SYSTEM USING { command } { status } SYSTEM Specifies that this CALL command will issue an operating system command. command Specifies the operating system command to execute. Command can be a quoted string, string variable, or column. status Contains the status returned by the operating system. Status must be a numeric variable. Now you can have a unix shell script which actually does the FTP work. You can use this shell script as command when ever you want to FTP based on the result of your file creation. Another TIP is that you can create this shell script in you SQR program itself so that you can have it customised to your requirements. -ARUN From owner-sqr-users@list.iex.net Thu Jan 22 01:47:25 1998 Date: Thu, 22 Jan 1998 14:44:35 +0800 From: Arthur Coniglio Subject: SQR Error 06003 When using Multiple Reports This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------ =_NextPart_000_01BD2743.F0FC2370 Content-Type: text/plain Can someone please help me. I am receiving the above error 06003 'Unexpected End-Of-File while processing the printer file' when i run an sqr which has multiple reports in it. When i remove all multiple report type declare statements and go back to just the one report stype and standards i do not have a problem !!!! Can anyone please help..... Thanks Arthur Coniglio ------ =_NextPart_000_01BD2743.F0FC2370 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IhQGAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAAzgcBABYADgAsACMABABNAQEggAMADgAAAM4HAQAW AA4AKgARAAQAOQEBCYABACEAAABBQTlGNTM2Q0IzOTJEMTExQkFERjAwQTBDOThCODc5RgBbBwEE gAEALAAAAFNRUiBFcnJvciAwNjAwMyBX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8BAAAASQAAAAAA AADcp0DIwEIQGrS5CAArL+GCAQAAAAAAAAAvTz1FRFdBL09VPVpDRU5UT0ZGL0NOPVJFQ0lQSUVO VFMvQ049RUQxMTVBQwAAAAAeAPo/AQAAABkAAABDT05JR0xJTyBBcnRodXIgQCBaUDIwMDAAAAAA HgA5QAEAAAAIAAAARUQxMTVBQwBAAAcw0EKmMwEnvQFAAAgwAO9w4QAnvQEeAD0AAQAAAAEAAAAA AAAAHgAdDgEAAAAsAAAAU1FSIEVycm9yIDA2MDAzIFdoZW4gdXNpbmcgTXVsdGlwbGUgUmVwb3J0 cwAeADUQAQAAADUAAAA8MzEyODZDOUYwNTc5RDExMUJBQzQwMEEwQzk4Qjg3OUYwNDZERTRAQ0VO VE9GRl9IUjE+AAAAAAsAKQABAAAACwAjAAAAAAADAAYQSgLoIwMABxAkAQAAAwAQEAAAAAADABEQ AAAAAB4ACBABAAAAZQAAAENBTlNPTUVPTkVQTEVBU0VIRUxQTUVJQU1SRUNFSVZJTkdUSEVBQk9W RUVSUk9SMDYwMDNVTkVYUEVDVEVERU5ELU9GLUZJTEVXSElMRVBST0NFU1NJTkdUSEVQUklOVEVS RkkAAAAAAgF/AAEAAAA1AAAAPDMxMjg2QzlGMDU3OUQxMTFCQUM0MDBBMEM5OEI4NzlGMDQ2REU0 QENFTlRPRkZfSFIxPgAAAABDtg== ------ =_NextPart_000_01BD2743.F0FC2370-- From owner-sqr-users@list.iex.net Thu Jan 22 02:14:49 1998 Date: Wed, 21 Jan 1998 23:07:28 -0800 From: Chris Snow Subject: Re: Information About SQR 4 Romeu, Maximo ships with a packaged version of SQR that is unfortunately not usually the latest version. Since it is not purchased directly from SQRibe (the manufacturer) there is no upgrade agreement. I believe you would actually have to purchase an upgrade. I am implementing a Maximo 3.0.2 job and it comes with SQR V3.0.13.3 which has the ReportMate development software. I like it much better that EasySQR, the earlier version. Don't know about a downloadable sample. I haven't been to the SQRibe web site lately. Perhaps someone else knows... ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Romeu Finoti Sciotta To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 9:26 AM Subject: Information About SQR 4 Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Thu Jan 22 05:25:52 1998 Date: Thu, 22 Jan 1998 20:36:08 +1000 From: Garry Farrell Subject: Re[2]: Information About SQR 4 Chris, I have been administering Maximo 3.0.A and have just completed an upgrade to Maximo 3.0.2. I have had a lot of trouble getting ReportMate reports to run. Have you had any problems with the setup of ReportMate reports within Maximo? Do you have to 'Generate SQR' script and compile them with SQRW.EXE? Can you use the SRM files or do you have to compile SQR to SQT? Any tips would be a great help as I would like to use ReportMate. I have also experienced a bug in ReportMate. You can put a '?' in the where clause but it doesn't work for dates. This is supposed to be fixed in version 4. Romeu other than that, I've heard that Maximo will ship with a completely different reporting tool with the next version. Regards, Garry gfarrell@fairfax.com.au ps Email me for any advise on Maximo 3.0.2 upgrade if needed. ______________________________ Reply Separator _________________________________ Subject: Re: Information About SQR 4 Author: at internet Date: 21/1/98 23:07 Romeu, Maximo ships with a packaged version of SQR that is unfortunately not usually the latest version. Since it is not purchased directly from SQRibe (the manufacturer) there is no upgrade agreement. I believe you would actually have to purchase an upgrade. I am implementing a Maximo 3.0.2 job and it comes with SQR V3.0.13.3 which has the ReportMate development software. I like it much better that EasySQR, the earlier version. Don't know about a downloadable sample. I haven't been to the SQRibe web site lately. Perhaps someone else knows... ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Romeu Finoti Sciotta To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 9:26 AM Subject: Information About SQR 4 Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Thu Jan 22 05:25:55 1998 Date: Thu, 22 Jan 1998 20:37:21 +1000 From: Garry Farrell Subject: Re: calls to SQL Murray, I'm not using Oracle but does the CASE cause problems? Is it case sensitive? Regards, Garry ______________________________ Reply Separator _________________________________ Subject: calls to SQL Author: at internet Date: 21/1/98 14:47 I was wondering if anybody has ever had any problems making an SQL update to an oracle database (version 7) with SQR (version 3). I am getting my variables back in a display and the select is working okay however the program is hanging after the select at the call to SQL. If I do the command through SQL without the variables, I have no problems. begin-procedure Update-ITM-VENDOR display $vend_id display $Inv_ITEM_ID begin-select a.vendor_id, a.inv_item_id from ps_itm_vendor a where a.inv_item_id = $inv_item_id end-select display 'working so far' begin-sql update PS_ITM_VENDOR set vendor_id = $vend_id where inv_item_id = $Inv_item_id end-sql R. Murray Leckie mleckie@sierrasys.com Telephone: (902) 425-6688 Fax: (902) 425-6689 From owner-sqr-users@list.iex.net Thu Jan 22 06:41:19 1998 Date: Thu, 22 Jan 1998 12:07:24 +0100 From: "Stokman, Gilbert" Subject: Calling a SQR from within a SQR Hello all, Question: Is it possible 2 start another SQR from within a SQR. For example u have 3 sqr's and they have 2 run after eachother. can u put in the first sqr something like this: begin-procedure main do programm1 call system using 'c:\ps\sqrbin\sqrw secondsqr.sqr' #s call system using 'c:\ps\sqrbin\sqrw thirdsqr.sqr' #s end-procedure ?? thanx in advance Gilbert Stokman Cap Gemini Netherlands ================================================================================ De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor de geadresseerde. Gebruik van deze informatie door anderen dan de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. KPMG staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan. ================================================================================ The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. KPMG is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ================================================================================ From owner-sqr-users@list.iex.net Thu Jan 22 06:48:57 1998 Date: Wed, 21 Jan 1998 23:29:05 -0800 From: Chris Snow Subject: Re: SQR SQL Commit -Reply Wes Not familiar with the -RL flag (release locks?) I don't see it in my documentation. What does it do and does it work on SQLServer database under NT4.0 ? -----Original Message----- From: Wes Williams To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 7:24 AM Subject: SQR SQL Commit -Reply The -RL flag may help. Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com From owner-sqr-users@list.iex.net Thu Jan 22 08:29:51 1998 Date: Thu, 22 Jan 1998 08:13:16 -0500 From: Sam Spritzer Subject: Re: Information About SQR 4 -Reply There is a screencam demo of SQR4 on SQRibe's web site (www.sqribe.com). I have also been using SQR 3 and from the looks of the demo, ver. 4 is VERY different and definitely is more user friendly than 3. I do plan to purchase 4 soon. Sam >>> Chris Snow 01/22/98 02:07am >>> Romeu, Maximo ships with a packaged version of SQR that is unfortunately not usually the latest version. Since it is not purchased directly from SQRibe (the manufacturer) there is no upgrade agreement. I believe you would actually have to purchase an upgrade. I am implementing a Maximo 3.0.2 job and it comes with SQR V3.0.13.3 which has the ReportMate development software. I like it much better that EasySQR, the earlier version. Don't know about a downloadable sample. I haven't been to the SQRibe web site lately. Perhaps someone else knows... ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Romeu Finoti Sciotta To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 9:26 AM Subject: Information About SQR 4 Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Thu Jan 22 09:05:44 1998 Date: Thu, 22 Jan 1998 08:54:38 -0500 From: Nathan Treadway Subject: Re: Calling a SQR from within a SQR > call system using 'c:\ps\sqrbin\sqrw secondsqr.sqr' #s > call system using 'c:\ps\sqrbin\sqrw thirdsqr.sqr' #s You can do this -- but only if you are running the 32 bit version of SQRW. The 16-bit version can only be run once at a time, unfortunately. If you are using the 16 bit version but have Windows 95, you might be able to run the 3 SQRs automatically one after the other by writing a .BAT file that uses the "start/wait" command to fire off each in turn. Alternatively, you may be able to write a single "wrapper" .SQR that #includes the three .sqr files and calls each one in turn. You will have to do some work to get all three to compile together, though. Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jan 22 09:08:54 1998 Date: Thu, 22 Jan 1998 09:02:22 -0500 From: Nathan Treadway Subject: Re: SQR SQL Commit -Reply >Not familiar with the -RL flag (release locks?) I don't see it in my >documentation. What does it do and does it work on SQLServer database under >NT4.0 ? Actually, it's the "-LOCK" flag, which takes "RL" as one of the lock settings. See pages 7 and 118 of the _SQR3 User's Guide_ for more information. -LOCK is listed an option in SQR for SQLBase. I don't know if it also applies to your version of SQR; you may find more information in the release notes in your SQR directory tree. Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jan 22 09:09:13 1998 Date: Thu, 22 Jan 1998 08:01:29 -0600 From: Wes Williams Subject: Re: SQR SQL Commit -Reply -Reply DUH apologize, -RL is for Centura SQLBase, which we currently use with Maximo. Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> Chris Snow 01/22/98 01:29am >>> Wes Not familiar with the -RL flag (release locks?) I don't see it in my documentation. What does it do and does it work on SQLServer database under NT4.0 ? -----Original Message----- From: Wes Williams To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 7:24 AM Subject: SQR SQL Commit -Reply The -RL flag may help. Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com From owner-sqr-users@list.iex.net Thu Jan 22 09:15:22 1998 Date: Thu, 22 Jan 1998 09:06:32 -0500 From: YMCKINNE Subject: rtrim I am trying to position text in a flat file in a certain header position. Does anyone know of an easier way to positon text in a flat file without explicitly stating the row and column? Can I use rtrim with move? My code looks like this: move &Remit_City to $text $text has to be in column 165 of my flat file. I would appreciate the help. Yolanda From owner-sqr-users@list.iex.net Thu Jan 22 09:21:55 1998 Date: Thu, 22 Jan 1998 08:13:17 -0600 From: Wes Williams Subject: Re[2]: Information About SQR 4 -Reply We use Maximo and I went from 2.11 to 3.0a to 3.02 over thanksgiving. sqr version 3.013.3 has some bugs related to I believe both SQR and SQLBase. Are you using SQLBase ? It (Reportmate)doesn't like 8 character database names. It has trouble with long passwords. When all fails I just run the SQR with the -rs flag to compile from sqrw.exe. You can make a shortcut and do the following in the command line C:\SQRW\SQB\WORKBNCH\BINW\SQRW.EXE g:\plteng\sqryork\filename.sqr ?Databasename/ID/PWD -rs and then all you need to do is change the filename. Maximo 4.0 will be 32 bit so they will ship a 32 bit report writer maybe SQR 4.0 Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> Garry Farrell 01/22/98 04:36am >>> Chris, I have been administering Maximo 3.0.A and have just completed an upgrade to Maximo 3.0.2. I have had a lot of trouble getting ReportMate reports to run. Have you had any problems with the setup of ReportMate reports within Maximo? Do you have to 'Generate SQR' script and compile them with SQRW.EXE? Can you use the SRM files or do you have to compile SQR to SQT? Any tips would be a great help as I would like to use ReportMate. I have also experienced a bug in ReportMate. You can put a '?' in the where clause but it doesn't work for dates. This is supposed to be fixed in version 4. Romeu other than that, I've heard that Maximo will ship with a completely different reporting tool with the next version. Regards, Garry gfarrell@fairfax.com.au ps Email me for any advise on Maximo 3.0.2 upgrade if needed. ______________________________ Reply Separator _________________________________ Subject: Re: Information About SQR 4 Author: at internet Date: 21/1/98 23:07 Romeu, Maximo ships with a packaged version of SQR that is unfortunately not usually the latest version. Since it is not purchased directly from SQRibe (the manufacturer) there is no upgrade agreement. I believe you would actually have to purchase an upgrade. I am implementing a Maximo 3.0.2 job and it comes with SQR V3.0.13.3 which has the ReportMate development software. I like it much better that EasySQR, the earlier version. Don't know about a downloadable sample. I haven't been to the SQRibe web site lately. Perhaps someone else knows... ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Romeu Finoti Sciotta To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 9:26 AM Subject: Information About SQR 4 Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Thu Jan 22 09:42:53 1998 Date: Thu, 22 Jan 1998 09:33:58 -0500 From: Ignacio Lulli Subject: Re: rtrim --0__=bI913eazfDHkSBMRJdA2GALRvOYYr7b2GsiDwf8ZZ5Fq7dVDyp30BOvc Content-type: text/plain; charset=us-ascii Try the following code: let $output = &Remit_City let $output = lpad($output,165,' ') !note there is a space between the quotes This would make $output equal 165 spaces and then the value in &remit_city Hope this helps! --Ignacio (Embedded image moved YMCKINNE to file: 01/22/98 06:06 AM PIC23601.PCX) Please respond to SQR-USERS@USA.NET To: Multiple recipients of list SQR-USERS cc: (bcc: Ignacio Lulli) Subject: rtrim I am trying to position text in a flat file in a certain header position. Does anyone know of an easier way to positon text in a flat file without explicitly stating the row and column? Can I use rtrim with move? My code looks like this: move &Remit_City to $text $text has to be in column 165 of my flat file. I would appreciate the help. Yolanda --0__=bI913eazfDHkSBMRJdA2GALRvOYYr7b2GsiDwf8ZZ5Fq7dVDyp30BOvc Content-type: application/octet-stream; name="PIC23601.PCX" Content-transfer-encoding: base64 CgUBCAAAAABoACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAABaQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAD1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPH E8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sT zRPHE8MTwhPwEwzIBgzYE8wTxhPDE8IT7hPOBtcTzBPGE8MTE+wTwgbCBwbCEgbCEgbCEsUG1hPL E8YTwxMT6hMMwgYHwgLCAwISwgfEEsMCwwbVE8sTxRPDExPpE8MGAwcCBwMCwhLDB8ISwgISwgLD BtUTyhPFE8MTE+gTwgIHA8ICEw4DDgLDE8USwwLCEMIG1BPKE8UTwxMT5xMCAwcDAg4TDgITwgIS D8ISD8ISBRICEcICwwbUE8oTxRPCExPmEwYCBwMCDgIOwgLDExITEhPCEg8GxgLDBtMMDAfJE8QT whMT5hMGwwITBgMCDhLFEw8SE8ISBgIDwhIDEsMGB9MDxwwHxRPDExPlEwYHAhESAg8CwhMPwhMP xBMPxRIQwgIDAgMCBtMDxwPEDAfDE8IT4RMHwwzCBgLCEhMCDxLIE8MSD8MSwwIQAwIDBgfSDMkD wgPCDAfCExPbEwfGDMIDDAIHERITEhMSwxMPwxMPwxPDEgIDAgMCwwMCBgzREwfHDMYDDMITE9YT B8UMyAMGB8ICBhLDAsYTEhMSExIPwhIHAgcCAwUQAgYRBgfSE8UTB8QMwgMMwhMT0hMHxAzLA8IM BsISD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JE8QTwhMT xBMHwgzLD9sM0w/GDAfDEwzDEwfEDAfLE8YTwxMTxhMHxAztD8gMBgfIE8QMB84TxxPDE8ITyhMH xwzbD8sMEAUMBcIMwgYH1RPKE8UTwxMT0RMH2wwGEAYQBhACBQwFDAUMBgwHBgfWE8sTxRPDExPu EwYMBhAGEAIGDAYMwwYH1xPLE8YTwxMT8BPKBgfYE8wTxhPDExP1E9sTzRPHE8MTwhP1E9sTzRPH E8MTwhMMAAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD/ /wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8A AAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A //8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAA AP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA /wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCk gICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vw oKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw //vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzA psrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDA wNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICA wMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACA AICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACA gACA//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP////// --0__=bI913eazfDHkSBMRJdA2GALRvOYYr7b2GsiDwf8ZZ5Fq7dVDyp30BOvc-- From owner-sqr-users@list.iex.net Thu Jan 22 09:45:17 1998 Date: Thu, 22 Jan 1998 03:29:55 -0800 From: Chris Snow Subject: Re: Re[2]: Information About SQR 4 Garry, Hope your 3.0.2 upgrade is going well. Much less painful that the one from 2.11 to 3.0.A With the 3.0.2 release, all "out of the box" reports have .LNG files (#include files) that are connected to them. As usual, if you want these standard reports to run under Maximo 3.0.2 you will need to recompile every report against your new database. The only strange bug I've seen in Reportmate is, sometimes it will not see an #include file until you actually open it from within the application. Then I guess a "pathway" is set and it remembers where it's at. Silly fluke. Often new reports developed in Reportmate run fine there but bomb in an attempt to run in compiled version under Maximo. This sometimes has to do with the client's setup of the SQR.INI file in their Windows directory. It has to contain the right network path to SQR3 dir. You can use SQR source files and run them under SQRW.EXE - they generate a ..LIS file as before, or if you use the -KEEP flag they generate a .SPF file as well. I have some reports that run under the NT AT command and we just have AT call a batch file which contains the SQRW.EXE command line followed by the filename, then the logon string. Works fine. Don't know about the '?' bug...I haven't encountered this yet. And I hope the next reporting tool shipping with Maximo 4.0 will contain a more powerful development tool. We'll see. Hope this helps, ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Garry Farrell To: Multiple recipients of list SQR-USERS Date: 22 January, 1998 2:25 AM Subject: Re[2]: Information About SQR 4 Chris, I have been administering Maximo 3.0.A and have just completed an upgrade to Maximo 3.0.2. I have had a lot of trouble getting ReportMate reports to run. Have you had any problems with the setup of ReportMate reports within Maximo? Do you have to 'Generate SQR' script and compile them with SQRW.EXE? Can you use the SRM files or do you have to compile SQR to SQT? Any tips would be a great help as I would like to use ReportMate. I have also experienced a bug in ReportMate. You can put a '?' in the where clause but it doesn't work for dates. This is supposed to be fixed in version 4. Romeu other than that, I've heard that Maximo will ship with a completely different reporting tool with the next version. Regards, Garry gfarrell@fairfax.com.au ps Email me for any advise on Maximo 3.0.2 upgrade if needed. ______________________________ Reply Separator _________________________________ Subject: Re: Information About SQR 4 Author: at internet Date: 21/1/98 23:07 Romeu, Maximo ships with a packaged version of SQR that is unfortunately not usually the latest version. Since it is not purchased directly from SQRibe (the manufacturer) there is no upgrade agreement. I believe you would actually have to purchase an upgrade. I am implementing a Maximo 3.0.2 job and it comes with SQR V3.0.13.3 which has the ReportMate development software. I like it much better that EasySQR, the earlier version. Don't know about a downloadable sample. I haven't been to the SQRibe web site lately. Perhaps someone else knows... ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Romeu Finoti Sciotta To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 9:26 AM Subject: Information About SQR 4 Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Thu Jan 22 09:51:03 1998 Date: Thu, 22 Jan 1998 09:35:33 -0500 From: Andrew Campbell Subject: calls to SQL -Reply I use Oracle 7.1 and have no problems. Try using on-error to see if your statement has an error... >>> Murray Leckie 01/21/98 05:47pm >>> I was wondering if anybody has ever had any problems making an SQL update to an oracle database (version 7) with SQR (version 3). I am getting my variables back in a display and the select is working okay however the program is hanging after the select at the call to SQL. If I do the command through SQL without the variables, I have no problems. begin-procedure Update-ITM-VENDOR display $vend_id display $Inv_ITEM_ID begin-select a.vendor_id, a.inv_item_id from ps_itm_vendor a where a.inv_item_id = $inv_item_id end-select display 'working so far' begin-sql update PS_ITM_VENDOR set vendor_id = $vend_id where inv_item_id = $Inv_item_id end-sql R. Murray Leckie mleckie@sierrasys.com Telephone: (902) 425-6688 Fax: (902) 425-6689 From owner-sqr-users@list.iex.net Thu Jan 22 09:51:05 1998 Date: Thu, 22 Jan 1998 09:38:14 -0500 From: Fredrik S=84fstr=94m Subject: Re: Re[2]: Information About SQR 4 -Reply Hi Wes, Yes, Maximo 4.0 will be shipped with SQR 4. I'm currently using 4.0.3 of SQR and we have some problems with date formats. I'm aware of the problems with SQR3, whenever you are using a date function, you have to code it specifically per platform. The 8 character database name is a limitation in SQLBase, even the 32 bit version of SQLBase has that limitation. Anyway, whenever Maximo 4.0 will be ready for shipment, it will ship with SQR 4.x instead of SQR 3.x. /Bamse Wes Williams on 98-01-22 09:13:17 Please respond to SQR-USERS@USA.NET To: Multiple recipients of list SQR-USERS cc: (bcc: Fredrik Safstrom/PSDI) Subject: Re[2]: Information About SQR 4 -Reply We use Maximo and I went from 2.11 to 3.0a to 3.02 over thanksgiving. sqr version 3.013.3 has some bugs related to I believe both SQR and SQLBase. Are you using SQLBase ? It (Reportmate)doesn't like 8 character database names. It has trouble with long passwords. When all fails I just run the SQR with the -rs flag to compile from sqrw.exe. You can make a shortcut and do the following in the command line C:\SQRW\SQB\WORKBNCH\BINW\SQRW.EXE g:\plteng\sqryork\filename.sqr ?Databasename/ID/PWD -rs and then all you need to do is change the filename. Maximo 4.0 will be 32 bit so they will ship a 32 bit report writer maybe SQR 4.0 Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> Garry Farrell 01/22/98 04:36am >>> Chris, I have been administering Maximo 3.0.A and have just completed an upgrade to Maximo 3.0.2. I have had a lot of trouble getting ReportMate reports to run. Have you had any problems with the setup of ReportMate reports within Maximo? Do you have to 'Generate SQR' script and compile them with SQRW.EXE? Can you use the SRM files or do you have to compile SQR to SQT? Any tips would be a great help as I would like to use ReportMate. I have also experienced a bug in ReportMate. You can put a '?' in the where clause but it doesn't work for dates. This is supposed to be fixed in version 4. Romeu other than that, I've heard that Maximo will ship with a completely different reporting tool with the next version. Regards, Garry gfarrell@fairfax.com.au ps Email me for any advise on Maximo 3.0.2 upgrade if needed. ______________________________ Reply Separator _________________________________ Subject: Re: Information About SQR 4 Author: at internet Date: 21/1/98 23:07 Romeu, Maximo ships with a packaged version of SQR that is unfortunately not usually the latest version. Since it is not purchased directly from SQRibe (the manufacturer) there is no upgrade agreement. I believe you would actually have to purchase an upgrade. I am implementing a Maximo 3.0.2 job and it comes with SQR V3.0.13.3 which has the ReportMate development software. I like it much better that EasySQR, the earlier version. Don't know about a downloadable sample. I haven't been to the SQRibe web site lately. Perhaps someone else knows... ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Romeu Finoti Sciotta To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 9:26 AM Subject: Information About SQR 4 Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Thu Jan 22 10:05:11 1998 Date: Thu, 22 Jan 1998 08:53:06 -0600 From: Wes Williams Subject: Re: Re[2]: Information About SQR 4 -Reply -Reply Hi Fredrik, I'm sorry I misstated, reportmate doesn't seem to like anything over 7 characters for the datbase name. I can run the same report with SQRW.exe and have 8 Characters for the DB name. Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> Fredrik S=84fstr=94m 01/22/98 08:38am >>> Hi Wes, Yes, Maximo 4.0 will be shipped with SQR 4. I'm currently using 4.0.3 of SQR and we have some problems with date formats. I'm aware of the problems with SQR3, whenever you are using a date function, you have to code it specifically per platform. The 8 character database name is a limitation in SQLBase, even the 32 bit version of SQLBase has that limitation. Anyway, whenever Maximo 4.0 will be ready for shipment, it will ship with SQR 4.x instead of SQR 3.x. /Bamse Wes Williams on 98-01-22 09:13:17 Please respond to SQR-USERS@USA.NET To: Multiple recipients of list SQR-USERS cc: (bcc: Fredrik Safstrom/PSDI) Subject: Re[2]: Information About SQR 4 -Reply We use Maximo and I went from 2.11 to 3.0a to 3.02 over thanksgiving. sqr version 3.013.3 has some bugs related to I believe both SQR and SQLBase. Are you using SQLBase ? It (Reportmate)doesn't like 8 character database names. It has trouble with long passwords. When all fails I just run the SQR with the -rs flag to compile from sqrw.exe. You can make a shortcut and do the following in the command line C:\SQRW\SQB\WORKBNCH\BINW\SQRW.EXE g:\plteng\sqryork\filename.sqr ?Databasename/ID/PWD -rs and then all you need to do is change the filename. Maximo 4.0 will be 32 bit so they will ship a 32 bit report writer maybe SQR 4.0 Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> Garry Farrell 01/22/98 04:36am >>> Chris, I have been administering Maximo 3.0.A and have just completed an upgrade to Maximo 3.0.2. I have had a lot of trouble getting ReportMate reports to run. Have you had any problems with the setup of ReportMate reports within Maximo? Do you have to 'Generate SQR' script and compile them with SQRW.EXE? Can you use the SRM files or do you have to compile SQR to SQT? Any tips would be a great help as I would like to use ReportMate. I have also experienced a bug in ReportMate. You can put a '?' in the where clause but it doesn't work for dates. This is supposed to be fixed in version 4. Romeu other than that, I've heard that Maximo will ship with a completely different reporting tool with the next version. Regards, Garry gfarrell@fairfax.com.au ps Email me for any advise on Maximo 3.0.2 upgrade if needed. ______________________________ Reply Separator _________________________________ Subject: Re: Information About SQR 4 Author: at internet Date: 21/1/98 23:07 Romeu, Maximo ships with a packaged version of SQR that is unfortunately not usually the latest version. Since it is not purchased directly from SQRibe (the manufacturer) there is no upgrade agreement. I believe you would actually have to purchase an upgrade. I am implementing a Maximo 3.0.2 job and it comes with SQR V3.0.13.3 which has the ReportMate development software. I like it much better that EasySQR, the earlier version. Don't know about a downloadable sample. I haven't been to the SQRibe web site lately. Perhaps someone else knows... ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Romeu Finoti Sciotta To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 9:26 AM Subject: Information About SQR 4 Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Thu Jan 22 10:23:09 1998 Date: Thu, 22 Jan 1998 10:11:44 -0500 From: Ray Brunner Subject: Need FTP examples I know that I can ftp a file within sqr but I need some examples to look at. Would any one be willing to post some sqr examples? I need to copy a file from a novell server to a unix server, process that file on the unix server, and sent the output file back to the novell server. Thanks ************************* Ray Brunner rabrunne@syr.edu 443-9262 Syracuse University ************************* From owner-sqr-users@list.iex.net Thu Jan 22 10:29:04 1998 Date: Thu, 22 Jan 1998 10:16:52 -0500 From: Fredrik S=84fstr=94m Subject: Re: Re[2]: Information About SQR 4 Garry and Chris, We don't ship Maximo with the latest version of SQR since we QA Maximo against one version of SQR and then ship it with that version. By the time we had QAd Maximo 3.0.2 against SQR 3.0.13 for example, there were more recent versions of SQR. However we cannot just upgrade SQR without testing it first... It is true that if you want to upgrade your version of SQR, you have to buy it direct from SQRibe. Also the Support department will probably help you with your questions, but officially PSDI don't support versions of SQR that was not shipped with Maximo. On the other hand, if you buy it from SQRibe you can probably get support from SQRibe... If you look at the source code supplied with Maximo, there are basically one SQR file, one LNG file and some H files per report. The LNG file is for translations (which I work with) and is the text on the paper. The SQR and H files are the code itself. If you customize your database you should re-compile the reports, I have an undocumented program to re-compile all the reports in Maximo. If you can read the SQR code, you can definitely figure out how to use it. Let me know if you want the code by sending a separate mail to Bamse@PSDI.com. Maximo 4.0 will ship SQR 4.x, one license of SQR Workbench and the same numbers of runtime licenses as Maximo Users. The runtime licenses are meant to be run from Maximo... Fredrik Safstrom Translation Department PSDI 100 Crosby Drive Bedford, MA 01730 (781) 280-2000 Switchboard (781) 280-6741 Direct. /Bamse Chris Snow on 98-01-22 06:29:55 Please respond to SQR-USERS@USA.NET To: Multiple recipients of list SQR-USERS cc: (bcc: Fredrik Safstrom/PSDI) Subject: Re: Re[2]: Information About SQR 4 Garry, Hope your 3.0.2 upgrade is going well. Much less painful that the one from 2.11 to 3.0.A With the 3.0.2 release, all "out of the box" reports have .LNG files (#include files) that are connected to them. As usual, if you want these standard reports to run under Maximo 3.0.2 you will need to recompile every report against your new database. The only strange bug I've seen in Reportmate is, sometimes it will not see an #include file until you actually open it from within the application. Then I guess a "pathway" is set and it remembers where it's at. Silly fluke. Often new reports developed in Reportmate run fine there but bomb in an attempt to run in compiled version under Maximo. This sometimes has to do with the client's setup of the SQR.INI file in their Windows directory. It has to contain the right network path to SQR3 dir. You can use SQR source files and run them under SQRW.EXE - they generate a ...LIS file as before, or if you use the -KEEP flag they generate a .SPF file as well. I have some reports that run under the NT AT command and we just have AT call a batch file which contains the SQRW.EXE command line followed by the filename, then the logon string. Works fine. Don't know about the '?' bug...I haven't encountered this yet. And I hope the next reporting tool shipping with Maximo 4.0 will contain a more powerful development tool. We'll see. Hope this helps, ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Garry Farrell To: Multiple recipients of list SQR-USERS Date: 22 January, 1998 2:25 AM Subject: Re[2]: Information About SQR 4 Chris, I have been administering Maximo 3.0.A and have just completed an upgrade to Maximo 3.0.2. I have had a lot of trouble getting ReportMate reports to run. Have you had any problems with the setup of ReportMate reports within Maximo? Do you have to 'Generate SQR' script and compile them with SQRW.EXE? Can you use the SRM files or do you have to compile SQR to SQT? Any tips would be a great help as I would like to use ReportMate. I have also experienced a bug in ReportMate. You can put a '?' in the where clause but it doesn't work for dates. This is supposed to be fixed in version 4. Romeu other than that, I've heard that Maximo will ship with a completely different reporting tool with the next version. Regards, Garry gfarrell@fairfax.com.au ps Email me for any advise on Maximo 3.0.2 upgrade if needed. ______________________________ Reply Separator _________________________________ Subject: Re: Information About SQR 4 Author: at internet Date: 21/1/98 23:07 Romeu, Maximo ships with a packaged version of SQR that is unfortunately not usually the latest version. Since it is not purchased directly from SQRibe (the manufacturer) there is no upgrade agreement. I believe you would actually have to purchase an upgrade. I am implementing a Maximo 3.0.2 job and it comes with SQR V3.0.13.3 which has the ReportMate development software. I like it much better that EasySQR, the earlier version. Don't know about a downloadable sample. I haven't been to the SQRibe web site lately. Perhaps someone else knows... ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Romeu Finoti Sciotta To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 9:26 AM Subject: Information About SQR 4 Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Thu Jan 22 11:08:34 1998 Date: Thu, 22 Jan 1998 10:53:31 -0500 From: Fredrik S=84fstr=94m Subject: Re: Re[2]: Information About SQR 4 -Reply -Reply Hmm, I didn't know that, I know that it is a limitation of 8 charaters for SQLBase, but I didn't know there was a limitation of 7 charaters for reportmate. /Bamse Wes Williams on 98-01-22 09:53:06 Please respond to SQR-USERS@USA.NET To: Multiple recipients of list SQR-USERS cc: (bcc: Fredrik Safstrom/PSDI) Subject: Re: Re[2]: Information About SQR 4 -Reply -Reply Hi Fredrik, I'm sorry I misstated, reportmate doesn't seem to like anything over 7 characters for the datbase name. I can run the same report with SQRW.exe and have 8 Characters for the DB name. Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> Fredrik S=84fstr=94m 01/22/98 08:38am >>> Hi Wes, Yes, Maximo 4.0 will be shipped with SQR 4. I'm currently using 4.0.3 of SQR and we have some problems with date formats. I'm aware of the problems with SQR3, whenever you are using a date function, you have to code it specifically per platform. The 8 character database name is a limitation in SQLBase, even the 32 bit version of SQLBase has that limitation. Anyway, whenever Maximo 4.0 will be ready for shipment, it will ship with SQR 4.x instead of SQR 3.x. /Bamse Wes Williams on 98-01-22 09:13:17 Please respond to SQR-USERS@USA.NET To: Multiple recipients of list SQR-USERS cc: (bcc: Fredrik Safstrom/PSDI) Subject: Re[2]: Information About SQR 4 -Reply We use Maximo and I went from 2.11 to 3.0a to 3.02 over thanksgiving. sqr version 3.013.3 has some bugs related to I believe both SQR and SQLBase. Are you using SQLBase ? It (Reportmate)doesn't like 8 character database names. It has trouble with long passwords. When all fails I just run the SQR with the -rs flag to compile from sqrw.exe. You can make a shortcut and do the following in the command line C:\SQRW\SQB\WORKBNCH\BINW\SQRW.EXE g:\plteng\sqryork\filename.sqr ?Databasename/ID/PWD -rs and then all you need to do is change the filename. Maximo 4.0 will be 32 bit so they will ship a 32 bit report writer maybe SQR 4.0 Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> Garry Farrell 01/22/98 04:36am >>> Chris, I have been administering Maximo 3.0.A and have just completed an upgrade to Maximo 3.0.2. I have had a lot of trouble getting ReportMate reports to run. Have you had any problems with the setup of ReportMate reports within Maximo? Do you have to 'Generate SQR' script and compile them with SQRW.EXE? Can you use the SRM files or do you have to compile SQR to SQT? Any tips would be a great help as I would like to use ReportMate. I have also experienced a bug in ReportMate. You can put a '?' in the where clause but it doesn't work for dates. This is supposed to be fixed in version 4. Romeu other than that, I've heard that Maximo will ship with a completely different reporting tool with the next version. Regards, Garry gfarrell@fairfax.com.au ps Email me for any advise on Maximo 3.0.2 upgrade if needed. ______________________________ Reply Separator _________________________________ Subject: Re: Information About SQR 4 Author: at internet Date: 21/1/98 23:07 Romeu, Maximo ships with a packaged version of SQR that is unfortunately not usually the latest version. Since it is not purchased directly from SQRibe (the manufacturer) there is no upgrade agreement. I believe you would actually have to purchase an upgrade. I am implementing a Maximo 3.0.2 job and it comes with SQR V3.0.13.3 which has the ReportMate development software. I like it much better that EasySQR, the earlier version. Don't know about a downloadable sample. I haven't been to the SQRibe web site lately. Perhaps someone else knows... ____________________________________ Chris Snow, Integrity Information Services chris_snow@msn.com 800-724-5939 pgr -----Original Message----- From: Romeu Finoti Sciotta To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 9:26 AM Subject: Information About SQR 4 Good day for all. I'm using SQR 3 Workbench working with Maximo 3.0.A./Oracle 7.3 and I need upgrade my SQR version. Could someone send me any reference about SQR 4? Example: Is the SQR 4 a 32bit software? Can I download a beta version test? Any information would be appreciated. Thanks. Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Thu Jan 22 11:12:51 1998 Date: Thu, 22 Jan 1998 11:00:18 -0500 From: Allan Geetter Subject: Re: calls to SQL -Reply This is a multi-part message in MIME format. --------------574F4A664592CE5009200536 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I also update Oracle from SQR. I assume some additional code is missing from your example. It might help to post the actual code. Allan Geetter University of Hartford Andrew Campbell wrote: > I use Oracle 7.1 and have no problems. Try using on-error to see if your > statement has an error... > > >>> Murray Leckie 01/21/98 05:47pm >>> > I was wondering if anybody has ever had any problems making an SQL > update to an oracle database (version 7) with SQR (version 3). I am > getting my variables back in a display and the select is working okay > however the program is hanging after the select at the call to SQL. If > I do the command through SQL without the variables, I have no problems. > > begin-procedure Update-ITM-VENDOR > display $vend_id > display $Inv_ITEM_ID > > begin-select > a.vendor_id, > a.inv_item_id > from ps_itm_vendor a > where a.inv_item_id = $inv_item_id > end-select > > display 'working so far' > > begin-sql > update PS_ITM_VENDOR > set vendor_id = $vend_id > where inv_item_id = $Inv_item_id > end-sql > > R. Murray Leckie > mleckie@sierrasys.com > Telephone: (902) 425-6688 > Fax: (902) 425-6689 --------------574F4A664592CE5009200536 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Allan Geetter Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Allan Geetter n: Geetter;Allan org: University of Hartford adr;dom: 200 Bloomfield Ave.;;Information Technology Services - CC125;West Hartford;Connecticut;06117-1599; email;internet: geetter@uhavax.hartford.edu title: Data Security Administrator tel;work: (860) 768-4889 tel;fax: (860) 768-4907 x-mozilla-cpt: ;0 x-mozilla-html: TRUE version: 2.1 end: vcard --------------574F4A664592CE5009200536-- From owner-sqr-users@list.iex.net Thu Jan 22 11:36:46 1998 Date: Thu, 22 Jan 1998 11:23:29 -0500 From: "Eric A. Eastman" Subject: Re: calls to SQL Hello Murray, There might be a lock on that particular row of the table. When Oracle DML tries to lock a row that is already locked (like right before it updates it) the default behavior is to wait until the other lock goes away. In some extreme cases that will never happen and your program will just hang. When did the command in SQL*plus, did you use the exact same values? Since you are already selecting the same row, try adding "for update nowait" right before the "end-select" that will bomb with a nasty error if there is a lock on the row. Then you can ask your DBA to remove the stale locks. I think there is also a nowait option on the update but I haven't used it. Hope this helps, Eric On Wed, 21 Jan 1998, Murray Leckie wrote: > I was wondering if anybody has ever had any problems making an SQL > update to an oracle database (version 7) with SQR (version 3). I am > getting my variables back in a display and the select is working okay > however the program is hanging after the select at the call to SQL. If > I do the command through SQL without the variables, I have no problems. > > begin-procedure Update-ITM-VENDOR > display $vend_id > display $Inv_ITEM_ID > > begin-select > a.vendor_id, > a.inv_item_id > from ps_itm_vendor a > where a.inv_item_id = $inv_item_id > end-select > > display 'working so far' > > begin-sql > update PS_ITM_VENDOR > set vendor_id = $vend_id > where inv_item_id = $Inv_item_id > end-sql > > > R. Murray Leckie > mleckie@sierrasys.com > Telephone: (902) 425-6688 > Fax: (902) 425-6689 > ------------------------------------------------------------------------ Eric Eastman | Ray Ontko & Co. | Adverbs are endangered; act quickly. erice@ontko.com | Richmond, IN | http://www.ontko.com/, ftp.ontko.com From owner-sqr-users@list.iex.net Thu Jan 22 12:04:16 1998 Date: Thu, 22 Jan 1998 08:54:18 -0800 From: Murray Leckie Subject: Re: calls to SQL Thanks Eric - that was a big help. > -----Original Message----- > From: Eric A. Eastman [SMTP:erice@ONTKO.COM] > Sent: Thursday, January 22, 1998 12:23 PM > To: Multiple recipients of list SQR-USERS > Subject: Re: calls to SQL > > Hello Murray, > > There might be a lock on that particular row of the table. When > Oracle DML tries to lock a row that is already locked (like right > before > it updates it) the default behavior is to wait until the other lock > goes away. In some extreme cases that will never happen and your > program will just hang. > > When did the command in SQL*plus, did you use the exact same values? > > Since you are already selecting the same row, try adding "for update > nowait" right before the "end-select" that will bomb with a nasty > error > if there is a lock on the row. Then you can ask your DBA to remove > the > stale locks. I think there is also a nowait option on the update but > I > haven't used it. > > Hope this helps, > Eric > > > On Wed, 21 Jan 1998, Murray Leckie wrote: > > > I was wondering if anybody has ever had any problems making an SQL > > update to an oracle database (version 7) with SQR (version 3). I am > > getting my variables back in a display and the select is working > okay > > however the program is hanging after the select at the call to SQL. > If > > I do the command through SQL without the variables, I have no > problems. > > > > begin-procedure Update-ITM-VENDOR > > display $vend_id > > display $Inv_ITEM_ID > > > > begin-select > > a.vendor_id, > > a.inv_item_id > > from ps_itm_vendor a > > where a.inv_item_id = $inv_item_id > > end-select > > > > display 'working so far' > > > > begin-sql > > update PS_ITM_VENDOR > > set vendor_id = $vend_id > > where inv_item_id = $Inv_item_id > > end-sql > > > > > > R. Murray Leckie > > mleckie@sierrasys.com > > Telephone: (902) 425-6688 > > Fax: (902) 425-6689 > > > > ---------------------------------------------------------------------- > -- > Eric Eastman | Ray Ontko & Co. | Adverbs are endangered; act > quickly. > erice@ontko.com | Richmond, IN | http://www.ontko.com/, > ftp.ontko.com From owner-sqr-users@list.iex.net Thu Jan 22 13:13:37 1998 Date: Thu, 22 Jan 1998 11:45:48 -0600 From: Randle Boyd Subject: Label barcodes This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------ =_NextPart_000_01BD272B.48DF9090 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Greetings, I am trying to print barcodes on adhesive labels 4" x 1.9375". The problem I am having is that the printer (Okidata 520ML) is form feeding at the end of each label, even though the FORMFEED argument is set to 'NO'. I have a new page at the end of each barcode, so that each barcode is its own page. That is the way it is displayed in the SQR Viewer. Does anyone have any ideas about how to eliminate this unwanted formfeed? TIA, Randle ------ =_NextPart_000_01BD272B.48DF9090 Content-Type: application/octet-stream; name="set-up" Content-Transfer-Encoding: base64 QkVHSU4tU0VUVVANCkRFQ0xBUkUtUFJJTlRFUiBsaW5lcHJpbnRlcg0KRU5ELURFQ0xBUkUNCiAg IERFQ0xBUkUtTEFZT1VUIGxhYmVsX3N0b2NrDQogICBQQVBFUi1TSVpFPSg0LDEuOTM3NSkNCiAg IGZvcm1mZWVkPU5PCSAgIA0KICAgTEVGVC1NQVJHSU49MA0KICAgUklHSFQtTUFSR0lOPTANCiAg IFRPUC1NQVJHSU49MC4wNjI1DQogICBCT1RUT00tTUFSR0lOPTAuMDYyNQ0KRU5ELURFQ0xBUkUN CkVORC1TRVRVUA== ------ =_NextPart_000_01BD272B.48DF9090-- From owner-sqr-users@list.iex.net Thu Jan 22 14:08:20 1998 Date: Thu, 22 Jan 1998 13:49:46 -0500 From: Sam Spritzer Subject: Label barcodes -Reply Is the printer a network or local printer? >>> Randle Boyd 01/22/98 12:45pm >>> Greetings, I am trying to print barcodes on adhesive labels 4" x 1.9375". The problem I am having is that the printer (Okidata 520ML) is form feeding at the end of each label, even though the FORMFEED argument is set to 'NO'. I have a new page at the end of each barcode, so that each barcode is its own page. That is the way it is displayed in the SQR Viewer. Does anyone have any ideas about how to eliminate this unwanted formfeed? TIA, Randle From owner-sqr-users@list.iex.net Thu Jan 22 14:34:47 1998 Date: Thu, 22 Jan 1998 13:21:35 -0600 From: Randle Boyd Subject: Re: Label barcodes -Reply The printer is networked. Some other items I failed to mention are that the printer is form feeding as if the labels were 11" long (letter size). I also failed to mention that the labels are tractor feed, and 1 label wide. Also, I assume that each label needs to be on a separate page(i.e.. new-page after each label is printed). I imagine that it would be very difficult to print out 1000 labels, all properly aligned, by manipulating the spacing between lines. Thanks Again, Randle >---------- >From: Sam Spritzer[SMTP:SSpritzer@GW.CTG.COM] >Sent: Thursday, January 22, 1998 12:49 PM >To: Multiple recipients of list SQR-USERS >Subject: Label barcodes -Reply > >Is the printer a network or local printer? > >>>> Randle Boyd 01/22/98 12:45pm >>> >Greetings, >I am trying to print barcodes on adhesive labels 4" x 1.9375". The >problem I am having is that the printer (Okidata 520ML) is form feeding >at the end of each label, even though the FORMFEED argument is set to >'NO'. I have a new page at the end of each barcode, so that each >barcode is its own page. That is the way it is displayed in the SQR >Viewer. Does anyone have any ideas about how to eliminate this >unwanted >formfeed? > >TIA, >Randle > From owner-sqr-users@list.iex.net Thu Jan 22 15:05:54 1998 Date: Thu, 22 Jan 1998 14:47:31 -0500 From: Sam Spritzer Subject: Re: Label barcodes -Reply -Reply Chances are that your network setting for that particular printer is set to do a formfeed. >>> Randle Boyd 01/22/98 02:21pm >>> The printer is networked. Some other items I failed to mention are that the printer is form feeding as if the labels were 11" long (letter size). I also failed to mention that the labels are tractor feed, and 1 label wide. Also, I assume that each label needs to be on a separate page(i.e.. new-page after each label is printed). I imagine that it would be very difficult to print out 1000 labels, all properly aligned, by manipulating the spacing between lines. Thanks Again, Randle >---------- >From: Sam Spritzer[SMTP:SSpritzer@GW.CTG.COM] >Sent: Thursday, January 22, 1998 12:49 PM >To: Multiple recipients of list SQR-USERS >Subject: Label barcodes -Reply > >Is the printer a network or local printer? > >>>> Randle Boyd 01/22/98 12:45pm >>> >Greetings, >I am trying to print barcodes on adhesive labels 4" x 1.9375". The >problem I am having is that the printer (Okidata 520ML) is form feeding >at the end of each label, even though the FORMFEED argument is set to >'NO'. I have a new page at the end of each barcode, so that each >barcode is its own page. That is the way it is displayed in the SQR >Viewer. Does anyone have any ideas about how to eliminate this >unwanted >formfeed? > >TIA, >Randle > From owner-sqr-users@list.iex.net Thu Jan 22 16:06:00 1998 Date: Thu, 22 Jan 1998 15:48:44 -0500 From: Ignacio Lulli Subject: Re: Re[2]: rtrim --0__=3i0JjeMzE6jTbhIk8V9IDSGP40JuV2foFTdzDS2TjA6xPEw9H4wSJ8re Content-type: text/plain; charset=us-ascii You can join as many literals (or strings) as you want using concatenation ( || or two double lines): let $output = lpad($output,165,' ') || 'The end'. See you. --Ignacio (Embedded image moved YMCKINNE @ lanier.com (YMCKINNE) to file: 01/22/98 07:14 AM PIC19656.PCX) To: Ignacio Lulli cc: Subject: Re[2]: rtrim Hi Ignacio, Thanks for your help. I ran the code you sent me and it worked perfectly! However, if I want to put the $output on the same line as other data, could I use: let $output = lpad($output,165,+1, '') ? Yolanda ______________________________ Reply Separator _________________________________ Subject: Re: rtrim Author: Ignacio Lulli at $INTERNET Date: 01-22-1998 09:33 Try the following code: let $output = &Remit_City let $output = lpad($output,165,' ') !note there is a space between the quotes This would make $output equal 165 spaces and then the value in &remit_city Hope this helps! --Ignacio (Embedded image moved YMCKINNE to file: 01/22/98 06:06 AM PIC23601.PCX) Please respond to SQR-USERS@USA.NET To: Multiple recipients of list SQR-USERS cc: (bcc: Ignacio Lulli) Subject: rtrim I am trying to position text in a flat file in a certain header position. Does anyone know of an easier way to positon text in a flat file without explicitly stating the row and column? Can I use rtrim with move? My code looks like this: move &Remit_City to $text $text has to be in column 165 of my flat file. I would appreciate the help. Yolanda --0__=3i0JjeMzE6jTbhIk8V9IDSGP40JuV2foFTdzDS2TjA6xPEw9H4wSJ8re Content-type: application/octet-stream; name="PIC19656.PCX" Content-transfer-encoding: base64 CgUBCAAAAABoACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAABaQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAD1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPH E8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRP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CkgICA/wAAAP8A //8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAA AP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA /wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCk gICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vw oKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw //vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzA psrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDA wNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICA wMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACA AICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACA gACA//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP////// --0__=3i0JjeMzE6jTbhIk8V9IDSGP40JuV2foFTdzDS2TjA6xPEw9H4wSJ8re-- From owner-sqr-users@list.iex.net Thu Jan 22 19:25:27 1998 Date: Thu, 22 Jan 1998 19:14:38 -0500 From: Scott Self Subject: Selecting a long raw I am using SQR version 3.0.13.3 in HP-UX version 10.20 with Oracle version 7.3.2.3.0. I have a table with a column that is of type LONG RAW. When I try to select the information from this column to store in a variable or print to a report I get the following error : (SQR 5528) ORACLE OEXEC error -932 in cursor 1: ORA-00932: inconsistent datatype Does anyone know what, if anything, I can do to select data of the type, LONG RAW? Thanks, Scott Self From owner-sqr-users@list.iex.net Thu Jan 22 19:32:03 1998 Date: Thu, 22 Jan 1998 19:22:31 -0500 From: "Eric A. Eastman" Subject: Re: Date math Charlie, I can't quite tell what you are doing from from the message. (Including code can really help your odds of getting a good answer.) I have used variables in date arithmetic many times, so I don't think that is the problem. One thing that you might be running into is local procedures. In SQR, a procedure is local if it has any parameters or has the LOCAL keyword. Global variables can be accessed inside local procedures by putting an underscore, "_", after the "&", "$" or "$". Example: begin-program move 'there ' to $test1 do something show $test1 $test2 end-program !------------------------------- begin-procedure something local move 'Hi ' to $test1 show $test1 noline move 'world.' to $_test2 end-procedure something will produce: Hi there world. Hope this helps, Eric On Wed, 21 Jan 1998, Charles Dornbos wrote: > Hi, I am using SQR3 with an Oracle 7.2 database and want to use a variable > for date math. The syntax is testdate < sysdate - #offset. The problem I'm > having is that if I put in a number instead of the #offset it works fine > (say 30, I get 30 days less), the procedures to get the #offset are working > fine (I get the numerical result I expected) but SQR treats #offset as a 0. > Is this a bug? what am I missing? > > charlied@tir.com > ------------------------------------------------------------------------ Eric Eastman | Ray Ontko & Co. | Adverbs are endangered; act quickly. erice@ontko.com | Richmond, IN | http://www.ontko.com/, ftp.ontko.com From owner-sqr-users@list.iex.net Thu Jan 22 19:57:44 1998 Date: Fri, 23 Jan 1998 08:51:25 +0800 From: Wayne Ivory Subject: Re: SQR SQL Commit -Reply Perhaps -RL is the Really Lucky flag. You might indeed need that to get = this working=21 >>> Chris Snow 22/1/98 3:29:05 pm >>> Wes Not familiar with the -RL flag (release locks?) I don=27t see it in my documentation. What does it do and does it work on SQLServer database = under NT4.0 ? -----Original Message----- From: Wes Williams To: Multiple recipients of list SQR-USERS Date: Wednesday, January 21, 1998 7:24 AM Subject: SQR SQL Commit -Reply The -RL flag may help. Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams=40snds.com Wayne Ivory Information Services Westralian Sands Limited From owner-sqr-users@list.iex.net Thu Jan 22 20:37:57 1998 Date: Fri, 23 Jan 1998 09:29:58 +0800 From: Wayne Ivory Subject: Re: Label barcodes I had a similar problem printing labels on a network printer - nothing to = do with SQR but possibly the same anyway. In the end I changed the page = size to be 6 lines (the height of 1 label plus the gap). This way I got a = bunch of labels printing consecutively, and 1 blank label at the end of = the run. The users actually liked this because they often printed several = batches of labels before they went to get them off the printer, so having = a blank label between runs helped them split them up (ie tell =27em it=27s = not a bug, it=27s a feature=21). Wayne Ivory Information Services Westralian Sands Limited >>> Randle Boyd 23/1/98 1:45:48 am >>> Greetings, I am trying to print barcodes on adhesive labels 4=22 x 1.9375=22. The problem I am having is that the printer (Okidata 520ML) is form feeding at the end of each label, even though the FORMFEED argument is set to =27NO=27. I have a new page at the end of each barcode, so that each barcode is its own page. That is the way it is displayed in the SQR Viewer. Does anyone have any ideas about how to eliminate this unwanted formfeed? TIA, Randle From owner-sqr-users@list.iex.net Thu Jan 22 21:44:01 1998 Date: Thu, 22 Jan 1998 20:33:58 -0600 From: David Reaves Subject: Re: Date math I agree with Eric's comment on local versus global variable names. A second point that can bite you is that ALL variables in headers and footers are global. To clarify--if you use the variable $_DEPARTMENT in a local procedure (the _ defines it as a global variable) then you'd reference as $DEPARTMENT in the header or footer. Maybe it was just muddled thinking on my part, but it took me a while to figure that out the first time... dreaves@swbell.net Eric A. Eastman wrote: > > Charlie, > > I can't quite tell what you are doing from from the message. (Including > code can really help your odds of getting a good answer.) I have used > variables in date arithmetic many times, so I don't think that is the > problem. > > One thing that you might be running into is local procedures. In SQR, a > procedure is local if it has any parameters or has the LOCAL keyword. > Global variables can be accessed inside local procedures by putting an > underscore, "_", after the "&", "$" or "$". > > Example: > > begin-program > move 'there ' to $test1 > do something > show $test1 $test2 > end-program > > !------------------------------- > begin-procedure something local > move 'Hi ' to $test1 > show $test1 noline > move 'world.' to $_test2 > end-procedure something > > will produce: > Hi there world. > > Hope this helps, > Eric > > On Wed, 21 Jan 1998, Charles Dornbos wrote: > > > Hi, I am using SQR3 with an Oracle 7.2 database and want to use a variable > > for date math. The syntax is testdate < sysdate - #offset. The problem I'm > > having is that if I put in a number instead of the #offset it works fine > > (say 30, I get 30 days less), the procedures to get the #offset are working > > fine (I get the numerical result I expected) but SQR treats #offset as a 0. > > Is this a bug? what am I missing? > > > > charlied@tir.com > > > > ------------------------------------------------------------------------ > Eric Eastman | Ray Ontko & Co. | Adverbs are endangered; act quickly. > erice@ontko.com | Richmond, IN | http://www.ontko.com/, ftp.ontko.com From owner-sqr-users@list.iex.net Fri Jan 23 00:39:26 1998 Date: Fri, 23 Jan 1998 00:31:30 -0500 From: Nathan Treadway Subject: Re: SQR Error 06003 When using Multiple Reports > I am receiving the above error 06003 'Unexpected End-Of-File while > processing the printer file' > when i run an sqr which has multiple reports in it. The "printer file" in this error message is the SPF file that SQR generates during processing. How are you invoking SQR? I've usually seen this error when I was using the "-flpt1" command line option to try to print directly to the printer on a Windows box. This works fine when the SPF is not created, but fails when SQR tries to use an SPF file because "lpt1.spf" is not a valid file name. (In fact, in this case you'll often get the contents of the SPF dumped to your printer before you get the above error.) If this is your problem, you'll probably be able to use the -printer:wp command line flag to do what you want. Another possibility is that you don't have write permissions to the output directory or something like that. You'd most likely be having problems with your non-multiple-report version in that case, though. (The non-multiple-report version works because it's simple enough that SQR doesn't have to generate the SPF file.) Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Fri Jan 23 01:37:28 1998 Date: Fri, 23 Jan 1998 14:26:58 +0800 From: Arthur Coniglio Subject: error 06003 'Unexpected End-Of-File while This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------ =_NextPart_000_01BD280A.A24421C0 Content-Type: text/plain Thanks Nathan for that info. I am invoking the SQR thru peoplesoft 5.8 process scheduler attempting to write directly to the printer. I have tried the -printer:wp and also tried -printer:hp sqr flags but am still receiving the error. Even though ive got multiple reports, i am only ensuring that i only write to one report, in order to eliminate possibilities. When i use the multi-report i am using different declare-printer/layout statements as to when i use just non-multi report SQR. Could the declare-printer/layout statements i'm using have something to do with it. declare-printer HP-definition type=HPLASERJET point-size=8 symbol-set=0U ! ASCII symbol set pitch=17 ! Characters per inch font=3 ! Courier font end-declare declare-layout DEFAULT paper-size=(8.5,11) orientation=LANDSCAPE max-columns=177 max-lines=58 left-margin=0 top-margin=0.1 line-height=9 ! 72/printer_point-size char-width=4.32 ! points, to handle 177 cols end-declare any suggestions appreciated !!! Arthur ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----------------------------------- > I am receiving the above error 06003 'Unexpected End-Of-File while > processing the printer file' > when i run an sqr which has multiple reports in it. The "printer file" in this error message is the SPF file that SQR generates during processing. How are you invoking SQR? I've usually seen this error when I was using the "-flpt1" command line option to try to print directly to the printer on a Windows box. This works fine when the SPF is not created, but fails when SQR tries to use an SPF file because "lpt1.spf" is not a valid file name. (In fact, in this case you'll often get the contents of the SPF dumped to your printer before you get the above error.) If this is your problem, you'll probably be able to use the -printer:wp command line flag to do what you want. Another possibility is that you don't have write permissions to the output directory or something like that. You'd most likely be having problems with your non-multiple-report version in that case, though. (The non-multiple-report version works because it's simple enough that SQR doesn't have to generate the SPF file.) Nathan ------------------------------------------------------------------------ ---- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ ------ =_NextPart_000_01BD280A.A24421C0 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IiYGAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAAzgcBABcADgAaADoABQBUAQEggAMADgAAAM4HAQAX AA4AGAAiAAUAOgEBCYABACEAAABCNjYxM0IwODU3OTNEMTExQkFERjAwQTBDOThCODc5RgAtBwEE gAEAKgAAAGVycm9yIDA2MDAzICdVbmV4cGVjdGVkIEVuZC1PZi1GaWxlIHdoaWxlAJ4NAQ2ABAAC AAAAAQABAAEDkAYAZA0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AAAAAwAGEM6bIqcDAAcQFggAAAMAEBAA AAAAAwAREAAAAAAeAAgQAQAAAGUAAABUSEFOS1NOQVRIQU5GT1JUSEFUSU5GT0lBTUlOVk9LSU5H VEhFU1FSVEhSVVBFT1BMRVNPRlQ1OFBST0NFU1NTQ0hFRFVMRVJBVFRFTVBUSU5HVE9XUklURURJ UkVDVExZVE9UAAAAAAIBfwABAAAANQAAADwzMTI4NkM5RjA1NzlEMTExQkFDNDAwQTBDOThCODc5 RjA0NkRFNkBDRU5UT0ZGX0hSMT4AAAAAN6Q= ------ =_NextPart_000_01BD280A.A24421C0-- From owner-sqr-users@list.iex.net Fri Jan 23 10:49:07 1998 Date: Fri, 23 Jan 1998 09:57:21 -0500 From: Nathan Treadway Subject: Re: error 06003 'Unexpected End-Of-File while > I am invoking the SQR thru peoplesoft 5.8 process scheduler attempting > to write directly > to the printer. I have tried the -printer:wp and also tried -printer:hp > sqr flags but am still > receiving the error. Unfortunately, the PeopleSoft 5.8 process schedule was written before SPF files were in use, and doesn't work cleanly with them. In particular, if you use "-printer:wp" you should NOT use the normal Run Output "Printer" radio button. This usually is set to show "lpt1" in the Printer/File box, and causes "-flpt1" to be put on the SQR command line. (You can see the SQR command line used from the Process Montitor Process Detail(2) screen, as I described a few days ago.) Instead, you should choose the "File" button and leave that unchanged. (In the installation here it says "%temp%\".) This will direct the SPF file to a usable directory, while the "-printer:wp" will cause the output to be sent to the printer. (The above assumes that you have already added -printer:wp to the Process Definition. You can shortcut that step by adding it after the %temp%\ in the File text box. Be sure to leave the %temp%\, because PeopleSoft will still put a "-f" on the SQR command line just before the value you enter.) > When i use the multi-report i am using different declare-printer/layout > statements as to when i use > just non-multi report SQR. Could the declare-printer/layout statements > i'm using have something to do with it. Yes. I'm not sure exactly what declare-printer/layout features trigger the use of the SPF file, but it is related to using the more "advanced" printing commands. Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Fri Jan 23 18:06:19 1998 Date: Fri, 23 Jan 1998 17:39:39 -0500 From: Ignacio Lulli Subject: Re: Multiple print reports --0__=logg4VA21AU7gZiUAOc7ojT6y8X98954QV17F9uUeyl1FNd1VCil5WTB Content-type: text/plain; charset=us-ascii I have tried this SQR from both the process scheduler in PeopleSoft (specifically the pay cycle manager in PS Accounts payable) and from SQRW, the executable. And I have checked everywhere (Config manager, Process Definitions, the Process Monitor and my own batch file) to ensure that the flags that cause SPF files to be created (-nolis -keep) are not being sent. After I sent the original email, I removed all the use-report commands and it started to work fine, creating one LIS file. But now, after not changing any printing related code, it doesn't print either LIS or SPF files. At one point, it created the LIS file only when run from SQRW but not from within PeopleSoft. I still haven't refocused my attention to the printing since it is too much of a moving target (I want to finish the rest of the code 1st). But any help, ideas, words of comfort would be appreciated! --Ignacio (Embedded image moved "Connaghan, Rebecca" PIC29228.PCX) 01/21/98 08:19 AM Please respond to SQR-USERS@USA.NET To: Multiple recipients of list SQR-USERS cc: (bcc: Ignacio Lulli) Subject: Re: Multiple print reports In PS 7.0, check the SQR Flags override statement in the Process Scheduler, Process Definition for the job you are running. Rebecca > -----Original Message----- > From: Nathan Treadway [SMTP:nathant@ONTKO.COM] > Sent: Wednesday, January 21, 1998 10:52 AM > To: Multiple recipients of list SQR-USERS > Subject: Re: Multiple print reports > > > Can anyone tell me why I am not getting the L__ files? Where can the > system > > be picking up the -nolis or -keep parameters? Any other ideas? (I > would > [...] > > Oracle 7.3 > > PeopleSoft 7.0 > > NT > > I've used PeopleSoft 5.12 and I'm not sure how different the SQR > execution > is between the two versions, but here are some places to check: > - the SQRFLAGS environment variable (NT may be different, but you > can > probably see the SQRFLAGS setting that SQR is getting by just > typing > "SET" in an MS-DOS shell) > - the PeopleSoft job definition. After you submit the job, > double-click > on it in Process Monitor and then click on the ">>" botton at the > bottom of the Process Detail(1) window. You'll get the Process > Detail(2) window, which lists the parm list for the SQR command. > If you see -nolis there, you'll need to look in the Process > Scheduler > to find out where it's coming from. > - have your program do a "show" of the value of $sqr-report (for > each of the different reports you are trying to generate). This > will let you confirm in the .log file that the file you think > is being used as the .L__ file is what SQR is using. Most likely > this won't tell you much, though, since the .L__ files and .S__ > files > should be generated in the same place. > - Try to use SQR Print or SQR Viewer with the .S__ files to make > sure > that some output is being generated. If you can't see anything > in the > .S__ files, it may be that the .L__ files are not generated > because > they would be empty. > > Note that "-keep" by itself does not prevent generation of the .L__ > files; > it just causes the .S__ files to be kept, too. You're probably > getting a > -nolis added to your command somewhere. > > Hope this helps. > > Nathan > ---------------------------------------------------------------------- > ------ > Nathan Treadway | Ray Ontko & Co. | Software consulting services > nathant@ontko.com | Richmond, IN | http://www.ontko.com/ --0__=logg4VA21AU7gZiUAOc7ojT6y8X98954QV17F9uUeyl1FNd1VCil5WTB Content-type: application/octet-stream; name="PIC29228.PCX" Content-transfer-encoding: base64 CgUBCAAAAABoACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAABaQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAD1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPH E8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sTzRPHE8MTwhP1E9sT zRPHE8MTwhPwEwzIBgzYE8wTxhPDE8IT7hPOBtcTzBPGE8MTE+wTwgbCBwbCEgbCEgbCEsUG1hPL E8YTwxMT6hMMwgYHwgLCAwISwgfEEsMCwwbVE8sTxRPDExPpE8MGAwcCBwMCwhLDB8ISwgISwgLD BtUTyhPFE8MTE+gTwgIHA8ICEw4DDgLDE8USwwLCEMIG1BPKE8UTwxMT5xMCAwcDAg4TDgITwgIS D8ISD8ISBRICEcICwwbUE8oTxRPCExPmEwYCBwMCDgI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GDMMTDBPCB8YTwwfHEwfGE8MTwhPDEwwDDAfeEwYH xxICEQPDAgMCwhIGEgYHBgwGEAIQAsIGB8MTDMYTwwfKEwzGE8MTwhPDE8IMB98TDBLCB8USAgMR xAISB8ISBgcGDAYQBhAGEAYMB8MMB8kTwwfHEwzGE8MTwhPDEwwPwgzfEwYSB8ISB8ISAhECAwID EgcSBwYHBgwGEAYQxgzDD8IHxRPDB8kTBwzGE8MTwhPDEwzDD8QM3BPCBhIGwxIGAhECAwIHBgcG yAzJDxMHzRMHwwwHxxPDE8ITwxMHDMYPxwwH1BMGEgYSBhLLDM4PwwwTDMcTwgfEDAfJE8QTwhMT xBMHwgzLD9sM0w/GDAfDEwzDEwfEDAfLE8YTwxMTxhMHxAztD8gMBgfIE8QMB84TxxPDE8ITyhMH xwzbD8sMEAUMBcIMwgYH1RPKE8UTwxMT0RMH2wwGEAYQBhACBQwFDAUMBgwHBgfWE8sTxRPDExPu EwYMBhAGEAIGDAYMwwYH1xPLE8YTwxMT8BPKBgfYE8wTxhPDExP1E9sTzRPHE8MTwhP1E9sTzRPH E8MTwhMMAAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD/ /wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8A AAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A //8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAA AP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA /wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCk gICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vw oKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw //vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzA psrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDA wNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICA wMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACA AICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACA gACA//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP////// --0__=logg4VA21AU7gZiUAOc7ojT6y8X98954QV17F9uUeyl1FNd1VCil5WTB-- From owner-sqr-users@list.iex.net Fri Jan 23 19:58:43 1998 Date: Fri, 23 Jan 1998 16:42:06 -0800 From: Benjamin Rosenthal Subject: 3-6 Month Contract Assignment I have two 3-6 month contract assignments available in Pleasanton, CA. = The main skills required are around 2 years of experience with SQL and = SQR. My client needs real team players who are available to start = right away. Additional helpful skills would be experience with Crystal = Reports and/or PeopleTools If you're interested please email your resume = and include job code B130 in the subject line. thank you! *************************************************************************= ************** Benjamin Rosenthal email: benjamin@cgusa.com Carnaghe and Gibbs voice: (415) 956-6400 x20 Business Solutions, Inc fax: (415) 956-6450 From owner-sqr-users@list.iex.net Sun Jan 25 09:30:04 1998 Date: Sun, 25 Jan 1998 09:09:48 -0500 From: Charles Dornbos Subject: Re: Date math -----Original Message----- From: Eric A. Eastman To: Multiple recipients of list SQR-USERS Date: Thursday, January 22, 1998 7:34 PM Subject: Re: Date math >Charlie, > >I can't quite tell what you are doing from from the message. (Including >code can really help your odds of getting a good answer.) Here's the code: begin-procedure Get-WO begin-select wonum &wonum (1,1) description (,15) wrap 30 2 keep-top pmnum &wopmnum wopriority (,45) do get_freq sysdate-targcompdate (,54) EDIT 9999 PRINT #FACTOR (,65) EDIT 999 next-listing no-advance need=2 from workorder where targcompdate < sysdate - #factor and status not in ('CLOSE', 'CAN') order by targcompdate end-select end-procedure begin-procedure get_freq begin-select TO_NUMBER(DAYFREQUENCY) &FREQ1 let #factor = ROUND((.6 * &freq1), 0) FROM PM where pm.pmnum = &wopmnum end-select end-procedure From owner-sqr-users@list.iex.net Sun Jan 25 17:06:15 1998 Date: Sun, 25 Jan 1998 23:38:22 +0300 From: Chanan & Gaila Morrison Subject: "Date math" problem is really "where" clause changed during query Sorry Charlie, but even SQR won't be able to handle a "where" clause which you change dynamically during the query itself. When Oracle parses your "where" clause, the value of #factor is not yet defined and thus = 0. I don't understand your tables 100%, but I assume that you would be best off doing a "join" between the WORKORDER and PM tables, so that you can limit "targcomdate" according to the "pmnum". Have a good week, Chanan Morrison --------------------------------------------------------------- >Here's the code: > >begin-procedure Get-WO >begin-select > >wonum &wonum (1,1) >description (,15) wrap 30 2 keep-top >pmnum &wopmnum >wopriority (,45) > > do get_freq > >sysdate-targcompdate (,54) EDIT 9999 > > PRINT #FACTOR (,65) EDIT 999 > > next-listing no-advance need=2 > >from workorder > >where targcompdate < sysdate - #factor >and status not in ('CLOSE', 'CAN') > > order by targcompdate > >end-select >end-procedure > >begin-procedure get_freq >begin-select > >TO_NUMBER(DAYFREQUENCY) &FREQ1 > > let #factor = ROUND((.6 * &freq1), 0) > > FROM PM > >where pm.pmnum = &wopmnum > >end-select >end-procedure > > From owner-sqr-users@list.iex.net Sun Jan 25 18:14:44 1998 Date: Sun, 25 Jan 1998 18:07:16 -0500 From: Mark Capaldi Subject: Re: Date math Charles, this is obviously for Maximo. You need to set the value of #factor before you do Get-Wo! If you do not have a large amount of PM records you could flip the procedures around. For example, select a PM record then go to Get-Wo and select where &wopmnum = &pmnum and etc, etc. Hope this helps, Mark From owner-sqr-users@list.iex.net Sun Jan 25 22:06:40 1998 Date: Sun, 25 Jan 1998 21:56:50 EST From: Kathi Hardy Subject: Re: Unloading a table in SQLBase again If you are getting your data from an 'ASK' statement, it should read: Begin-SQL Unload data SQL {myfile} ps_health_benefit End-SQL In a message dated 98-01-19 12:41:00 EST, you write: > Hello again everyone, > > Earlier I asked how to unload a table from an SQR using SQLBase. I have > changed my code to look like this: > > Begin-SQL > Unload data SQL [$MyFile] ps_health_benefit > End-SQL > > Where $MyFile was retrieved from an 'ASK' statement in the setup > procedure. > > Now I am getting something very strange. I am getting the error number > 5523 - Database commit failed, and then it shuts down the SQLBase server > (not the box, but the program). Am I totally off the deep end here? > > I would appreciate any help, and thanks for the previous help on this > problem. > From owner-sqr-users@list.iex.net Sun Jan 25 23:00:15 1998 Date: Sun, 25 Jan 1998 22:51:11 EST From: GYousefpou Subject: extra decimal points Hi everyone; My name is Gilbert and I am new in the SQR world, so I might have a simple question, but I appreciate your concern. In one of my programs I get a numeric value from the table and assigned it to a alphanumeric variable. The reason for that is I need to use lpad to pad the value with zeros on the left if it is less than 10 characters. After I do that I have a "show" statement to see what is there and there is a decimal point and about 6 decimal places with zeros. I don't know where are they coming from. Would some one please explain why and how to get rid of those. I appreciate any help From owner-sqr-users@list.iex.net Mon Jan 26 00:21:53 1998 Date: Mon, 26 Jan 1998 00:10:51 -0500 From: Stephan Marais Subject: Re: extra decimal points GYousefpou wrote: > > In one of my programs I get a numeric value from the table and assigned it > to a alphanumeric variable. The reason for that is I need to use lpad to pad > the value with zeros on the left if it is less than 10 characters. After I do > that I have a "show" statement to see what is there and there is a decimal > point and about 6 decimal places with zeros. I don't know where are they > coming from. Would some one please explain why and how to get rid of those. > I appreciate any help Hi, I'm not quite sure if you need to get a integer value at the the end. I suggest you use the following: move #value to $value 0999999999 This will move the numeric value to a string value and left pad it with 0's without any decimals. In SQR there is no integer or float data types, just numeric. That is why you get the decimals. Hope this helps Stephan Marais From owner-sqr-users@list.iex.net Mon Jan 26 12:19:51 1998 Date: Mon, 26 Jan 1998 08:53:58 -0800 From: Vicki Lo Subject: Printing HPGL image in SQR(Using HP Printer) Anyone has successfully printing HPGL file by using "-printer:hp"? Somehow it doesn't work for me.If we get a HPGL file, how do we know it is a correct(SQR usable) HPGL Image or not? Will HPGL2 format works? Anybody has a sample HPGL file to send to me. So, I would know Whether it is the image file problem or my SQR program. Thanks. Vicki Lo e-mail: VICKIL@RemedyStaff.com From owner-sqr-users@list.iex.net Mon Jan 26 12:22:14 1998 Date: Mon, 26 Jan 1998 15:06:58 -0200 From: Romeu Finoti Sciotta Subject: Can I decompiler an SQT? This is a multi-part message in MIME format. ------=_NextPart_000_0017_01BD2A6C.0C124380 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Good day for everybody. =20 Could someone answer this question: Can I decompiler an SQT? =20 Any help would be appreciate. Thanks =20 Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. ------=_NextPart_000_0017_01BD2A6C.0C124380 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Good day for everybody.
 
Could someone answer this question: = Can I decompiler an SQT?
 
Any help would be=20 appreciate.
Thanks
 
Romeu Finoti Sciotta
Alcan Aluminio do Brasil=20 Ltda.
------=_NextPart_000_0017_01BD2A6C.0C124380-- From owner-sqr-users@list.iex.net Mon Jan 26 13:10:44 1998 Date: Mon, 26 Jan 1998 09:30:58 +0100 From: Jean-Luc Peyret Subject: Re: extra decimal points Hi. Have you tried using Move? As in: Move #foobar to $foobar 9999999.9999 using the edit mask with move should allow you to format the way you want (not sure whether I should put in 999999. or 000009.) Alternatively, if all you want to do is print immediately, the print command also takes the edit mask: print #foobar edit 9999999.9999 Note: edit has to be specified in one case and not in the other. For help on this: SQR_CMD.HLP JLuc From owner-sqr-users@list.iex.net Mon Jan 26 14:55:32 1998 Date: Mon, 26 Jan 1998 11:28:00 -0500 From: "Wanko, Christopher" Subject: 06002 error, really cryptic. Using MAXIMO 3.0.2, we have a user who cannot print a work order using WOPRINT.SQT. The report creates a "PRM" file and a WOPRINT.LIS file, but before she gets any output, a "06002" error occurs. It appears that her INIs are in good order as compared to mine, and since she is getting a LIS file, SQR3 obviously knows where her SPL directory resides. What am I missing? -Christopher Wanko AT&T CFO-CIO From owner-sqr-users@list.iex.net Mon Jan 26 15:40:39 1998 Date: Mon, 26 Jan 1998 14:21:40 -0600 From: Wes Williams Subject: 06002 error, really cryptic. -Reply Chris...I'm sure you've seen this but,..the only time I've seen this error is when the user has run a report or initiated a work order to the screen , then minimized it and tried to run it again to get a paper output. The file is open so sqr can't create a new output with the same name..if not could she have a woprint.spf that is read only ? Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> "Wanko, Christopher" 01/26/98 10:28am >>> Using MAXIMO 3.0.2, we have a user who cannot print a work order using WOPRINT.SQT. The report creates a "PRM" file and a WOPRINT.LIS file, but before she gets any output, a "06002" error occurs. It appears that her INIs are in good order as compared to mine, and since she is getting a LIS file, SQR3 obviously knows where her SPL directory resides. What am I missing? -Christopher Wanko AT&T CFO-CIO From owner-sqr-users@list.iex.net Mon Jan 26 16:05:19 1998 Date: Mon, 26 Jan 1998 14:51:13 -0600 From: David Haas Subject: -Mfile:Out of string storage Can anyone tell me what causes the following SQR message at run-time: "SQRW: Structured Query Report Writer V3=2E0=2E12=2E2 Copyright (C) MITI, 1994, 1995=2E All Worldwide Rights Reserved=2E (SQR 4402) Out of string storage; use -Mfile to increase STRINGSPACE=2E SQRW: Program Aborting=2E" I made some changes to a script=2E Before the changes, the program ran fin= e=2E=20 After the changes, this message appears=2E I can go into my -mfile and=20 change the STRINGSPACE for the program to run=2E When looking through the=20= SQR=20 manuals, I found some information on this message but it was a little vague=2E= =20 I would appreciate any explanations for the occurance of this message=2E Thanx, Dave From owner-sqr-users@list.iex.net Mon Jan 26 16:41:27 1998 Date: Mon, 26 Jan 1998 15:41:03 -0500 From: "Wanko, Christopher" Subject: Re: 06002 error, really cryptic. >Chris...I'm sure you've seen this but,..the only time I've seen >this error is when the user has run a report or initiated a work >order to the screen , then minimized it and tried to run it >again to get a paper output. The file is open so sqr can't >create a new output with the same name..if not could she >have a woprint.spf that is read only ? Unfortunately, the problem is more insidious than this. The user is just trying to initiate the work order *and* print it in the same operation, the kind of operation where the user is changing newly-created PM-generated work orders from 'WSCH' to 'INPRG'. The operation initiates the work order, but fails to print it. Since I've eliminated most of MAXIMO's responsibility, I've turned to SQRibe for assistance, vicariously in this forum. -Chris From owner-sqr-users@list.iex.net Mon Jan 26 16:55:28 1998 Date: Mon, 26 Jan 1998 16:31:50 -0500 From: Mark Capaldi Subject: Re: 06002 error, really cryptic. I agree with Wes. Does the user run the report in "preview" mode, minimize it, then run it again? Our users see this when they do the above followed with a "security violation" message! Can't open a file when it is already open! Mark From owner-sqr-users@list.iex.net Mon Jan 26 18:30:53 1998 Date: Mon, 26 Jan 1998 17:20:10 -0600 From: "Cooper, Marcus" Subject: Changing my E-Mail Hi everyone, I got a transfer and have to change my e-mail address. Can someone tell me how to do this so my new address can get the listserve stuff. My new e-mail address is mcooper@gt.com. Thanks in advance Marcus Cooper Grant Thornton LLP From owner-sqr-users@list.iex.net Mon Jan 26 19:39:21 1998 Date: Mon, 26 Jan 1998 19:24:12 EST From: GYousefpou Subject: Re: Changing my E-Mail Hi Marcus; You can register again at http://www.sqrug.com. There is instruction to follow. if you have any problem registrering let me know. good luck Gilbert Yousefpour From owner-sqr-users@list.iex.net Mon Jan 26 19:54:31 1998 Date: Mon, 26 Jan 1998 19:41:19 EST From: GYousefpou Subject: can not get rid of decimal point Hi everyone; I am reading a coulmn from a table that might or might not have a decimal point. So I moved the value of a numeric field to a string variable to use it within a instr function. If the Instr function value was not a zero, I was moving the coulum value back to a numeric field so I could multiply it by 100 to get rid of the decimal sign. But it is not work. would someone please help me out on this. Thank you in advance. Gilbert From owner-sqr-users@list.iex.net Mon Jan 26 20:11:02 1998 Date: Mon, 26 Jan 1998 18:41:23 -0600 From: "Chuck L. King" Subject: Long Description calls This is a multi-part message in MIME format. ------=_NextPart_000_001B_01BD2A8A.004AD6C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Howdy Gang! I'm using Maximo with Sqlbase. Our workorder table has one column that = has long description functionality out of the box and we have added long = description functionality to three other columns in the table this week. = The information I have on this allows you to call the ldtext for each = column by specifying the ldkey in combination with the ldownercol = (column). However, the report only prints out the ldtext for the = DESCRIPTION column which has always had long description funcionality. = Below is part of the sqr code I am using. In the procedure main I use = a select statement as follows: begin-procedure main begin-select wonum &wonum ldkey &ldkey etc.... end-select end-procedure Later in the code I call the list long description procedures: begin-procedure list_ld_conditions position () @xxx1 begin-select ld.ldkey ld.ldtext (+1,17,50) wrap 50 4 from longdescription ld where ld.ldkey =3D &ldkey and ldownercol =3D 'WO1' !This column has long = description order by ldkey, ldlinenum !functionality added end-select end-procedure =20 begin-procedure list_ld_jobassign position () @xxx2 begin-select lld.ldkey lld.ldtext (+1,17,50) wrap 50 4 from longdescription lld where lld.ldkey =3D &ldkey and ldownercol =3D 'DESCRIPTION' !This column already had = long order by ldkey, ldlinenum !description = functionality end-select end-procedure begin-procedure list_ld_actwork position () @xxx3 begin-select llld.ldkey llld.ldtext (+1,17,50) wrap 50 4 from longdescription llld where llld.ldkey =3D &ldkey and ldownercol =3D 'WO8' !This column had long = description order by ldkey, ldlinenum !functionality added now end-select end-procedure =20 Can anyone help me out on this one? Chuck L. King Cryovac - Iowa Park, Tx. BBS (940)691-9251 FAX (940)696-8119 www.wf.net/~clking clking@wf.net ------=_NextPart_000_001B_01BD2A8A.004AD6C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Howdy Gang!
 
I'm using Maximo with Sqlbase.  Our workorder = table has=20 one column that has long description functionality out of the box and we = have=20 added long description functionality to three other columns in the table = this=20 week.  The information I have on this allows you to call the ldtext = for=20 each column by specifying the ldkey in combination with the ldownercol=20 (column).  However, the report only prints out the ldtext for the=20 DESCRIPTION column which has always had long description = funcionality. =20 Below is part of the sqr code I am using.   In the procedure = main I=20 use a select statement as follows:
 
begin-procedure main
begin-select
wonum    &wonum
ldkey      &ldkey
etc....
end-select
end-procedure
 
Later in the code I call the list = long=20 description procedures:
 
begin-procedure = list_ld_conditions
    position ()=20 @xxx1
begin-select
ld.ldkey
ld.ldtext    = (+1,17,50) wrap 50=20 4
        from=20 longdescription ld
        where=20 ld.ldkey =3D &ldkey
        and=20 ldownercol =3D 'WO1'         = !This column=20 has long description
        order=20 by ldkey, ldlinenum       !functionality=20 added
end-select
end-procedure
     
begin-procedure = list_ld_jobassign
    position ()=20 @xxx2
begin-select
lld.ldkey
lld.ldtext    = (+1,17,50) wrap 50=20 4
        from=20 longdescription lld
        where=20 lld.ldkey =3D &ldkey
        and=20 ldownercol =3D 'DESCRIPTION'    !This column already had=20 long
        order=20 by ldkey,=20 ldlinenum          &nbs= p;    =20 !description functionality
end-select
end-procedure
 
begin-procedure = list_ld_actwork
    position ()=20 @xxx3
begin-select
llld.ldkey
llld.ldtext    = (+1,17,50) wrap 50=20 4
        from=20 longdescription llld
        where=20 llld.ldkey =3D &ldkey
        and=20 ldownercol =3D=20 'WO8'            = !This=20 column had long description
        order=20 by ldkey, = ldlinenum         =20 !functionality added now
end-select
end-procedure
 
 
 Can anyone help me out on this = one?
 
 
Chuck L. King
Cryovac - Iowa = Park, Tx.
BBS=20 (940)691-9251
FAX (940)696-8119
www.wf.net/~clking
clking@wf.net
------=_NextPart_000_001B_01BD2A8A.004AD6C0-- From owner-sqr-users@list.iex.net Mon Jan 26 22:58:50 1998 Date: Mon, 26 Jan 1998 14:05:57 -0600 From: "Jeremy C. Radwan" Subject: Rounding on Mainframe I have a problem regarding SQR rounding and the mainframe. I have an SQR report that is calculating three columns, A, B, and C. The way the report is written, A + B should equal C, so I have logic thus: let #Sum = round((#A+ #B), 2) if #Sum <> #C print '*' (0, +1) move 'Y' to $UnbalancedTotal end-if The problem is this. When the report is run on the mainframe, some rows are being marked with asterisks, which means they are falling through the above IF statement, even though the printed values add up! When the same report is run on the NT client, the same rows are not marked. I attribute this to the way the mainframe stores and handles floating point numbers. Has anyone else experienced something like this? I thought using the round statement would remove discrepancies! Thanks, Jeremy From owner-sqr-users@list.iex.net Tue Jan 27 08:10:19 1998 Date: Tue, 27 Jan 1998 08:04:22 -0500 From: Ray Ontko Subject: Re: Can I decompiler an SQT? Romeu, I don't think that such a tool exists. I spent a little time trying to write one a few years ago, but I don't really have much to show for it. Good luck. Ray > Good day for everybody. > > Could someone answer this question: Can I decompiler an SQT? > > Any help would be appreciate. > Thanks > > Romeu Finoti Sciotta > Alcan Aluminio do Brasil Ltda. [text/html is unsupported, treating like TEXT/PLAIN] > > > > > > > > >
Good day for everybody.
>
 
>
Could someone answer this question: face=Arial size=2>Can I decompiler an SQT?
>
 
>
Any help would be > appreciate.
>
Thanks
>
 
>
Romeu Finoti Sciotta
>
Alcan Aluminio do Brasil > Ltda.
---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Time for a new signature line." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Tue Jan 27 08:20:10 1998 Date: Tue, 27 Jan 1998 08:12:24 -0500 From: Art DiRamio Subject: Re: Can I decompiler an SQT? Bad news, Romeu. . . There is no way to decompile an SQT file. - - Art=20 -----Original Message----- From: Romeu Finoti Sciotta [SMTP:romeufs@MANDIC.COM.BR] Sent: Monday, January 26, 1998 12:07 PM To: Multiple recipients of list SQR-USERS Subject: Can I decompiler an SQT? Good day for everybody. =A0 Could someone answer this question: Can I decompiler an SQT? =A0 Any help would be appreciate. Thanks =A0 Romeu Finoti Sciotta Alcan Aluminio do Brasil Ltda. From owner-sqr-users@list.iex.net Tue Jan 27 08:22:47 1998 Date: Tue, 27 Jan 1998 08:20:05 -0500 From: "Wanko, Christopher" Subject: Re: Rounding on Mainframe >The problem is this. When the report is run on the mainframe, >some rows are being marked with asterisks, which means >they are falling through the above IF statement, even though >the printed values add up! When the same report is run >on the NT client, the same rows are not marked. > >I attribute this to the way the mainframe stores and handles >floating point numbers. Has anyone else experienced something >like this? You don't say what your mainframe "is". Are you running MVS or VM? Is it using packed-decimal, binary, computational-3, text for the numbers? You need to help us help you. -Chris From owner-sqr-users@list.iex.net Tue Jan 27 08:52:01 1998 Date: Tue, 27 Jan 1998 07:46:34 -0600 From: Wes Williams Subject: Long Description calls -Reply Chuck have you gone into SQLtalk to see what is being written to the database ? At first glance the code looks like it should work. I suggest running some selects in SQltalk to see what is actually in the LD table. Wes >>> "Chuck L. King" 01/26/98 06:41pm >>> Howdy Gang! I'm using Maximo with Sqlbase. Our workorder table has one column that has long description functionality out of the box and we have added long description functionality to three other columns in the table this week. The information I have on this allows you to call the ldtext for each column by specifying the ldkey in combination with the ldownercol (column). However, the report only prints out the ldtext for the DESCRIPTION column which has always had long description funcionality. Below is part of the sqr code I am using. In the procedure main I use a select statement as follows: begin-procedure main begin-select wonum &wonum ldkey &ldkey etc.... end-select end-procedure Later in the code I call the list long description procedures: begin-procedure list_ld_conditions position () @xxx1 begin-select ld.ldkey ld.ldtext (+1,17,50) wrap 50 4 from longdescription ld where ld.ldkey = &ldkey and ldownercol = 'WO1' !This column has long description order by ldkey, ldlinenum !functionality added end-select end-procedure begin-procedure list_ld_jobassign position () @xxx2 begin-select lld.ldkey lld.ldtext (+1,17,50) wrap 50 4 from longdescription lld where lld.ldkey = &ldkey and ldownercol = 'DESCRIPTION' !This column already had long order by ldkey, ldlinenum !description functionality end-select end-procedure begin-procedure list_ld_actwork position () @xxx3 begin-select llld.ldkey llld.ldtext (+1,17,50) wrap 50 4 from longdescription llld where llld.ldkey = &ldkey and ldownercol = 'WO8' !This column had long description order by ldkey, ldlinenum !functionality added now end-select end-procedure Can anyone help me out on this one? Chuck L. King Cryovac - Iowa Park, Tx. BBS (940)691-9251 FAX (940)696-8119 www.wf.net/~clking clking@wf.net From owner-sqr-users@list.iex.net Tue Jan 27 10:28:50 1998 Date: Tue, 27 Jan 1998 09:16:25 -0600 From: Randle Boyd Subject: barcode printer Hello; We have written some sqr (3.0) reports to work from Maximo (3.02) that print barcode labels. The labels currently print on both a dot matrix and a laser printer. However we would like to explore using a dedicated barcode printer. Does anyone have any experience and/or recommendations with such a setup? TIA, Randle From owner-sqr-users@list.iex.net Tue Jan 27 11:09:51 1998 Date: Tue, 27 Jan 1998 07:53:39 -0800 From: Larry McCown Subject: Using SYSDATE to search for prior Month & Year This is a multi-part message in MIME format. ------=_NextPart_000_0004_01BD2AF8.AE25A2C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am new to SQRUG, but have been using MAXIMO for 4 years and SQR = for 3 years. In September of 1997 I wrote a report on SQLBase, using sysdate to find = records broken down by month over a 6 month time frame based on a field = "changedate". This program worked just fine going back a given number of = months by coding these where statements within my select statements: @month(changedate) =3D @month(sysdate) for current month then another select statement read @month(changedate) =3D (@month(sysdate)-1) for prior month then and yet another select statement etc. @month(changedate) =3D (@month(sysdate)-2) two month back etc. But since the first of the year the report dose not report anything from = prior year. ANY SUGGESTIONS?=20 also included in the select statements is @year(changedate)=3D@year(sysdate) for current year and @year(changedate)=3D(@year(sysdate)-1) for prior year. Thank You Larry McCown Larry McCown Northrop Grumman One Hornet Way WE00/W9 El Segundo, CA. 90245 e-mail lmccown@world.northgrum.com (310)332-8360 fax (310)331-7452 NP=20 ------=_NextPart_000_0004_01BD2AF8.AE25A2C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello, I am new to SQRUG, but have been using MAXIMO for 4 years and = SQR for=20 3 years.

In September of 1997 I wrote a report on SQLBase, using sysdate to = find=20 records broken down by month over a 6 month time frame based on a field=20 "changedate". This program worked just fine going back a given = number=20 of months by coding these where statements within my select = statements:

@month(changedate) =3D @month(sysdate) for current month

then another select statement read

@month(changedate) =3D (@month(sysdate)-1) for prior month

then and yet another select statement etc.

@month(changedate) =3D (@month(sysdate)-2) two month back etc.

But since the first of the year the report dose not report anything = from=20 prior year. ANY SUGGESTIONS?

also included in the select statements is

@year(changedate)=3D@year(sysdate) for current year and

@year(changedate)=3D(@year(sysdate)-1) for prior year.

Thank You

 

 

 

Larry McCown

Larry McCown

Northrop Grumman

One Hornet Way WE00/W9

El Segundo, CA. 90245

e-mail lmccown@world.northgrum.com

(310)332-8360 fax (310)331-7452

NP

------=_NextPart_000_0004_01BD2AF8.AE25A2C0-- From owner-sqr-users@list.iex.net Tue Jan 27 11:20:41 1998 Date: Tue, 27 Jan 1998 16:45:31 +0100 From: Lena Pihel Subject: Diffrent setups in the same report? Hi! Does anyone know how to do this. I have a report that prints landscape as default. Now I want the last page to be printed as portrait. Thanks From owner-sqr-users@list.iex.net Tue Jan 27 12:03:37 1998 Date: Tue, 27 Jan 1998 10:53:06 -0600 From: Wes Williams Subject: Using SYSDATE to search for prior Month & Year -Reply Hi Larry, what else has changed ? I ran a report that I have that uses the @month(fieldname) = @month(sysdate) and it retrieved the correct workorders. I've also written reports utilizing the @year(XXX) and @year(XXX) -1 etc. function. ???? Wes >>> Larry McCown 01/27/98 09:53am >>> Hello, I am new to SQRUG, but have been using MAXIMO for 4 years and SQR for 3 years. In September of 1997 I wrote a report on SQLBase, using sysdate to find records broken down by month over a 6 month time frame based on a field "changedate". This program worked just fine going back a given number of months by coding these where statements within my select statements: @month(changedate) = @month(sysdate) for current month then another select statement read @month(changedate) = (@month(sysdate)-1) for prior month then and yet another select statement etc. @month(changedate) = (@month(sysdate)-2) two month back etc. But since the first of the year the report dose not report anything from prior year. ANY SUGGESTIONS? also included in the select statements is @year(changedate)=@year(sysdate) for current year and @year(changedate)=(@year(sysdate)-1) for prior year. Thank You Larry McCown Larry McCown Northrop Grumman One Hornet Way WE00/W9 El Segundo, CA. 90245 e-mail lmccown@world.northgrum.com (310)332-8360 fax (310)331-7452 NP Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com From owner-sqr-users@list.iex.net Tue Jan 27 12:18:57 1998 Date: Tue, 27 Jan 1998 12:08:07 -0500 From: Ray Brunner Subject: Re: Diffrent setups in the same report? If the last page can be a second report use declare-layout and declare-report to create a second report then use use-report just before the print statements to print the information. If it has to be on the same report maybe using encode to change to portrait will work. > Hi! > > Does anyone know how to do this. > > I have a report that prints landscape as default. > Now I want the last page to be printed as portrait. > > > Thanks > ************************* Ray Brunner rabrunne@syr.edu 443-9262 Syracuse University ************************* From owner-sqr-users@list.iex.net Tue Jan 27 13:32:05 1998 Date: Tue, 27 Jan 1998 13:14:53 -0500 From: "Wanko, Christopher" Subject: Dynamic Query Variables... I want to use this: If $_wot = 'ALL' Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND status NOT IN ("CLOSE", "CAN")' Else Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND worktype IN "[$_worktype]" AND status NOT IN ("CLOSE", "CAN")' End-IF SQR says it has no idea who 'statusdate' is, although statusdate is a valid column for a table 'workorder'. I'm trying to use it thusly: select blah from workorder where [$_where] order by [$_orderby] Help appreciated. Also, any idea why I *must* compile an SQT with a 'use database' statement in setup? I would expect SQR to log me on and use my logon values. -Chris From owner-sqr-users@list.iex.net Tue Jan 27 14:32:10 1998 Date: Tue, 27 Jan 1998 12:51:23 -0600 From: Wes Williams Subject: Dynamic Query Variables... -Reply Chris use &statusdate, statusdate will only work in the select statement begin-select statusdate from workorder where end-select &statusdate is implied, unless you want to call it something else Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> "Wanko, Christopher" 01/27/98 12:14pm >>> I want to use this: If $_wot = 'ALL' Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND status NOT IN ("CLOSE", "CAN")' Else Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND worktype IN "[$_worktype]" AND status NOT IN ("CLOSE", "CAN")' End-IF SQR says it has no idea who 'statusdate' is, although statusdate is a valid column for a table 'workorder'. I'm trying to use it thusly: select blah from workorder where [$_where] order by [$_orderby] Help appreciated. Also, any idea why I *must* compile an SQT with a 'use database' statement in setup? I would expect SQR to log me on and use my logon values. -Chris From owner-sqr-users@list.iex.net Tue Jan 27 14:41:17 1998 Date: Tue, 27 Jan 1998 10:57:49 -0800 From: David Donnelly Subject: Re: Dynamic Query Variables... You're going to have to construct something like this: Let $_where = 'statusdate >= ''' || $_Min_ReportDate || ''' AND statusdate <= ''' || $_Max_ReportDate || ''' AND wopm1 LIKE ''' || $_wopm1 || ''' AND worktype IN ''' || $_worktype || ''' AND status NOT IN ("CLOSE", "CAN")' and then use where something--or--other [$_where] In other words, you can't use the [] dynamic substitution inside another one. At 01:14 PM 1/27/98 -0500, you wrote: >I want to use this: >If $_wot = 'ALL' > Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND >statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND >status NOT IN ("CLOSE", "CAN")' >Else > Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND >statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND >worktype IN "[$_worktype]" AND status NOT IN ("CLOSE", "CAN")' >End-IF > >SQR says it has no idea who 'statusdate' is, although statusdate is a >valid column for a table >'workorder'. > >I'm trying to use it thusly: > >select blah >from workorder >where [$_where] >order by [$_orderby] > >Help appreciated. > >Also, any idea why I *must* compile an SQT with a 'use database' >statement in setup? I would expect SQR to log me on and use my logon >values. > >-Chris > > From owner-sqr-users@list.iex.net Tue Jan 27 14:59:59 1998 Date: Tue, 27 Jan 1998 13:49:49 -0600 From: Wes Williams Subject: Dynamic Query Variables... -Reply Whoop I didn't look close enough .. your condtructing a whole where clause within a let statement ? I need to look closer in the future. Sorry Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> "Wanko, Christopher" 01/27/98 12:14pm >>> I want to use this: If $_wot = 'ALL' Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND status NOT IN ("CLOSE", "CAN")' Else Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND worktype IN "[$_worktype]" AND status NOT IN ("CLOSE", "CAN")' End-IF SQR says it has no idea who 'statusdate' is, although statusdate is a valid column for a table 'workorder'. I'm trying to use it thusly: select blah from workorder where [$_where] order by [$_orderby] Help appreciated. Also, any idea why I *must* compile an SQT with a 'use database' statement in setup? I would expect SQR to log me on and use my logon values. -Chris From owner-sqr-users@list.iex.net Tue Jan 27 15:12:10 1998 Date: Tue, 27 Jan 1998 13:56:04 -0600 From: Wes Williams Subject: Dynamic Query Variables... -Reply To compile and not enter the database and ID... Make a shortcut, the following works with SQLBase the command line: C:\SQRW\SQB\WORKBNCH\BINW\SQRW.EXE t:\sqr\woprint.sqr ?maximo/sysadm/pwd-rs All I have to do is select/change the file Wes From owner-sqr-users@list.iex.net Tue Jan 27 15:36:48 1998 Date: Tue, 27 Jan 1998 15:22:50 -0500 From: "Wanko, Christopher" Subject: Workbenching... >To compile and not enter the database and ID... >Make a shortcut, the following works with SQLBase the >command line: >C:\SQRW\SQB\WORKBNCH\BINW\SQRW.EXE >t:\sqr\woprint.sqr ?maximo/sysadm/pwd-rs Not exactly how I work... when I open up Workbench and compile the first time, it asks for a logon id and password, AND asks for the database/ server. I figured it was persistent. The 'use database' seems to be necessary despite the logon screen capturing all the necessary data. -Chris From owner-sqr-users@list.iex.net Tue Jan 27 15:37:15 1998 Date: Tue, 27 Jan 1998 15:24:59 -0500 From: "Wanko, Christopher" Subject: Re: Dynamic Query Variables... >You're going to have to construct something like this: > Let $_where = 'statusdate >= ''' || $_Min_ReportDate || > ''' AND statusdate <= ''' || $_Max_ReportDate || > ''' AND wopm1 LIKE ''' || $_wopm1 || > ''' AND worktype IN ''' || $_worktype || * ''' AND status NOT IN ("CLOSE", "CAN")' Okay, this is not much of a hardship. I can still use an IF to pick which version of the WHERE clause to use, which is what I need to configure. Thanks. -Chris From owner-sqr-users@list.iex.net Tue Jan 27 15:42:12 1998 Date: Tue, 27 Jan 1998 14:27:10 -0600 From: Wes Williams Subject: Dynamic Query Variables... -Reply Chris this logic should work Let $_where = 'statusdate >=' ||$_Min_ReportDate ||' AND statusdate <= ' || $_Max_ReportDate|| 'AND wopm1 LIKE ' || $_wopm1 ...etc. Wes Wes Williams Sundstrand Aerospace 815.226.6196 wwilliams@snds.com >>> "Wanko, Christopher" 01/27/98 12:14pm >>> I want to use this: If $_wot = 'ALL' Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND status NOT IN ("CLOSE", "CAN")' Else Let $_where = 'statusdate >= "[$_Min_ReportDate]" AND statusdate <= "[$_Max_ReportDate]" AND wopm1 LIKE "[$_wopm1]" AND worktype IN "[$_worktype]" AND status NOT IN ("CLOSE", "CAN")' End-IF SQR says it has no idea who 'statusdate' is, although statusdate is a valid column for a table 'workorder'. I'm trying to use it thusly: select blah from workorder where [$_where] order by [$_orderby] Help appreciated. Also, any idea why I *must* compile an SQT with a 'use database' statement in setup? I would expect SQR to log me on and use my logon values. -Chris From owner-sqr-users@list.iex.net Tue Jan 27 15:58:50 1998 Date: Tue, 27 Jan 1998 12:40:52 -0800 From: Larry McCown Subject: Sysdate with months from prior year This is a multi-part message in MIME format. ------=_NextPart_000_0015_01BD2B20.CDE7A4A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Yes Wes my @year(XXX)-1 function appears to be working. I hard coded the month for January (01) and it worked. It seams that maybe the problem is that when I change the @MONTH(fieldname) =3D (@month(sysdate)-1) if we are in January which is 1, minus 1 would be 0 not 12. Any ideas? Thanks Again > ---------- > From: Wes Williams[SMTP:wwilliams@MAIL.RKD.SNDS.COM] > Reply To: SQR-USERS@USA.NET > Sent: Tuesday, January 27, 1998 9:04 AM > To: Multiple recipients of list SQR-USERS > Subject: Using SYSDATE to search for prior Month & Year -Reply >=20 > Hi Larry, what else has changed ? I ran a report that I have > that uses the @month(fieldname) =3D @month(sysdate) and it > retrieved the correct workorders. >=20 > I've also written reports utilizing the @year(XXX) and > @year(XXX) -1 etc. function. >=20 > ???? > Wes >=20 > >>> Larry McCown > 01/27/98 09:53am > >>> > Hello, I am new to SQRUG, but have been using MAXIMO for > 4 years and SQR for 3 years. >=20 > In September of 1997 I wrote a report on SQLBase, using > sysdate to find records broken down by month over a 6 > month time frame based on a field "changedate". This > program worked just fine going back a given number of > months by coding these where statements within my select > statements: >=20 > @month(changedate) =3D @month(sysdate) for current month >=20 > then another select statement read >=20 > @month(changedate) =3D (@month(sysdate)-1) for prior month >=20 > then and yet another select statement etc. >=20 > @month(changedate) =3D (@month(sysdate)-2) two month > back etc. >=20 > But since the first of the year the report dose not report > anything from prior year. ANY SUGGESTIONS? >=20 > also included in the select statements is >=20 > @year(changedate)=3D@year(sysdate) for current year and >=20 > @year(changedate)=3D(@year(sysdate)-1) for prior year. >=20 > Thank You >=20 >=20 >=20 >=20 >=20 >=20 >=20 ------=_NextPart_000_0015_01BD2B20.CDE7A4A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Yes Wes my @year(XXX)-1 function appears to be working. I hard = coded

the month for January (01) and it worked. It seams that maybe the

problem is that when I change the @MONTH(fieldname) =3D

(@month(sysdate)-1) if we are in January which is 1, minus 1 would be = 0

not 12. Any ideas?

Thanks Again

> ----------

> From: Wes Williams[SMTP:wwilliams@MAIL.RKD.SNDS.COM]

> Reply To: SQR-USERS@USA.NET

> Sent: Tuesday, January 27, 1998 9:04 AM

> To: Multiple recipients of list SQR-USERS

> Subject: Using SYSDATE to search for prior Month & Year = -Reply

>

> Hi Larry, what else has changed ? I ran a report that I have

> that uses the @month(fieldname) =3D @month(sysdate) and it

> retrieved the correct workorders.

>

> I've also written reports utilizing the @year(XXX) and

> @year(XXX) -1 etc. function.

>

> ????

> Wes

>

> >>> Larry McCown

> <lmccown%WORLD.NORTHGRUM.COM@internet.rkd.snds.com> = 01/27/98=20 09:53am

> >>>

> Hello, I am new to SQRUG, but have been using MAXIMO for

> 4 years and SQR for 3 years.

>

> In September of 1997 I wrote a report on SQLBase, using

> sysdate to find records broken down by month over a 6

> month time frame based on a field "changedate". = This

> program worked just fine going back a given number of

> months by coding these where statements within my select

> statements:

>

> @month(changedate) =3D @month(sysdate) for current month

>

> then another select statement read

>

> @month(changedate) =3D (@month(sysdate)-1) for prior month

>

> then and yet another select statement etc.

>

> @month(changedate) =3D (@month(sysdate)-2) two month

> back etc.

>

> But since the first of the year the report dose not report

> anything from prior year. ANY SUGGESTIONS?

>

> also included in the select statements is

>

> @year(changedate)=3D@year(sysdate) for current year and

>

> @year(changedate)=3D(@year(sysdate)-1) for prior year.

>

> Thank You

>

>

>

>

>

>

>

------=_NextPart_000_0015_01BD2B20.CDE7A4A0-- From owner-sqr-users@list.iex.net Tue Jan 27 16:49:09 1998 Date: Tue, 27 Jan 1998 13:31:14 -0800 From: Scott Gunter Subject: Re: can not get rid of decimal point Gilbert, You say you are moving a value in a table column to a variable to parse out the decimal point, and then you are moving the value back to the table column? Are you using the "Update SQL" command to update the table with the new value? Scott Gunter IS Representative SR Teledyne Ryan Aeronautical 619/291-7311 x1741 From owner-sqr-users@list.iex.net Tue Jan 27 19:43:18 1998 Date: Tue, 27 Jan 1998 19:25:13 -0500 From: Nathan Treadway Subject: Re: Multiple print reports > Can anyone tell me why I am not getting the L__ files? Where can the system > be picking up the -nolis or -keep parameters? Any other ideas? (I would One other thing to check is that you are not using the STOP command in your program. When SQR has created S__ files and then executes a "STOP", it doesn't generate the L__ files from the S__ files before exiting. (At least this is true on SQR for Windows/Oracle v.3.0.6.1 and SQR for HPUX/Oracle v.3.0.13.3.) This kind of thing might also happen in you hit a run-time error ("division by zero", "array element out of range", certain database errors, etc.). Check the output log file (in c:\temp\sqr.log on our PeopleSoft setup here) to see if there's any indication of a premature exit. (Note that if someone used a "stop quiet" then the log file may not contain anything to see even though this problem would still occur.) Nathan ---------------------------------------------------------------------------- Nathan Treadway | Ray Ontko & Co. | Software consulting services nathant@ontko.com | Richmond, IN | http://www.ontko.com/ From owner-sqr-users@list.iex.net Tue Jan 27 20:05:59 1998 Date: Wed, 28 Jan 1998 08:49:38 +0800 From: Arthur Coniglio Subject: edit dd/mm/yyyy This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------ =_NextPart_000_01BD2BC9.43C3ACC0 Content-Type: text/plain G'day all. Can someone please tell me if you have ever used the EDIT DD/MM/YYYY function with the print command. I have a date in database format held in a variable and attempting to print it the format of my choice. All i get printed to the report is DD/MM/YYYY and not the actual date ?? Example. print $Begin-Dt (,+5) edit dd/mm/yyyy Has anyone had any luck with this. Any ideas appreciated. Cheers Arthur. ------ =_NextPart_000_01BD2BC9.43C3ACC0 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+Ii8AAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAAzgcBABwACAAxACYAAwBUAQEggAMADgAAAM4HAQAc AAgALgAqAAMAVQEBCYABACEAAABGOTI0NTREQzQ0OTdEMTExQkFFMTAwQTBDOThCODc5RgAyBwEE gAEAEAAAAGVkaXQgZGQvbW0veXl5eQCqBQENgAQAAgAAAAEAAQABA5AGABwIAAAuAAAAAwACgAgg BgAAAAAAwAAAAAAAAEYAAAAAUoUAABUSAAAeAAOACCAGAAAAAADAAAAAAAAARgAAAABUhQAAAQAA AAUAAAA4LjAzAAAAAAMABIAIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwAAgAggBgAAAAAA wAAAAAAAAEYAAAAAA4UAAAAAAAALAAWACCAGAAAAAADAAAAAA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GQvbW0veXl5eQAe ADUQAQAAADUAAAA8MzEyODZDOUYwNTc5RDExMUJBQzQwMEEwQzk4Qjg3OUYwNDZERUJAQ0VOVE9G Rl9IUjE+AAAAAAsAKQABAAAACwAjAAAAAAADAAYQA13QegMABxBIAQAAAwAQEAAAAAADABEQAQAA AB4ACBABAAAAZQAAAEdEQVlBTExDQU5TT01FT05FUExFQVNFVEVMTE1FSUZZT1VIQVZFRVZFUlVT RURUSEVFRElUREQvTU0vWVlZWUZVTkNUSU9OV0lUSFRIRVBSSU5UQ09NTUFORElIQVZFQURBVEUA AAAAAgF/AAEAAAA1AAAAPDMxMjg2QzlGMDU3OUQxMTFCQUM0MDBBMEM5OEI4NzlGMDQ2REVCQENF TlRPRkZfSFIxPgAAAADSvA== ------ =_NextPart_000_01BD2BC9.43C3ACC0-- From owner-sqr-users@list.iex.net Tue Jan 27 21:31:51 1998 Date: Wed, 28 Jan 1998 09:50:19 +0800 From: Wayne Ivory Subject: Re: Sysdate with months from prior year There is a neat trick my university lecturer taught me you can do with the = mod function for cycling months. Your function would become =40MONTH(field= name)=3Dmod(=40month(sysdate)+10,12)+1. When you get to 1 a *wonderous* = thing happens=21 eg 12+10=3D22, mod 12=3D10, +1=3D11 11+10=3D21, mod 12=3D9, +1=3D10 . . 2+10=3D12, mod 12=3D0, +1=3D1 1+10=3D11, mod 12=3D11, +1=3D12=21=21=21 Hope this helps. Wayne Ivory Information Services Westralian Sands Limited >>> Larry McCown 28/1/98 4:40:52 am >>> Yes Wes my =40year(XXX)-1 function appears to be working. I hard coded the month for January (01) and it worked. It seams that maybe the problem is that when I change the =40MONTH(fieldname) =3D (=40month(sysdate)-1) if we are in January which is 1, minus 1 would be 0 not 12. Any ideas? Thanks Again > ---------- > From: Wes Williams=5BSMTP:wwilliams=40MAIL.RKD.SNDS.COM=5D=20 > Reply To: SQR-USERS=40USA.NET=20 > Sent: Tuesday, January 27, 1998 9:04 AM > To: Multiple recipients of list SQR-USERS > Subject: Using SYSDATE to search for prior Month & Year -Reply >=20 > Hi Larry, what else has changed ? I ran a report that I have > that uses the =40month(fieldname) =3D =40month(sysdate) and it > retrieved the correct workorders. >=20 > I=27ve also written reports utilizing the =40year(XXX) and > =40year(XXX) -1 etc. function. >=20 > ???? > Wes >=20 > >>> Larry McCown > 01/27/98 09:53am > >>> > Hello, I am new to SQRUG, but have been using MAXIMO for > 4 years and SQR for 3 years. >=20 > In September of 1997 I wrote a report on SQLBase, using > sysdate to find records broken down by month over a 6 > month time frame based on a field =22changedate=22. This > program worked just fine going back a given number of > months by coding these where statements within my select > statements: >=20 > =40month(changedate) =3D =40month(sysdate) for current month >=20 > then another select statement read >=20 > =40month(changedate) =3D (=40month(sysdate)-1) for prior month >=20 > then and yet another select statement etc. >=20 > =40month(changedate) =3D (=40month(sysdate)-2) two month > back etc. >=20 > But since the first of the year the report dose not report > anything from prior year. ANY SUGGESTIONS? >=20 > also included in the select statements is >=20 > =40year(changedate)=3D=40year(sysdate) for current year and >=20 > =40year(changedate)=3D(=40year(sysdate)-1) for prior year. >=20 > Thank You >=20 >=20 >=20 >=20 >=20 >=20 >=20 From owner-sqr-users@list.iex.net Wed Jan 28 00:25:15 1998 Date: Tue, 27 Jan 1998 23:58:54 EST From: BELLARY Subject: Re: Diffrent setups in the same report? This is possible. But depends on the Printer type you use and may be the make of the printer. Refer to the printer technical manual. You should find the ESCAPE SEQUECE CHARACTER SET fot that printer which causes it to change the orientation to Landscape or Portrait and use it accordingly. Then in the sqr program assign this code to a variable using encode. Something like this encode <27>[uo..... into $portrait Then , when you are ready to change the orientation , i.e before starting printing last page, print this variable , using CODE , like this print $portrait () CODE Any thing printed after this should appear in portrait format. See if this Help extract helps you. Good luck. CODE | CODE-PRINTER CODE is a qualifier which may be discontinued in a future release. Use CODEPRINTER. CODE-PRINTER is used to add non-display characters to the report for the purpose of sending a sequence to the printer. CODE-PRINTER causes the string to be placed behind the page buffer, rather than within it, so alignment of printed data is not thrown off by the white space consumed by the non-display characters. Only strings can be printed using CODE-PRINTER. Since the report might be printed on different types of printers, you should specify for which type this data is to be used. It will be ignored if printed to a different type. If necessary, you can send a different sequence to another type with a second PRINT statement. If you use CODE, the sequence is assumed to be for the printer type specified in the DECLARE-REPORT or default printer, if none is specified. For example: encode '<27>[5U' into $big_font encode '<27>[6U' into $normal_font .... print $big_font (0, +2) code-printer=lp print &phone () edit '(xxx) xxx-xxxx' print $normal_font () code-printer=lp In the previous example, the two CODE-PRINTER arguments put the $big_font and $normal_font sequences into the output, without overwriting any data in the page buffer. Sequences printed with the CODE-PRINTER argument are positioned using the regular line and column positioning. However, unlike the PRINT command, the current print location after execution is the beginning location where the CODE-PRINTER string was placed. Multiple coded strings printed using the same line and column location appear in the output in the same sequence in which they were printed. From owner-sqr-users@list.iex.net Wed Jan 28 00:27:39 1998 Date: Wed, 28 Jan 1998 00:09:50 -0500 From: "Matthew F. Reagan" Subject: Re: SQRIBE Promotion Hey, Ray. This e-mail is in response to your question regarding SQRIBE, SQRUG, their relationship, joining the user group, the upcoming conference, etc. SQRIBE will be hold a conference in Monterrey, CA from November 4 to November 6. This is end of the week prior to the Oracle Open World conference which will be held in SF, I believe. This SQR conference is organized and run by SQRIBE. Since it is so close (both physically and chronologically) to Open World, there is a good chance I can tack it onto my itinerary without much fussing. I hope you can do the same. The National SQR Users Group is a grassroots organization founded by SQR users to facilitate the free (or nearly free) exchange of information (hence the web page, the mailing list archive, and meetings arranged at OOW and IOUW). The current board is composed of Matt Reagan, Nathan Treadway, and Mark Johnson. We (the board) have been asked by SQRIBE to help on the conference. We are working with them on the call for papers, the paper selections process, and other related issues. It is their conference, but we will definitely have a presence. SQRIBE's drive to register users accomplishes several goals. The most important reason is to give them (SQRIBE) and us (SQRUG) a way to reach the developers that are using the product on a day to day basis (SQRIBE will be giving us a copy). Their normal contacts at customer sites are usually accounts payable and shipping personnel, not the developers. I would highly recommend that all of you register, and get your SQR colleagues to register. In addition to getting a chance to visit the SQRIBE facility of your choice (my preference is the Aussie site), it will also build a more complete database of our user base. If you have any additional questions, please don't hesitate to let us know. If its okay with the list recipients, we can respond to the questions via the listserv so everyone can see the responses. Matthew Reagan Nathan Treadway Mark Johnson (somewhere in Norway at the moment?) At 10:59 AM 1/14/98 -0500, you wrote: >I just received a copy of the SQRIBE Forum, their quarterly newsletter. >On the front page is a box that talks about joining SQRUG, (which may >not be the same as www.sqrug.com) by registering at www.sqribe.com. > >I went to http://www.sqribe.com and clicked on "Promotion" and >added my name to their list, which I encourage you to do as well. >This apparently adds you to the mailing list for a SQRIBE-sponsored >SQRIBE International User Group conference to be held Nov 4-6 >in Monterrey, CA, and registers you to win a free trip to any SQRIBE >office, worldwide (and a life size chocolate bunny ;-). > >Mark your calendars and "join" SQRIBE's list by registering at >the site. > >Ray > >P.S.: A note to the people at SQRIBE and www.sqrug.com: Please >clarify the relationship between SQRIBE Internation User Group >and SQR Users Group. >---------------------------------------------------------------------- >Ray Ontko | Ray Ontko & Co | "Ask me about SQR and Linux" >rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 28 02:32:55 1998 Date: Wed, 28 Jan 1998 08:31:11 +0100 From: "Stokman, Gilbert" Subject: Re: edit dd/mm/yyyy If I want to get a date field from the database 2 look like DD/MM/YYYY I do this: begin-select to_char(datefield,'DD/MM/YYYY') move &to_char(datefield,'DD/MM/YYYY') to $begin_dt from ps_table end-select The $begin_dt var. is now containing a DD/MM/YYYY format date! Gilbert Stokman Cap Gemini Netherlands > ---------- > From: Arthur Coniglio[SMTP:Arthur.CONIGLIO@EDDEPT.WA.EDU.AU] > Reply To: SQR-USERS@USA.NET > Sent: woensdag 28 januari 1998 1:49 > To: Multiple recipients of list SQR-USERS > Subject: edit dd/mm/yyyy > Importance: High > > --- Virus checked / Op virussen gecontroleerd --- > G'day all. > > Can someone please tell me if you have ever used the EDIT DD/MM/YYYY > function > with the print command. I have a date in database format held in a > variable and attempting to > print it the format of my choice. All i get printed to the report is > DD/MM/YYYY and not the > actual date ?? > > Example. print $Begin-Dt (,+5) edit dd/mm/yyyy > > Has anyone had any luck with this. > Any ideas appreciated. > > Cheers > Arthur. > ================================================================================ De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor de geadresseerde. Gebruik van deze informatie door anderen dan de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. KPMG staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan. ================================================================================ The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. KPMG is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ================================================================================ From owner-sqr-users@list.iex.net Wed Jan 28 02:45:15 1998 Date: Wed, 28 Jan 1998 15:43:20 +0800 From: Arthur Coniglio Subject: Re: edit dd/mm/yyyy Thanks Gilbert i should have mentioned that the dates i'm using are all in the format of yyyy-mm-dd because i do various date comparisons and additions etc. i then convert the dates using the Convert-From-DTU-Date function to convert it to the default oracle database format of dd-mon-yyyy. Once in this format we should be able to use the edit function with the print command to print in the required format. Arthur Coniglio Education Department of Western Australia > -----Original Message----- > From: Stokman, Gilbert [SMTP:Stokman.Gilbert@KPMG.NL] > Sent: Wednesday, 28 January 1998 3:31 > To: Multiple recipients of list SQR-USERS > Subject: Re: edit dd/mm/yyyy > Importance: High > > If I want to get a date field from the database 2 look like DD/MM/YYYY > I > do this: > > begin-select > to_char(datefield,'DD/MM/YYYY') > move &to_char(datefield,'DD/MM/YYYY') to $begin_dt > from ps_table > end-select > > The $begin_dt var. is now containing a DD/MM/YYYY format date! > > Gilbert Stokman > Cap Gemini Netherlands > > > ---------- > > From: Arthur Coniglio[SMTP:Arthur.CONIGLIO@EDDEPT.WA.EDU.AU] > > Reply To: SQR-USERS@USA.NET > > Sent: woensdag 28 januari 1998 1:49 > > To: Multiple recipients of list SQR-USERS > > Subject: edit dd/mm/yyyy > > Importance: High > > > > --- Virus checked / Op virussen gecontroleerd --- > > G'day all. > > > > Can someone please tell me if you have ever used the EDIT > DD/MM/YYYY > > function > > with the print command. I have a date in database format held in a > > variable and attempting to > > print it the format of my choice. All i get printed to the report > is > > DD/MM/YYYY and not the > > actual date ?? > > > > Example. print $Begin-Dt (,+5) edit dd/mm/yyyy > > > > Has anyone had any luck with this. > > Any ideas appreciated. > > > > Cheers > > Arthur. > > > > ====================================================================== > ========== > De informatie verzonden met dit E-mail bericht is uitsluitend > bestemd voor de geadresseerde. > Gebruik van deze informatie door anderen dan de geadresseerde is > verboden. > Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van > deze > informatie aan derden is niet toegestaan. > KPMG staat niet in voor de juiste en volledige overbrenging van de > inhoud > van een verzonden E-mail, noch voor tijdige ontvangst daarvan. > ====================================================================== > ========== > The information contained in this communication is confidential > and may be legally privileged. > It is intended solely for the use of the individual or entity to whom > it is addressed and others authorised to receive it. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance > of the contents of this information is strictly prohibited and may be > unlawful. KPMG is neither liable for the proper and complete > transmission of the information contained in this communication nor > for > any delay in its receipt. > ====================================================================== > ========== From owner-sqr-users@list.iex.net Wed Jan 28 03:15:38 1998 Date: Wed, 28 Jan 1998 09:10:52 +0100 From: "Stokman, Gilbert" Subject: Re: edit dd/mm/yyyy U just mentioned that u use an Oracle database. The SQR manual I have here says: "Except for Oracle and SQLbase where date editing is done by the database, dates can also be edited by SQR for printing." So the edit [datemask] will not work with Oracle..... Gilbert Stokman Cap Gemini Netherlands > ---------- > From: Arthur Coniglio[SMTP:Arthur.CONIGLIO@EDDEPT.WA.EDU.AU] > Reply To: SQR-USERS@USA.NET > Sent: woensdag 28 januari 1998 8:43 > To: Multiple recipients of list SQR-USERS > Subject: Re: edit dd/mm/yyyy > Importance: High > > --- Virus checked / Op virussen gecontroleerd --- > Thanks Gilbert > > i should have mentioned that the dates i'm using are all in the format > of yyyy-mm-dd because > i do various date comparisons and additions etc. > > i then convert the dates using the Convert-From-DTU-Date function to > convert it to the default oracle > database format of dd-mon-yyyy. Once in this format we should be able > to use the edit function > with the print command to print in the required format. > > Arthur Coniglio > Education Department of Western Australia > > > -----Original Message----- 8<------------------------CUT--------------------------- ================================================================================ De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor de geadresseerde. Gebruik van deze informatie door anderen dan de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. KPMG staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan. ================================================================================ The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. KPMG is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ================================================================================ From owner-sqr-users@list.iex.net Wed Jan 28 08:45:07 1998 Date: Wed, 28 Jan 1998 08:38:09 -0500 From: Ray Ontko Subject: Re: barcode printer Randle, Assuming that the barcode printer is not HP or PS compatible, you might be able to use -printer=lp and print-direct to get the right codes to the file you'll be sending to the printer. Alternatively, you may be able to use WRITE to create a separate file which contains exactly what you want to be sent to the barcode printer (I'm assuming you're just sending a few hundred bytes per label at most, not a "report") and then use CALL SYSTEM to send the file to the printer using the appropriate operating system command. Hope this helps. Ray > Hello; > > We have written some sqr (3.0) reports to work from Maximo (3.02) that > print barcode labels. The labels currently print on both a dot matrix > and a laser printer. However we would like to explore using a dedicated > barcode printer. Does anyone have any experience and/or recommendations > with such a setup? > > TIA, > Randle > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Time for a new signature line." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Jan 28 09:33:39 1998 Date: Wed, 28 Jan 1998 09:31:16 -0500 From: Schiff Fred Subject: Re: edit dd/mm/yyyy > -----Original Message----- > From: Stokman, Gilbert [SMTP:Stokman.Gilbert@KPMG.NL] > Sent: Wednesday, January 28, 1998 3:11 AM > To: Multiple recipients of list SQR-USERS > Subject: Re: edit dd/mm/yyyy > Importance: High > > U just mentioned that u use an Oracle database. > The SQR manual I have here says: > "Except for Oracle and SQLbase where date editing is done by the > database, dates can also be edited by SQR for printing." > So the edit [datemask] will not work with Oracle..... > [Schiff Fred] We use Oracle and the edit [datemask] *always* works when printing. > Gilbert Stokman > Cap Gemini Netherlands > From owner-sqr-users@list.iex.net Wed Jan 28 09:39:23 1998 Date: Wed, 28 Jan 1998 15:33:38 +0100 From: "Stokman, Gilbert" Subject: Re: edit dd/mm/yyyy well share your solution and at least Arthur Coniglio will be thankfull :) Gilbert Stokman > ---------- > From: Schiff Fred[SMTP:FSCHIFF@NLFS.COM] > Reply To: SQR-USERS@USA.NET > Sent: woensdag 28 januari 1998 15:31 > To: Multiple recipients of list SQR-USERS > Subject: Re: edit dd/mm/yyyy > > --- Virus checked / Op virussen gecontroleerd --- > > -----Original Message----- > > From: Stokman, Gilbert [SMTP:Stokman.Gilbert@KPMG.NL] > > Sent: Wednesday, January 28, 1998 3:11 AM > > To: Multiple recipients of list SQR-USERS > > Subject: Re: edit dd/mm/yyyy > > Importance: High > > > > U just mentioned that u use an Oracle database. > > The SQR manual I have here says: > > "Except for Oracle and SQLbase where date editing is done by the > > database, dates can also be edited by SQR for printing." > > So the edit [datemask] will not work with Oracle..... > > > [Schiff Fred] We use Oracle and the edit [datemask] > *always* works when printing. > > > Gilbert Stokman > > Cap Gemini Netherlands > > > ================================================================================ De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor de geadresseerde. Gebruik van deze informatie door anderen dan de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. KPMG staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan. ================================================================================ The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. KPMG is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ================================================================================ From owner-sqr-users@list.iex.net Wed Jan 28 10:00:26 1998 Date: Wed, 28 Jan 1998 09:51:41 -0500 From: Schiff Fred Subject: Re: edit dd/mm/yyyy > -----Original Message----- > From: Stokman, Gilbert [SMTP:Stokman.Gilbert@KPMG.NL] > Sent: Wednesday, January 28, 1998 9:34 AM > To: Multiple recipients of list SQR-USERS > Subject: Re: edit dd/mm/yyyy > Importance: High > > well share your solution and at least Arthur Coniglio will be > thankfull > :) > > Gilbert Stokman > [Schiff Fred] Hmmmm. Well, two things: are you sure the variables are declared as dates in the setup paragraph, and try putting single quotes around the edit mask. From owner-sqr-users@list.iex.net Wed Jan 28 10:28:02 1998 Date: Wed, 28 Jan 1998 10:18:30 -0500 From: Allan Geetter Subject: Re: edit dd/mm/yyyy This is a multi-part message in MIME format. --------------4510AF4825F7FD4EB9F71C5F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I had the same problem. This is what I had to do: Begin-Select GURALOG_OBJECT () ON-BREAK LEVEL=1 PRINT=NEVER AFTER=OBJECT_BREAK GURALOG_USERID () ON-BREAK LEVEL=2 PRINT=NEVER AFTER=USER_BREAK GURALOG_REASON to_char(GURALOG_ACTIVITY_DATE,'mm/dd/yy HH:MI pm') &date GZBANUSER_NAME Then, I just issued the print command as Print &Date (,52,17) You set the format with the to_char command in the select Arthur Coniglio wrote: > G'day all. > > Can someone please tell me if you have ever used the EDIT DD/MM/YYYY > function > with the print command. I have a date in database format held in a > variable and attempting to > print it the format of my choice. All i get printed to the report is > DD/MM/YYYY and not the > actual date ?? > > Example. print $Begin-Dt (,+5) edit dd/mm/yyyy > > Has anyone had any luck with this. > Any ideas appreciated. > > Cheers > Arthur. > > ------------------------------------------------------------------------ > > Part 1.2 Type: application/ms-tnef > Encoding: base64 --------------4510AF4825F7FD4EB9F71C5F Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Allan Geetter Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Allan Geetter n: Geetter;Allan org: University of Hartford adr;dom: 200 Bloomfield Ave.;;Information Technology Services - CC125;West Hartford;Connecticut;06117-1599; email;internet: geetter@uhavax.hartford.edu title: Data Security Administrator tel;work: (860) 768-4889 tel;fax: (860) 768-4907 x-mozilla-cpt: ;0 x-mozilla-html: TRUE version: 2.1 end: vcard --------------4510AF4825F7FD4EB9F71C5F-- From owner-sqr-users@list.iex.net Wed Jan 28 14:12:35 1998 Date: Wed, 28 Jan 1998 15:29:52 -0200 From: Romeu Finoti Sciotta Subject: Can I draw two graphics in one? This is a multi-part message in MIME format. ------=_NextPart_000_001F_01BD2C01.94A9FE40 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0020_01BD2C01.94A9FE40" ------=_NextPart_001_0020_01BD2C01.94A9FE40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello my friends. I'd like to draw two differents type of graphics in one (same as example = attached). Is this possible? Any help would be appreciate. Regards. Romeu Finoti Sciotta Alcan Alum=EDnio do Brasil Ltda. ------=_NextPart_001_0020_01BD2C01.94A9FE40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello my friends.
 
I'd like to draw two differents type of = graphics in=20 one (same as example attached).
Is this possible?
 
Any help would be = appreciate.
 
Regards.
 
Romeu Finoti Sciotta
Alcan Alumínio do Brasil=20 Ltda.
------=_NextPart_001_0020_01BD2C01.94A9FE40-- ------=_NextPart_000_001F_01BD2C01.94A9FE40 Content-Type: image/bmp; name="Graphic.bmp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Graphic.bmp" Qk02zwIAAAAAAHYAAAAoAAAAIAMAAMwBAAABAAQAAAAAAMDOAgDODgAA2A4AAAAAAAAAAAAAAAAA AAAAgAAAgAAAAICAAIAAAACAAIAAgIAAAMDAwACAgIAAAAD/AAD/AAAA//8A/wAAAP8A/wD//wAA ////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAP//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////wD/////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////8A////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////AP//////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////wD/////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////8A////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////AP//////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////wD/////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////8A////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////AP//////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////wD/////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////8A////////////////////////////////////AP8P//8PD//w////// //////////////////////D///AAAP//D/////////////////////////////D/D/Dw///w8P// D//////////////////////////w///w8AAA/w//8P////////////////////////8P8P8PD/// Dw//AA////////////////////////////8A//AAD/D//w/////////////////////////////w D/8AAP8AAA///////////////////////////w///w//AA///wAP//////////////////////// ////8AAP8AAA//D///////////////////////////////AA//8AAP//D/////////////////// ////////8P//D/8AD///8P////////////////////////////AAD/8AAA8AAAD///////////// //////////////////////AP//////////////////////////////////8P8PD///Dw//AP//// ///////////////////////w///w/////w/////////////////////////////w/w/w8P//8PD/ 8P//////////////////////////8P//8PD//w8P/w//////////////////////////D/D/Dw// /w8P8P/w///////////////////////////w/w8P//Dw//AP//////////////////////////// D/Dw//8PD/////////////////////////////8P//8P8P/w//D/8P////////////////////// /////w//8PD////w//////////////////////////////8P/w/w//8P/w////////////////// //////////D/8A/w//D///D////////////////////////////w//D/D///8P////////////// ///////////////////////wD///////////////////////////////////D/D/AAAP8P8PD/// ////////////////////////8P//8P////Dw////////////////////////////8PDw8P8AAA/w //D///////////////////////////8AAA/w//8PD/8P/////////////////////////w8PDw/w AAD/Dw///w//////////////////////////8P8PD//w8P8PD/////////////////////////// /w/w8P//Dw//////////////////////////////8AAA/w///w8P//8P//////////////////// //////////Dw////8P/////////////////////////////w///w8P//D/8P//////////////// ///////////w/w8PD///D/8PD///////////////////////////8P//Dw////8P//////////// ////////////////////////8A/////////////////////////////////////w/w//D/D/Dw// //////////////////////////D///D////w8P////////////////////////////Dw8PD/D/8P 8P8P////////////////////////////D/8P8P//Dw/w//////////////////////////8PDw8P 8P/w/w8P//8P////////////////////////////Dw//8PD/Dw////////////////////////// ////8PD//w8P//////////////////////////////D/8P8P/wAPD///D/////////////////// //////////AP8P////D/////////////////////////////8P//8PD//w//D/////////////// ////////////8P8PDw///w//Dw////////////////////////////D//w8P////D/////////// //////////////////////////AP////////////////////////////////////8P/w8P/w8P8P ///////////////////////////wAA/wAAD/D/8P///////////////////////////w8PDw//Dw //AAAP////////////////////////////Dw//AAAA8AAA//////////////////////////Dw8P D/8PD/8PD///D////////////////////////////w8P//Dw8P8P//////////////////////// //////Dw//8PD///////////////////////////////Dw//D////w///w////////////////// //////////AP//AAAP/w//////////////////////////////D///Dw//8P/w////////////// //////////////Dw/w8P//8P8P/w///////////////////////////w//8PAAAP//D///////// ///////////////////////////wD/////////////////////////////////////D/8PD/8PD/ D///////////////////////////8P//8P///w//D///////////////////////////8A//AP/w 8P/w//8P///////////////////////////w8P/w//8PD//w/////////////////////////wD/ 8A//Dw//Dw///w////////////////////////////8PD//w8PD/D/////////////////////// ///////w8P//Dw///////////////////////////////w8P/w///w8P//8P//////////////// //////////8P///w////8P/////////////////////////////w///w8P//D/8P//////////// ///////////////w8P8PD///D/D/8P//////////////////////////8P//Dw/////w//////// ////////////////////////////8A/////////////////////////////////////w//Dw//AP /w////////////////////////////D///D///D///D///////////////////////////AP/wD/ 8PD/8P//D///////////////////////////8PD/8P//Dw//8P////////////////////////8A //AP/w8P/w/w//D/////////////////////////////Dw//8PAP/w////////////////////// ////////8PD//w8P//////////////////////////////8PD//w//D/8P/w//////////////// ////////////D//w8P////D//////////////////////////////w//D/D//w//D/////////// ////////////////8A//D/D/8P8P//8P//////////////////////////D/8P8P/////w////// //////////////////////////////AP////////////////////////////////////8P//D//w //8P///////////////////////////wAADwAADw///w///////////////////////////w///w //8P//AAAP////////////////////////////8P//AAAP8AAA////////////////////////// D///D//w//8P/wAP/////////////////////////////w8P//Dw//8P//////////////////// //////////Dw//8PD///////////////////////////////8P///wAP//8AD/////////////// //////////////AAD/AAAPAAAP/////////////////////////////wAP/w//8PAAAP//////// //////////////////D//w//AA//D///D//////////////////////////wAA//AAAP8AAA//// ///////////////////////////////wD/////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////8A////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////AP//////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////wD/////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////8A////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////AP//////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////wD/////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////8A////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////AP////////////AA//////8P////////// /////////////////////////////w////////////////////////////////////////D///// ///////////////////////////////////w//////////////////////////////////////// D///////////////////////////////////////8P////////////////////////////////// /////w////////////////////////////////////////D///////////////////////////// //////////8P///////////////////////////////////////w//////////////////////// ////////////////8P///////////////////////////////////////w////////////////// //////////////////////D/////AA/////////////wD///////////8P/w//////D///////// //////////////////////////////8P///////////////////////////////////////w//// ////////////////////////////////////8P////////////////////////////////////// /w////////////////////////////////////////D///////////////////////////////// //////8P///////////////////////////////////////w//////////////////////////// ////////////D///////////////////////////////////////8P////////////////////// //////////////////D///////////////////////////////////////8P//////////////// ///////////////////////w////8P/w////////////8A////////////D/8P/////w//////// ////////////////////////////////D///////////////////////////////////////8P// //////////////////////////////////////D///////////////////////////////////// //8P///////////////////////////////////////w//////////////////////////////// ////////D///////////////////////////////////////8P////////////////////////// /////////////w////////////////////////////////////////D///////////////////// ///////////////////w////////////////////////////////////////D/////////////// ////////////////////////8P////D/8P////////////AP///////////w//D///8AAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAA///w//D////////////wD///////////8P/w//////D///// //////C7u7u7u7u7u7u7u7D///////////8P//////////8Lu7u7u7u7u7u7u7sP///////////w ///////////wu7u7u7u7u7u7u7uw////////////8P//////////8Lu7u7u7u7u7u7u7sP////// /////w///////////wu7u7u7u7u7u7u7uw////////////D///////////C7u7u7u7u7u7u7u7D/ //////////8P//////////8Lu7u7u7u7u7u7u7sP///////////w///////////wu7u7u7u7u7u7 u7uw////////////D///////////C7u7u7u7u7u7u7u7D///////////8P///////////wu7u7u7 u7u7u7u7uw////////////D///////////////////////////////////////8P//////////// ///////////////////////////w////8P/w////////////8A////////////D/8P/////w//// ///////wu7u7u7u7u7u7u7uw////////////D///////////C7u7u7u7u7u7u7u7D/////////// 8P//////////8Lu7u7u7u7u7u7u7sP////////////D///////////C7u7u7u7u7u7u7u7D///// //////8P//////////8Lu7u7u7u7u7u7u7sP///////////w///////////wu7u7u7u7u7u7u7uw ////////////D///////////C7u7u7u7u7u7u7u7D///////////8P//////////8Lu7u7u7u7u7 u7u7sP///////////w///////////wu7u7u7u7u7u7u7uw////////////D///////////8Lu7u7 u7u7u7u7u7sP///////////w////////////////////////////////////////D/////////// ////////////////////////////8P////D/8P////////////AP///////////w//D/////8P// ////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////// //////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw//// ////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7 sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7 u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7 u7u7u7u7u7u7D/////////////////////////////////////////////////////////////// //////////////////////////////D////w//D////////////wD////////////wAP//////D/ //////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////// ///////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP// /////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7 u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7 u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7 u7u7u7u7u7u7uw////////////////////////////////////////////////////////////// ///////////////////////////////w/////wAP////////////8A/////////////////////w ///////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////// ////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/ //////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7 u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7 u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////8L u7u7u7u7u7u7u7sP//////////////////////////////////////////////////////////// ////////////////////////////////8P////////////////////AP//////////////////// 8P//////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////// //////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw ////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7 u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7 u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////// C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////////////// //////////////////////////////////D////////////////////wD/////////////////// //D///////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//// ///////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7 sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7 u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7 u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////////////////// /wu7u7u7u7u7u7u7uw////////////////////////////////////////////////////////// ///////////////////////////////////w////////////////////8A////////////////// ///w///////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7t7u7u7u7D/// ////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7 u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7 u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7 u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////// //8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////////////////// ////////////////////////////////////8P////////////////////AP//////////////// ////8P//////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u3d7u7u7uw// //////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7 u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7 u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7 u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////////////// ////C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////////// //////////////////////////////////////D////////////////////wD/////////////// //////D///////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7d3d7u7u7sP ///////////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7 u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7 u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////w u7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////////////// /////wu7u7u7u7u7u7u7uw////////////////////////////////////////////////////// ///////////////////////////////////////w////////////////////8A////////////// ///////w///////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7t3d3d7u7u7 D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7 u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7 u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////////////////// 8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////// //////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////////////// ////////////////////////////////////////8P////////////////////AP//////////// ////////8P//////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7d3d3d3u7 uw////////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7 u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7 u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////// //C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////////// ////////C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////// //////////////////////////////////////////D////////////////////wD/////////// //////////D///////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7d7t3e7u3 d7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7 u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7 u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////////////// ///wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////////// /////////wu7u7u7u7u7u7u7uw////////////////////////////////////////////////// ///////////////////////////////////////////w////////////////////8A////////// ///////////w///////////wu7u7u7u7u7u7u7uw////////////////////////C7u7d7u7t7u7 u7t3f///////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7 u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////w u7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////////////// ////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////// //////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////////// ////////////////////////////////////////////8P////////////////////AP//////// ////////////8P//////////8Lu7u7u7u7u7u7u7sP///////////////////////wAAdwAAAAAA AAAAAAd3f/////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7 u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////////////////// 8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////// //////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////// ////////////C7u7u7u7u7u7u7u7D/////////////////////////////////////////////// //////////////////////////////////////////////D////////////////////wD/////// //////////////D///////////C7u7u7u7u7u7u7u7D/////////////////////////d/////// //////////d3///////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7 u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////// //C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////////// ///////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////// /////////////wu7u7u7u7u7u7u7uw////////////////////////////////////////////// ///////////////////////////////////////////////w////////////////////8A////// ///////////////w///////////wu7u7u7u7u7u7u7uw////////////////////////d/////// /////////////3d3////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7 u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////////////// ///wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////////// ////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////// //////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////// ////////////////////////////////////////////////8P////////////////////AP//// ////////////////8P//////////8Lu7u7u7u7u7u7u7sP//////////////////////d/////// /////////////////3d///////////////C7u7u7u7u7u7u7u7D////////////////////////w u7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////////////// ////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////// //////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////// ////////////////C7u7u7u7u7u7u7u7D/////////////////////////////////////////// //////////////////////////////////////////////////D////////////////////wD/// //////////////////D///////////C7u7u7u7u7u7u7u7D/////////////////////d/////// ////////////////////93f////////////wu7u7u7u7u7u7u7uw//////////////////////// 8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////// //////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////// ///////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////// /////////////////wu7u7u7u7u7u7u7uw////////////////////////////////////////// ///////////////////////////////////////////////////w////////////////////8A// ///////////////////w///////////wu7u7u7u7u7u7u7uw////////////////////d/////// ////////////////////////d3f/////////8Lu7u7u7u7u7u7u7sP////////////////////// //C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////////// ///////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////// ////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////// //////////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////// ////////////////////////////////////////////////////8P////////////////////AP ////////////////////8P//////////8Lu7u7u7u7u7u7u7sP//////////////////d/////// ////////////////////////////d3////////C7u7u7u7u7u7u7u7D///////////////////// ///wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////////// ////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////// //////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//// ////////////////////C7u7u7u7u7u7u7u7D/////////////////////////////////////// //////////////////////////////////////////////////////D////////////////////w D/////////////////////D///////////C7u7u7u7u7u7u7u7D/////////////////d/////// ///////////////////////////////3d//////wu7u7u7u7u7u7u7uw//////////////////// ////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////// //////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////// ///////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/// /////////////////////wu7u7u7u7u7u7u7uw////////////////////////////////////// ///////////////////////////////////////////////////////w//////////////////// 8A/////////////////////w///////////wu7u7u7u7u7u7u7uw////////////////d/////// //////////////////////////////////93d///8Lu7u7u7u7u7u7u7sP////////////////// //////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////// ///////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////// ////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw// //////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////// ////////////////////////////////////////////////////////8P////////////////// //AP////////////////////8P//////////8Lu7u7u7u7u7u7u7sP//////////////d/////// //////////////////////////////////////93f/C7u7u7u7u7u7u7u7D///////////////// ///////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////////// ////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////// //////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP ////////////////////////C7u7u7u7u7u7u7u7D/////////////////////////////////// //////////////////////////////////////////////////////////D///////////////// ///wD/////////////////////D///////////C7u7u7u7u7u7u7u7D/////////////d/////// //////////////////////////////////////////d3e7u7u7u7u7u7u7uw//////////////// ////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////// //////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//// ///////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7 D////////////////////////wu7u7u7u7u7u7u7uw////////////////////////////////// ///////////////////////////////////////////////////////////w//////////////// ////8A/////////////////////w///////////wu7u7u7u7u7u7u7uw////////////d/////// ////////////////////////////////////////////8Ld3u7u7u3u7u7u7sP////////////// //////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////// ///////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/// ////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7 uw////////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////// ////////////////////////////////////////////////////////////8P////////////// //////AP////////////////////8P//////////8Lu7u7u7u7u7u7u7sP//////////d/////// //////////////////////////////////////////////C7u3d7u7d3u7u7u7D///////////// ///////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/////// ////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw// //////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7 u7sP////////////////////////C7u7u7u7u7u7u7u7D/////////////////////////////// //////////////////////////////////////////////////////////////D///////////// ///////wD/////////////////////D///////////C7u7u7u7u7u7u7u7D/////////d/////// ///////////////////////////////////////////////wu7u7t3d3d3u7u7uw//////////// ////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////// //////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP ///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7 u7u7D////////////////////////wu7u7u7u7u7u7u7uw////////////////////////////// ///////////////////////////////////////////////////////////////w//////////// ////////8A/////////////////////w///////////wu7u7u7u7u7u7u7uw////////d/////// ////////////////////////////////////////////////8Lu7u7u3d3d3u7u7sP////////// //////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//// ///////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7 D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7 u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////////// ////////////////////////////////////////////////////////////////8P////////// //////////AP////////////////////8P//////////8Lu7u7u7u7u7u7u7sP//////d/////// //////////////////////////////////////////////////C7u7u7u3d3d3d7u7D///////// ///////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/// ////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7 uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7 u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/////////////////////////// //////////////////////////////////////////////////////////////////D///////// ///////////wD/////////////////////D///////////C7u7u7u7u7u7u7u7D/////d/////// ///////////////////////////////////////////////////wu7u7u7u3d7u7t3dw//////// ////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw// //////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7 u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7 u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw////////////////////////// ///////////////////////////////////////////////////////////////////w//////// ////////////8A/////////////////////w///////////wu7u7u7u7u7u7u7uw////d/////// ////////////////////////////////////////////////////8Lu7u7u7u3u7u7u7t3d///// //////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP ///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7 u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7 u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////// ////////////////////////////////////////////////////////////////////8P////// //////////////AP////////////////////8P//////////8Lu7u7u7u7u7u7u7sP//d/////// //////////////////////////////////////////////////////C7u7u7u7u7u7u7u7D/93d/ ///////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7 D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7 u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7 u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/////////////////////// //////////////////////////////////////////////////////////////////////D///// ///////////////wD/////////////////////D///////////C7u7u7u7u7u7u7u7D/d/////// ///////////////////////////////////////////////////////wu7u7u7u7u7u7u7uw//// 93d/////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7 uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7 u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7 u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw////////////////////// ///////////////////////////////////////////////////////////////////////w//// ////////////////8A/////////////////////w///////////wu7u7u7u7u7u7u7uwd/////// ////////////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP// ////93d///////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7 u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7 u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7 u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP//////////////////// ////////////////////////////////////////////////////////////////////////8P// //////////////////AP////////////////////8P//////////8Lu7u7u7u7u7u7u7d/////// //////////////////////////////////////////////////////////C7u7u7u7u7u7u7u7D/ ////////93d////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7 u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7 u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8L u7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/////////////////// //////////////////////////////////////////////////////////////////////////D/ ///////////////////wD/////////////////////D///////////C7u7u7u7u7u7u7d7D///// ///////////////////////////////////////////////////////////wu7u7u7u7u7u7u7uw ////////////93d3////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7 u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7 u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////////////////////// C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw////////////////// ///////////////////////////////////////////////////////////////////////////w ////////////////////8A/////////////////////w///////////wu7u7u7u7e7u7d7uw//// ////////////////////////////////////////////////////////////8Lu7u7u7u7u7u7u7 sP///////////////3d3//////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7 u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7 u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////////// /wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP//////////////// //////////////////////////////////////////////////////////////////////////// 8P////////////////////AP////////////////////8P//////////8Lu7u7u7t3e7d7u7sP// //////////////////////////////////////////////////////////////C7u7u7u7u7u7u7 u7D//////////////////3d3///wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7 u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7 u7u7u7e7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////// //8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/////////////// //////////////////////////////////////////////////////////////////////////// //D////////////////////wD/////////////////////D///////////C7u7u7u3d3d7u7u7D/ ///////////////////////////////////////////////////////////////wu7u7u7u7u7u7 u7uw/////////////////////3d38Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7 u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////////8L u7u7u7t3e7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////////////////// ////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw////////////// //////////////////////////////////////////////////////////////////////////// ///w////////////////////8A/////////////////////w///////////wu7u7u7d3d3e7u7uw ////////////////////////////////////////////////////////////////8Lu7u7u7u7u7 u7u7sP///////////////////////3d3u7u7u7t7u7u7u7D///////////////////////8Lu7u7 u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////////////////////// C7u7u7u3d3e7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////// /////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP//////////// //////////////////////////////////////////////////////////////////////////// ////8P////////////////////AP////////////////////8P//////////8Lu7u7u7d3d7u7u7 sP////////////////////////////////////////////////////////////////C7u7u7u7u7 u7u7u7D////////////////////////wu3d3u7u3d7u7u7uw////////////////////////C7u7 u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////////// /wu7u7u7d3d3e7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////// //////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/////////// //////////////////////////////////////////////////////////////////////////// //////D////////////////////wD/////////////////////D///////////C7u7u7u7d3u7u7 u7D////////////////////////////////////////////////////////////////wu7u7u7u7 u7u7u7uw////////////////////////8Lu7u3d3d3d7u7u7sP///////////////////////wu7 u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////////// //8Lu7u7u7d3d7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////////////// ////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw////////// //////////////////////////////////////////////////////////////////////////// ///////w////////////////////8A/////////////////////w///////////wu7u7u7u7e7u7 u7uw////////////////////////////////////////////////////////////////8Lu7u7u7 u7u7u7u7sP////////////////////////C7u7u7t3d3d7u7u7D///////////////////////8L u7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////////////////// ////C7u7u7u7d3u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////// /////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP//////// //////////////////////////////////////////////////////////////////////////// ////////8P////////////////////AP////////////////////8P//////////8Lu7u7u7u7u7 u7u7sP////////////////////////////////////////////////////////////////C7u7u7 u7u7u7u7u7D////////////////////////wu7u7u7t3d3u7u7uw//////////////////////// C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////// /////wu7u7u7u3d7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////// //////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/////// //////////////////////////////////////////////////////////////////////////// //////////D////////////////////wD/////////////////////D///////////C7u7u7u7u7 u7u7u7D////////////////////////////////////////////////////////////////wu7u7 u7u7u7u7u7uw////////////////////////8Lu7u7u7t3d3u7u7sP////////////////////// /wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////// //////8Lu7u7u7e7e7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////////// ////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw////// //////////////////////////////////////////////////////////////////////////// ///////////w////////////////////8A/////////////////////w///////////wu7u7u7u7 u7u7u7uw////////////////////////////////////////////////////////////////8Lu7 u7u7u7u7u7u7sP////////////////////////C7u7u7u7t7u3u7u7D///////////////////// //8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////////////// ////////C7u7u7u3u3u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////// /////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP//// //////////////////////////////////////////////////////////////////////////// ////////////8P////////////////////AP////////////////////8P//////////8Lu7u7u7 u7u7u7u7sP////////////////////////////////////////////////////////////////C7 u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u3u7uw//////////////////// ////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////// /////////wu7u7u7e7t7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////// //////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/// //////////////////////////////////////////////////////////////////////////// //////////////D////////////////////wD/////////////////////D///////////C7u7u7 u7u7u7u7u7D////////////////////////////////////////////////////////////////w u7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u3e7sP////////////////// /////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////// //////////8Lu7u7u3u7e7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////// ////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw// //////////////////////////////////////////////////////////////////////////// ///////////////w////////////////////8A/////////////////////w///////////wu7u7 u7u7u7u7u7uw//////////////////////////////////////////////////////////////// 8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7e7D///////////////// //////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////////// ////////////C7u7u7e7u7e7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////// /////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP //////////////////////////////////////////////////////////////////////////// ////////////////8P////////////////////AP////////////////////8P//////////8Lu7 u7u7u7u7u7u7sP////////////////////////////////////////////////////////////// //C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7ew//////////////// ////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////// /////////////wu7u7u3u7u3u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///// //////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7 D/////////////////////////////////////////////////////////////////////////// //////////////////D////////////////////wD/////////////////////D///////////C7 u7u7u7u7u7u7u7D///////////////////////////////////////////////////////////// ///wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7d/////////////// /////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////// //////////////8Lu7u7e7u7t7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//// ////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7 uw////////////////////////////////////////////////////////////////////////// ///////////////////w////////////////////8A/////////////////////w///////////w u7u7u7u7u7u7u7uw//////////////////////////////////////////////////////////// ////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7B///////////// //////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//////// ////////////////C7u7u3u7u7e7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP// /////////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7 u7sP//////////////////////////////////////////////////////////////////////// ////////////////////8P////////////////////AP////////////////////8P////////// 8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////////////////// //////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw9/////////// ////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////// /////////////////wu7u7e7u7u7e7u7uw////////////////////////C7u7u7u7u7u7u7u7D/ //////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7 u7u7D/////////////////////////////////////////////////////////////////////// //////////////////////D////////////////////wD/////////////////////D///////// //C7u7u7u7u7u7u7u7D///////////////////////////////////////////////////////// ///////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP9///////// /////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///// //////////////////8Lu7u3u7u7u3u7u7sP///////////////////////wu7u7u7u7u7u7u7uw ////////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7 u7u7uw////////////////////////////////////////////////////////////////////// ///////////////////////w////////////////////8A////////AAAP8AD//////w//////// ///wu7u7u7u7u7u7u7uw//////////////////////////////////////////////////////// ////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/93////// //////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw//// ////////////////////C7u7e7u7u7t7u7u7D///////////////////////8Lu7u7u7u7u7u7u7 sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7 u7u7u7sP//////////////////////////////////////////////////////////////////// ////////////////////////8P/////w//8AD/8AD/////AP////////D//w//D/////8P////// ////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////////////// //////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw///3//// ////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP// /////////////////////wu7u3u7u7u7e7u7uw////////////////////////C7u7u7u7u7u7u7 u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7 u7u7u7u7D/////////////////////////////////////////////////////////////////// //////////////////////////D/////8P/w//Dw//D////wD/////////D/8P/w//////D///// //////C7u7u7u7u7u7u7u7D///////////////////////////////////////////////////// ///////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP///3// /////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D/ //////////////////////8Lu7e7u7u7u3u7u7sP///////////////////////wu7u7u7u7u7u7 u7uw////////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7 u7u7u7u7uw////////////////////////////////////////////////////////////////// ///////////////////////////w//////D/8P/w8P/w////8A//////////D/D/8P///wAAAP// ///////wu7u7u7u7u7u7u7uw//////////////////////////////////////////////////// ////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D////3 f/////////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7u7uw ////////////////////////C7u3u7u7u7u3u7u7D///////////////////////8Lu7u7u7u7u7 u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7 u7u7u7u7u7sP//////////////////////////////////////////////////////////////// //////////////////////////8AAAD////w//D/8PD/8P////AP//////////Dw//D/////8P// ////////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////////// //////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw//// //f/////////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7 sP///////////////////////wu7e7u7u7u7t7u7uw////////////////////////C7u7u7u7u7 u7u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7 u7u7u7u7u7u7D/////////////////////////////////////////////////////////////// //////////////////////////////D/////8P/w//Dw//D////wD//////////w8P/w//////D/ //////////C7u7u7u7u7u7u7u7D///////////////////////////////////////////////// ///////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7sP// ////f////////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7u7u7 u7D///////////////////////8Lu3u7u7u7u7e7u7sP///////////////////////wu7u7u7u7 u7u7u7uw////////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7 u7u7u7u7u7u7uw////////////////////////////////////////////////////////////// ///////////////////////////////w////8PD/8P/w8P/w////8A////////D/8PD/8P/////w ///////////wu7u7u7u7u7u7u7uw//////////////////////////////////////////////// ////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7u7D/ //////d///////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7u7u7 u7uw////////////////////////C7t7u7u7u7u3u7u7D///////////////////////8Lu7u7u7 u7u7u7u7sP///////////////////////wAAAAAAAAAAAAAAAA////////////////////////8L u7u7u7u7u7u7u7sP//////////////////////////////////////////////////////////// ////////////////////////////////8P////8A//D/8PD/8P////AP////////AA//AA////// 8P//////////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////// //////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7u7uw ////////9///////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7u7u7 u7u7sP///////////////////////wu3u7u7u7u7t7u7uw////////////////////////C7u7u7 u7u7u7u7u7D///////////////////////////////////////////////////////////////// C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////////////// //////////////////////////////////D/////8P//AA//AA/////wD/////////////////// //D///////////C7u7u7u7u7u7u7u7D///////////////////////////////////////////// ///////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7u7u7 sP////////9//////////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7u7u7 u7u7u7D///////////////////////8Lt7u7u7u7u7t7u7sP///////////////////////wu7u7 u7u7u7u7u7uw//////////////////////////////////////////////////////////////// /wu7u7u7u7u7u7u7uw////////////////////////////////////////////////////////// ///////////////////////////////////w////////////////////8A////////////////// ///w///////////wu7u7u7u7u7u7u7uw//////////////////////////////////////////// ////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7u7u7 u7D/////////9/////////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7u7u7 u7u7u7uw////////////////////////C3u7u7u7u7u7e7u7D///////////////////////8Lu7 u7u7u7u7u7u7sP////////////////////////////////////////////////////////////// //8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////////////////// ////////////////////////////////////8P////////////////////AP//////////////// ////8P//////////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////// //////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7u7u7 u7uw//////////93////////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7u7u7 u7u7u7u7sP///////////////////////wt7u7u7u7u7u3u7uw////////////////////////C7 u7u7u7u7u7u7u7D///////////////////////////////////////////////////////////// ////C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////////// //////////////////////////////////////D////////////////////wD/////////////// //////D///////////C7u7u7u7u7u7u7u7D///////////////////////////////////////// ///////////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7u7u7 u7u7sP///////////3///////////wu7u7u7u7u7u7u7uw////////////////////////C7u7u7 u7u7u7u7u7D///////////////////////8Hu7u7u7u7u7t7u7sP///////////////////////w u7u7u7u7u7u7u7uw//////////////////////////////////////////////////////////// /////wu7u7u7u7u7u7u7uw////////////////////////////////////////////////////// ///////////////////////////////////////w////////////////////8A////////////// ///////w///////////wu7u7u7u7u7u7u7uw//////////////////////////////////////// ////////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7u7u7 u7u7u7D////////////3//////////8Lu7u7u7u7u7u7u7sP///////////////////////wu7u7 u7u7u7u7u7uw////////////////////////B7u7u7u7u7u7t7u7D/////////////////////// 8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////////////////// //////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////////////// ////////////////////////////////////////8P////////////////////AP//////////// ////////8P//////////8Lu7u7u7u7u7u7u7sP////////////////////////////////////// //////////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7u7u7 u7u7u7uw/////////////3f/////////C7u7u7u7u7u7u7u7D///////////////////////8Lu7 u7u7u7u7u7u7sP///////////////////////3u7u7u7u7u7u7e7uw////////////////////// //C7u7u7u7u7u7u7u7D///////////////////////////////////////////////////////// ////////C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////// //////////////////////////////////////////D////////////////////wD/////////// //////////D///////////C7u7u7u7u7u7u7u7D///////////////////////////////////// ///////////////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7u7u7 u7u7u7u7sP//////////////f////////wu7u7u7u7u7u7u7uw////////////////////////C7 u7u7u7u7u7u7u7D///////////////////////97u7u7u7u7u7u3u7sP//////////////////// ///wu7u7u7u7u7u7u7uw//////////////////////////////////////////////////////// /////////wu7u7u7u7u7u7u7uw////////////////////////////////////////////////// ///////////////////////////////////////////w////////////////////8A////////// ///////////w///////////wu7u7u7u7u7u7u7uw//////////////////////////////////// ////////////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7u7u7 u7u7u7u7u7D///////////////f///////8Lu7u7u7u7u7u7u7sP///////////////////////w u7u7u7u7u7u7u7uw///////////////////////3C7u7u7u7u7u7t7u7D/////////////////// ////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////////////// //////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////////// ////////////////////////////////////////////8P////////////////////AP//////// ////////////8P//////////8Lu7u7u7u7u7u7u7sP////////////////////////////////// //////////////////////////////C7u7u7u7u7u7u7u7D////////////////////////wu7u7 u7u7u7u7u7uw////////////////f///////C7u7u7u7u7u7u7u7D/////////////////////// 8Lu7u7u7u7u7u7u7sP//////////////////////9wu7u7u7u7u7u7e7uw////////////////// //////C7u7u7u7u7u7u7u7D///////////////////////////////////////////////////// ////////////C7u7u7u7u7u7u7u7D/////////////////////////////////////////////// //////////////////////////////////////////////D////////////////////wD/////// //////////////D///////////C7u7u7u7u7u7u7u7D///////////////////////////////// ///////////////////////////////wu7u7u7u7u7u7u7uw////////////////////////8Lu7 u7u7u7u7u7u7sP////////////////d//////wu7u7u7u7u7u7u7uw////////////////////// //C7u7u7u7u7u7u7u7D//////////////////////38Lu7u7u7u7u7u7e7sP//////////////// ///////wu7u7u7u7u7u7u7uw//////////////////////////////////////////////////// /////////////wu7u7u7u7u7u7u7uw////////////////////////////////////////////// ///////////////////////////////////////////////w////////////////////8A////// ///////////////w///////////wu7u7u7u7u7u7u7uw//////////////////////////////// ////////////////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////C7 u7u7u7u7u7u7u7D/////////////////9/////8Lu7u7u7u7u7u7u7sP//////////////////// ///wu7u7u7u7u7u7u7uw//////////////////////9/C7u7u7u7u7u7u3u7D/////////////// ////////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////////// //////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////// ////////////////////////////////////////////////8P////////////////////AP//// ////////////////8P//////////8Lu7u7u7u7u7u7u7sP////////////////////////////// //////////////////////////////////C7u7u7u7u7u7u7u7D////////////////////////w u7u7u7u7u7u7u7uw//////////////////9/////C7u7u7u7u7u7u7u7D/////////////////// ////8Lu7u7u7u7u7u7u7sP/////////////////////3/wu7u7u7u7u7u7t7uw////////////// //////////C7u7u7u7u7u7u7u7D////////////////////////////////3//////////////// ////////////////C7u7u7u7u7u7u7u7D/////////////////////////////////////////// //////////////////////////////////////////////////D////////////////////wD/// //////////////////D///////////C7u7u7u7u7u7u7u7D///////////////////////////// ///////////////////////////////////wAAAAAAAAAAAAAAAA//////////////////////// 8AAAAAAAAAAAAAAAAP//////////////////93///wu7u7u7u7u7u7u7uw////////////////// //////C7u7u7u7u7u7u7u7D/////////////////////9/8Lu7u7u7u7u7u7e7sP//////////// ///////////wu7u7u7u7u7u7u7uw////////////////////////////////d3////////////// /////////////////wu7u7u7u7u7u7u7uw////////////////////////////////////////// ///////////////////////////////////////////////////w////////////////////8A// ///////////////////w///////////wu7u7u7u7u7u7u7uw//////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////3//8Lu7u7u7u7u7u7u7sP//////////////// ///////wu7u7u7u7u7u7u7uw/////////////////////3//C7u7u7u7u7u7u3u7D/////////// ////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////93d3//////////// //////////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////// ////////////////////////////////////////////////////8P////////////////////AP ////////////////////8P//////////8Lu7u7u7u7u7u7u7sP////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////3//C7u7u7u7u7u7u7u7D/////////////// ////////8Lu7u7u7u7u7u7u7sP////////////////////9//wu7u7u7u7u7u7u3uw////////// //////////////C7u7u7u7u7u7u7u7D//////////////////////////////3d3d3////////// ////////////////////C7u7u7u7u7u7u7u7D/////////////////////////////////////// //////////////////////////////////////////////////////D////////////////////w D/////////////////////D///////////C7u7u7u7u7u7u7u7D///////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////3fwu7u7u7u7u7u7u7uw////////////// //////////C7u7u7u7u7u7u7u7D/////////////////////f/8Lu7u7u7u7u7u7t7sP//////// ///////////////wu7u7u7u7u7u7u7uw///////////////////////////////3d3f///////// /////////////////////wu7u7u7u7u7u7u7uw////////////////////////////////////// ///////////////////////////////////////////////////////w//////////////////// 8A/////////////////////w///////////wu7u7u7u7u7u7u7uw//////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////cLu7u7u7u7u7u7u7sP//////////// ///////////wu7u7u7u7u7u7u7uw////////////////////9///C7u7u7u7u7u7u7e7D/////// ////////////////8Lu7u7u7u7u7u7u7sP///////////////////////////////3d///////// //////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////// ////////////////////////////////////////////////////////8P////////////////// //AP////////////////////8P//////////8Lu7u7u7u7u7u7u7sP////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////e7u7u7u7u7u7u7u7D/////////// ////////////8Lu7u7u7u7u7u7u7sP////////////////////f//wu7u7u7u7u7u7u3uw////// //////////////////C7u7u7u7u7u7u7u7D///////////////////////////////93f/////// ////////////////////////C7u7u7u7u7u7u7u7D/////////////////////////////////// //////////////////////////////////////////////////////////D///////////////// ///wD/////////////////////D///////////C7u7u7u7u7u7u7u7D///////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////we7u7u7u7u7u7u7uw////////// //////////////C7u7u7u7u7u7u7u7D///////////////////9///8AAAAAAAAAAAAABwAP//// ///////////////////wu7u7u7u7u7u7u7uw////////////////////////////////f/f///// /////////////////////////wu7u7u7u7u7u7u7uw////////////////////////////////// ///////////////////////////////////////////////////////////w//////////////// ////8A/////////////////////w///////////wu7u7u7u7u7u7u7uw//////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////8Ld7u7u7u7u7u7u7sP//////// ///////////////wu7u7u7u7u7u7u7uw////////////////////f/////////////////9///// ////////////////////8Lu7u7u7u7u7u7u7sP///////////////////////////////3/3//// //////////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////// ////////////////////////////////////////////////////////////8P////////////// //////AP////////////////////8P//////////8Lu7u7u7u7u7u7u7sP////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////C7t7u7u7u7u7u7u7D/////// ////////////////8Lu7u7u7u7u7u7u7sP//////////////////9///////////////////f/// //////////////////////C7u7u7u7u7u7u7u7D///////////////////////////////9//3// ////////////////////////////C7u7u7u7u7u7u7u7D/////////////////////////////// //////////////////////////////////////////////////////////////D///////////// ///////wD/////////////////////D///////////C7u7u7u7u7u7u7u7D///////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////wu7t7u7u7u7u7u7uw////// //////////////////C7u7u7u7u7u7u7u7D///////////////////f//////////////////3// ///////////////////////wu7u7u7u7u7u7u7uw///////////////////////////////3//9/ /////////////////////////////wu7u7u7u7u7u7u7uw////////////////////////////// ///////////////////////////////////////////////////////////////w//////////// ////////8A/////////////////////w///////////wAAAAAAAAAAAAAAAA//////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////8Lu7t3u7u7u7u7u7sP//// ///////////////////wu7u7u7u7u7u7u7uw//////////////////9///////////////////9/ ////////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////9/// 9/////////////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////////// ////////////////////////////////////////////////////////////////8P////////// //////////AP////////////////////8P////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////C7u7u3u7u7u7u7u7D/// ////////////////////8Lu7u7u7u7u7u7u7sP//////////////////f/////////////////// 9/////////////////////////C7u7u7u7u7u7u7u7D///////////////////////////////f/ //f/////////////////////////////C7u7u7u7u7u7u7u7D/////////////////////////// //////////////////////////////////////////////////////////////////D///////// ///////////wD/////////////////////D///////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////wu7u7u3u7e7u7u7uw// //////////////////////C7u7u7u7u7u7u7u7D/////////////////9/////////////////// //f////////////////////////wu7u7u7u7u7u7u7uw///////////////////////////////3 ////f////////////////////////////wu7u7u7u7u7u7u7uw////////////////////////// ///////////////////////////////////////////////////////////////////w//////// ////////////8A/////////////////////w//////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////8Lu7u7u3d3e7u7u7sP ///////////////////////wu7u7u7u7u7u7u7uw//////////////////f///////////////// ///3////////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////////// f////3////////////////////////////8Lu7u7u7u7u7u7u7sP//////////////////////// ////////////////////////////////////////////////////////////////////8P////// //////////////AP////////////////////8P////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////C7u7u7u3d3e7u7u7 D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////9///////////////// ////9/////////////////////////C7u7u7u7u7u7u7u7D///////////////////////////// /3/////3////////////////////////////C7u7u7u7u7u7u7u7D/////////////////////// //////////////////////////////////////////////////////////////////////D///// ///////////////wD/////////////////////D///////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////wu7u7u7d3d3e7u7 uw////////////////////////C7u7u7u7u7u7u7u7D/////////////////f/////////////// //////f////////////////////////wu7u7u7u7u7u7u7uw//////////////////////////// //9/////9////////////////////////////wu7u7u7u7u7u7u7uw////////////////////// ///////////////////////////////////////////////////////////////////////w//// ////////////////8A/////////////////////w//////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////8Lu7u7u7d3d7u7 u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////9/////////////// ////////f///////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////// ////f/////9///////////////////////////8Lu7u7u7u7u7u7u7sP//////////////////// ////////////////////////////////////////////////////////////////////////8P// //////////////////AP////////////////////8P////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////C7u7u7u7d3e7 u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP////////////////f///////////// /////////3////////////////////////C7u7u7u7u7u7u7u7D///////////////////////// ////9///////f///////////////////////////C7u7u7u7u7u7u7u7D/////////////////// //////////////////////////////////////////////////////////////////////////D/ ///////////////////wD/////////////////////D///////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////wu7u7u7u7e3 u7u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////9///////////// //////////9////////////////////////wu7u7u7u7u7u7u7uw//////////////////////// //////f///////f//////////////////////////wu7u7u7u7u7u7u7uw////////////////// ///////////////////////////////////////////////////////////////////////////w ////////////////////8A/////////////////////w//////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////8Lu7u7u7u7 u3u7u7sP///////////////////////wu7u7u7u7u7u7u7uw////////////////f/////////// ////////////f///////////////////////8Lu7u7u7u7u7u7u7sP////////////////////// ///////3///////3//////////////////////////8Lu7u7u7u7u7u7u7sP//////////////// //////////////////////////////////////////////////////////////////////////// 8P////////////////////AP////////////////////8P////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////C7u7u7u7 u7u3u7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////////9/////////// /////////////3////////////////////////C7u7u7u7u7u7u7u7D///////////////////// ////////9////////3//////////////////////////C7u7u7u7u7u7u7u7D/////////////// //////////////////////////////////////////////////////////////////////////// //D////////////////////wD/////////////////////D///////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////wu7u7u7 u7u7u3u7uw////////////////////////C7u7u7u7u7u7u7u7D///////////////f///////// ///////////////3///////////////////////wu7u7u7u7u7u7u7uw//////////////////// /////////3////////9//////////////////////////wu7u7u7u7u7u7u7uw////////////// //////////////////////////////////////////////////////////////////////////// ///w////////////////////8A/////////////////////w//////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////8Lu7u7 u7u7u7t7u7sP///////////////////////wu7u7u7u7u7u7u7uw///////////////3//////// ////////////////9///////////////////////8Lu7u7u7u7u7u7u7sP////////////////// //////////9/////////9/////////////////////////8Lu7u7u7u7u7u7u7sP//////////// //////////////////////////////////////////////////////////////////////////// ////8P////////////////////AP////////////////////8P////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////C7u7 u7u7u7u7t7u7D///////////////////////8Lu7u7u7u7u7u7u7sP//////////////f/////// //////////////////f///////////////////////C7u7u7u7u7u7u7u7D///////////////// ////////////f/////////f/////////////////////////C7u7u7u7u7u7u7u7D/////////// //////////////////////////////////////////////////////////////////////////// //////D////////////////////wD/////////////////////D///////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////wu7 u7u7u7u7u7t7uw////////////////////////C7u7u7u7u7u7u7u7D//////////////3////// ///////////////////3///////////////////////wu7u7u7u7u7u7u7uw//////////////// /////////////3//////////f////////////////////////wu7u7u7u7u7u7u7uw////////// //////////////////////////////////////////////////////////////////////////// ///////w////////////////////8A/////////////////////w//////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////8L u7u7u7u7u7u7t7sP///////////////////////wu7u7u7u7u7u7u7uw//////////////f///// ////////////////////9///////////////////////8Lu7u7u7u7u7u7u7sP////////////// //////////////f//////////3////////////////////////8Lu7u7u7u7u7u7u7sP//////// //////////////////////////////////////////////////////////////////////////// ////////8P////////////////////AP////////////////////8P////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// C7u7u7u7u7u7u7e7D///////////////////////8Lu7u7u7u7u7u7u7sP/////////////3//// //////////////////////9///////////////////////C7u7u7u7u7u7u7u7D///////////// ///////////////3///////////3////////////////////////C7u7u7u7u7u7u7u7D/////// //////////////////////////////////////////////////////////////////////////// //////////D////////////////////wD/////////////////////D///////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /wu7u7u7u7u7u7u7ew////////////////////////C7u7u7u7u7u7u7u7D/////////////f/// ////////////////////////f//////////////////////wu7u7u7u7u7u7u7uw//////////// ////////////////9///////////9////////////////////////wu7u7u7u7u7u7u7uw////// //////////////////////////////////////////////////////////////////////////// ///////////w////////////////////8A/////////////////////w//////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //8Lu7u7u7u7u7u7u7cP///////////////////////wu7u7u7u7u7u7u7uw/////////////3// /////////////////////////3//////////////////////8Lu7u7u7u7u7u7u7sP////////// //////////////////f///////////9///////////////////////8Lu7u7u7u7u7u7u7sP//// //////////////////////////////////////////////////////////////////////////// ////////////8P////////////////////AP////////////////////8P////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////C7u7u7u7u7u7u7u7f///////////////////////8Lu7u7u7u7u7u7u7sP////////////f/ //////////////////////////9///////////////////////C7u7u7u7u7u7u7u7D///////// //////////////////9/////////////f///////////////////////C7u7u7u7u7u7u7u7D/// //////////////////////////////////////////////////////////////////////////// //////////////D////////////////////wD/////////////////////D///////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////wu7u7u7u7u7u7u7u3////////////////////////C7u7u7u7u7u7u7u7D////////////3 ////////////////////////////9//////////////////////wu7u7u7u7u7u7u7uw//////// ////////////////////f/////////////f//////////////////////wu7u7u7u7u7u7u7uw// //////////////////////////////////////////////////////////////////////////// ///////////////w////////////////////8A/////////////////////w//////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////8Lu7u7u7u7u7u7u7sH///////////////////////wu7u7u7u7u7u7u7uw//////////// f/////////////////////////////f/////////////////////8Lu7u7u7u7u7u7u7sP////// /////////////////////3/////////////3//////////////////////8Lu7u7u7u7u7u7u7sP //////////////////////////////////////////////////////////////////////////// ////////////////8P////////////////////AP////////////////////8P////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////C7u7u7u7u7u7u7u7D3//////////////////////8Lu7u7u7u7u7u7u7sP////////// /3/////////////////////////////3//////////////////////C7u7u7u7u7u7u7u7D///// //////////////////////9//////////////3//////////////////////C7u7u7u7u7u7u7u7 D/////////////////////////////////////////////////////////////////////////// //////////////////D////////////////////wD/////////////////////D///////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////wu7u7u7u7u7u7u7uw/3//////////////////////C7u7u7u7u7u7u7u7D///////// //f/////////////////////////////9//////////////////////wu7u7u7u7u7u7u7uw//// ///////////////////////3//////////////9//////////////////////wu7u7u7u7u7u7u7 uw////////////////////////////////////////////////////////////////////////// ///////////////////w////////////////////8A/////////////////////w//////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////8Lu7u7u7u7u7u7u7sP9//////////////////////wu7u7u7u7u7u7u7uw//////// ///3//////////////////////////////f/////////////////////8Lu7u7u7u7u7u7u7sP// ////////////////////////9///////////////9/////////////////////8Lu7u7u7u7u7u7 u7sP//////////////////////////////////////////////////////////////////////// ////////////////////8P////////////////////AP////////////////////8P////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////C7u7u7u7u7u7u7u7D/9/////////////////////8Lu7u7u7u7u7u7u7sP////// ////f///////////////////////////////f/////////////////////C7u7u7u7u7u7u7u7D/ //////////////////////////f///////////////f/////////////////////C7u7u7u7u7u7 u7u7D/////////////////////////////////////////////////////////////////////// //////////////////////D////////////////////wD/////////////////////D///////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////wu7u7u7u7u7u7u7uw//9/////////////////////C7u7u7u7u7u7u7u7D///// /////3///////////////////////////////3/////////////////////wu7u7u7u7u7u7u7uw ///////////////////////////3////////////////f////////////////////wu7u7u7u7u7 u7u7uw////////////////////////////////////////////////////////////////////// ///////////////////////w////////////////////8A/////////////////////w//////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////8Lu7u7u7u7u7u7u7sP//9////////////////////wu7u7u7u7u7u7u7uw//// //////f///////////////////////////////9/////////////////////8Lu7u7u7u7u7u7u7 sP//////////////////////////9////////////////3////////////////////8Lu7u7u7u7 u7u7u7sP//////////////////////////////////////////////////////////////////// ////////////////////////8P////////////////////AP////////////////////8P////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////C7u7u7u7u7u7u7u7D///9///////////////////8Lu7u7u7u7u7u7u7sP// ///////3////////////////////////////////f/////////////////////C7u7u7u7u7u7u7 u7D//////////////////////////3/////////////////3////////////////////C7u7u7u7 u7u7u7u7D/////////////////////////////////////////////////////////////////// //////////////////////////D////////////////////wD/////////8P/wAP//////D///// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////wu7u7u7u7u7u7u7uw////f///////////////////C7u7u7u7u7u7u7u7D/ ////////f////////////////////////////////3/////////////////////wu7u7u7u7u7u7 u7uw//////////////////////////9/////////////////9////////////////////wu7u7u7 u7u7u7u7uw////////////////////////////////////////////////////////////////// ///////////////////////////w////8AAA/wAP/wAP////8A//////////D/D/8P/////w//// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////8Lu7u7u7u7u7u7u7sP////f//////////////////wu7u7u7u7u7u7u7uw /////////3/////////////////////////////////3////////////////////8Lu7u7u7u7u7 u7u7sP//////////////////////////f/////////////////9///////////////////8Lu7u7 u7u7u7u7u7sP//////////////////////////////////////////////////////////////// ////////////////////////////8P////8P//D/8PD/8P////AP///////wAADw//D/////8P// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////C7u7u7u7u7u7u7u7D/////f/////////////////8Lu7u7u7u7u7u7u7 sP////////9/////////////////////////////////9/////////////////////C7u7u7u7u7 u7u7u7D//////////////////////////3//////////////////f///////////////////C7u7 u7u7u7u7u7u7D/////////////////////////////////////////////////////////////// //////////////////////////////D/////8P/w//Dw//D////wD///////8P8P8P/w////AAAA //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////wu7u7u7u7u7u7u7uw//////f/////////////////C7u7u7u7u7u7u7 u7D////////3//////////////////////////////////f////////////////////wu7u7u7u7 u7u7u7uw//////////////////////////f///////////////////f//////////////////wu7 u7u7u7u7u7u7uw////////////////////////////////////////////////////////////// /////////////////////////////wAAAP////8P8P/w8P/w////8A////////8PD/D/8P/////w //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////8Lu7u7u7u7u7u7u7sP/////3/////////////////wu7u7u7u7u7u7 u7uw////////9//////////////////////////////////3////////////////////8Lu7u7u7 u7u7u7u7sP/////////////////////////3///////////////////3//////////////////8L u7u7u7u7u7u7u7sP//////////////////////////////////////////////////////////// ////////////////////////////////8P//////8PD/8PD/8P////AP////////Dw/w//D///// 8P////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////C7u7u7u7u7u7u7u7D//////3////////////////8Lu7u7u7u7u7 u7u7sP///////3///////////////////////////////////3////////////////////C7u7u7 u7u7u7u7u7D/////////////////////////9////////////////////3////////////////// C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////////////// //////////////////////////////////D///////Dw//Dw//D////wD/////////AP8P/w//// //D///////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////wu7u7u7u7u7u7u7uw///////3////////////////C7u7u7u7u7 u7u7u7D///////9///////////////////////////////////9////////////////////wu7u7 u7u7u7u7u7uw//////////////////////////f///////////////////9///////////////// /wu7u7u7u7u7u7u7uw////////////////////////////////////////////////////////// ///////////////////////////////////w////8P/w8P/w8P/w////8A//////////D/8AD/// ///w//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////8Lu7u7u7u7u7u7u7sP///////3///////////////wu7u7u7u7 u7u7u7uw///////3////////////////////////////////////f///////////////////8Lu7 u7u7u7u7u7u7sP////////////////////////9/////////////////////9/////////////// //8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////////////////// ////////////////////////////////////8P////8AD/8AD/8AD/////AP//////////////// ////8P////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////C7u7u7u7u7u7u7u7D///////9///////////////8Lu7u7u7 u7u7u7u7sP//////9////////////////////////////////////3////////////////////C7 u7u7u7u7u7u7u7D/////////////////////////f/////////////////////f///////////// ////C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////////// //////////////////////////////////////D////////////////////wD/////////////// //////D///////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////wu7u7u7u7u7u7u7uw////////9///////////////C7u7u7 u7u7u7u7u7D//////3////////////////////////////////////9////////////////////w u7u7u7u7u7u7u7uw/////////////////////////3//////////////////////f/////////// /////wu7u7u7u7u7u7u7uw////////////////////////////////////////////////////// ///////////////////////////////////////w////////////////////8A////////////// ///////w//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////8Lu7u7u7u7u7u7u7sP////////9//////////////wu7u7 u7u7u7u7u7uw//////9/////////////////////////////////////9/////////////////// 8Lu7u7u7u7u7u7u7sP////////////////////////9//////////////////////3////////// //////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////////////// ////////////////////////////////////////8P////////////////////AP//////////// ////////8P////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////C7u7u7u7u7u7u7u7D/////////9/////////////8Lu7 u7u7u7u7u7u7sP/////3//////////////////////////////////////f///////////////// //C7u7u7u7u7u7u7u7D////////////////////////3///////////////////////3//////// ////////C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////// //////////////////////////////////////////D////////////////////wD/////////// //////////D///////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////wu7u7u7u7u7u7u7uw//////////f/////////////C7 u7u7u7u7u7u7u7D/////9//////////////////////////////////////3//////////////// ///wu7u7u7u7u7u7u7uw////////////////////////9///////////////////////9/////// /////////wu7u7u7u7u7u7u7uw////////////////////////////////////////////////// ///////////////////////////////////////////w////////////////////8A////////// ///////////w//////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////8Lu7u7u7u7u7u7u7sP//////////f////////////w u7u7u7u7u7u7u7uw/////3//////////////////////////////////////9/////////////// ////8Lu7u7u7u7u7u7u7sP////////////////////////f///////////////////////9///// //////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////////// ////////////////////////////////////////////8P////////////////////AP//////// ////////////8P////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////C7u7u7u7u7u7u7u7D///////////f/////////// 8Lu7u7u7u7u7u7u7sP////9///////////////////////////////////////f///////////// //////C7u7u7u7u7u7u7u7D////////////////////////3////////////////////////f/// ////////////C7u7u7u7u7u7u7u7D/////////////////////////////////////////////// //////////////////////////////////////////////D////////////////////wD/////// //////////////D///////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////wu7u7u7u7u7u7u7uw////////////f///////// //C7u7u7u7u7u7u7u7D////3////////////////////////////////////////f/////////// ///////wu7u7u7u7u7u7u7uw////////////////////////f/////////////////////////f/ /////////////wu7u7u7u7u7u7u7uw////////////////////////////////////////////// ///////////////////////////////////////////////w////////////////////8A////// ///////////////w//////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////8Lu7u7u7u7u7u7u7sP////////////f/////// ///wu7u7u7u7u7u7u7uw////9////////////////////////////////////////3////////// ////////8Lu7u7u7u7u7u7u7sP///////////////////////3/////////////////////////3 //////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////////// ////////////////////////////////////////////////8P////////////////////AP//// ////////////////8P////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////C7u7u7u7u7u7u7u7D////////////3////// ////8Lu7u7u7u7u7u7u7sP///3////////////////////////////////////////9///////// //////////C7u7u7u7u7u7u7u7D///////////////////////9///////////////////////// /3//////////////C7u7u7u7u7u7u7u7D/////////////////////////////////////////// //////////////////////////////////////////////////D////////////////////wD/// //////////////////D///////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////wu7u7u7u7u7u7u7uw/////////////3//// //////C7u7u7u7u7u7u7u7D///9/////////////////////////////////////////f/////// ///////////wu7u7u7u7u7u7u7uw////////////////////////f/////////////////////// //9//////////////wu7u7u7u7u7u7u7uw////////////////////////////////////////// ///////////////////////////////////////////////////w////////////////////8A// ///////////////////w//////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////8Lu7u7u7u7u7u7u7sP/////////////3// ///////wu7u7u7u7u7u7u7uw///3/////////////////////////////////////////3////// ////////////8Lu7u7u7u7u7u7u7sP//////////////////////9/////////////////////// ////9/////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////////// ////////////////////////////////////////////////////8P////////////////////AP ////////////////////8P////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////C7u7u7u7u7u7u7u7D//////////////3 ////////8Lu7u7u7u7u7u7u7sP//9//////////////////////////////////////////3//// //////////////C7u7u7u7u7u7u7u7D///////////////////////f///////////////////// //////f/////////////C7u7u7u7u7u7u7u7D/////////////////////////////////////// //////////////////////////////////////////////////////D////////////////////w D/////////////////////D///////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////wu7u7u7u7u7u7u7uw////////////// 9/////////C7u7u7u7u7u7u7u7D///f/////////////////////////////////////////9/// ///////////////wu7u7u7u7u7u7u7uw///////////////////////3//////////////////// ////////f////////////wu7u7u7u7u7u7u7uw////////////////////////////////////// ///////////////////////////////////////////////////////w//////////////////// 8A/////////////////////w//////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP//////////// //9////////wu7u7u7u7u7u7u7uw//9///////////////////////////////////////////f/ ////////////////8Lu7u7u7u7u7u7u7sP//////////////////////9/////////////////// /////////3////////////8Lu7u7u7u7u7u7u7sP//////////////////////////////////// ////////////////////////////////////////////////////////8P////////////////// //AP////////////////////8P////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////C7u7u7u7u7u7u7u7D/////////// ////9///////8Lu7u7u7u7u7u7u7sP//f//////////////////////////////////////////3 //////////////////C7u7u7u7u7u7u7u7D//////////////////////3////////////////// ///////////3////////////C7u7u7u7u7u7u7u7D/////////////////////////////////// //////////////////////////////////////////////////////////D///////////////// ///wD/////////////////////D///////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////wu7u7u7u7u7u7u7uw////////// //////9///////C7u7u7u7u7u7u7u7D/9/////////////////////////////////////////// /3/////////////////wu7u7u7u7u7u7u7uw//////////////////////9///////////////// ////////////9////////////wu7u7u7u7u7u7u7uw////////////////////////////////// ///////////////////////////////////////////////////////////w//////////////// ////8A/////////////////////w//////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP//////// ////////f//////wu7u7u7u7u7u7u7uw//f///////////////////////////////////////// //9/////////////////8Lu7u7u7u7u7u7u7sP//////////////////////f/////////////// //////////////9///////////8Lu7u7u7u7u7u7u7sP//////////////////////////////// ////////////////////////////////////////////////////////////8P////////////// //////AP////////////////////8P////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////C7u7u7u7u7u7u7u7D/////// //////////f/////8Lu7u7u7u7u7u7u7sP9///////////////////////////////////////// ////f/////////////////C7u7u7u7u7u7u7u7D//////////////////////3////////////// ////////////////f///////////C7u7u7u7u7u7u7u7D/////////////////////////////// //////////////////////////////////////////////////////////////D///////////// ///////wD/////////////////////D///////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////wu7u7u7u7u7u7u7uw////// ////////////f/////C7u7u7u7u7u7u7u7D/f/////////////////////////////////////// /////3/////////////////wu7u7u7u7u7u7u7uw//////////////////////9///////////// //////////////////f//////////wu7u7u7u7u7u7u7uw////////////////////////////// ///////////////////////////////////////////////////////////////w//////////// ////////8A/////////////////////w//////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP//// //////////////f////wu7u7u7u7u7u7u7uw9/////////////////////////////////////// //////9/////////////////8Lu7u7u7u7u7u7u7sP/////////////////////3//////////// ///////////////////3//////////8Lu7u7u7u7u7u7u7sP//////////////////////////// ////////////////////////////////////////////////////////////////8P////////// //////////AP////////////////////8P////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////C7u7u7u7u7u7u7u7D/// ///////////////3////8Lu7u7u7u7u7u7u7sPf///////////////////////////////////// ////////9/////////////////C7u7u7u7u7u7u7u7D/////////////////////9/////////// /////////////////////3//////////C7u7u7u7u7u7u7u7D/////////////////////////// //////////////////////////////////////////////////////////////////D///////// ///////////wD/////////////////////D///////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////wu7u7u7u7u7u7u7uw// /////////////////3////C7u7u7u7u7u7u7u7B///////////////////////////////////// //////////f////////////////wu7u7u7u7u7u7u7uw//////////////////////f///////// //////////////////////9//////////wu7u7u7u7u7u7u7uw////////////////////////// ///////////////////////////////////////////////////////////////////w//////// ////////////8A/////////////////////w//////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP ///////////////////3///wu7u7u7u7u7u7u7uwf/////////////////////////////////// ///////////3////////////////8Lu7u7u7u7u7u7u7sP/////////////////////3//////// ////////////////////////9/////////8Lu7u7u7u7u7u7u7sP//////////////////////// ////////////////////////////////////////////////////////////////////8P////// //////////////AP////////////////////8P////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////C7u7u7u7u7u7u7u7 D////////////////////3//8Lu7u7u7u7u7u7u7t/////////////////////////////////// ////////////9/////////////////C7u7u7u7u7u7u7u7D/////////////////////f/////// //////////////////////////f/////////C7u7u7u7u7u7u7u7D/////////////////////// //////////////////////////////////////////////////////////////////////D///// ///////////////wD/////////////////////D///////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////wu7u7u7u7u7u7u7 uw////////////////////9///C7u7u7u7u7u7u7u7f///////////////////////////////// //////////////f////////////////wu7u7u7u7u7u7u7uw/////////////////////3////// ////////////////////////////f////////wu7u7u7u7u7u7u7uw////////////////////// ///////////////////////////////////////////////////////////////////////w//// ////////////////8A/////////////////////w//////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////8Lu7u7u7u7u7u7 u7sP////////////////////9//wu7u7u7u7u7u7u7tw//////////////////////////////// ////////////////f///////////////8Lu7u7u7u7u7u7u7sP////////////////////9///// /////////////////////////////3////////8Lu7u7u7u7u7u7u7sP//////////////////// ////////////////////////////////////////////////////////////////////////8P// //////////////////AP////////////////////8P////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////C7u7u7u7u7u7 u7u7D/////////////////////9/8Lu7u7u7u7u7u7u7cP////////////////////////////// /////////////////3////////////////C7u7u7u7u7u7u7u7D/////////////////////f/// ///////////////////////////////3////////C7u7u7u7u7u7u7u7D/////////////////// //////////////////////////////////////////////////////////////////////////D/ ///////////////////wD/////////////////////D///////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////wu7u7u7u7u7 u7u7uw//////////////////////9/C7u7u7u7u7u7u7t7D///////////////////////////// //////////////////9////////////////wu7u7u7u7u7u7u7uw////////////////////9/// ////////////////////////////////9////////wu7u7u7u7u7u7u7uw////////////////// ///////////////////////////////////////////////////////////////////////////w ////////////////////8A/////////////////////w//////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////8Lu7u7u7u7 u7u7u7sP//////////////////////9wu7u7u7u7u7u7u7ew//////////////////////////// ////////////////////f///////////////8Lu7u7u7u7u7u7u7sP////////////////////f/ //////////////////////////////////9///////8Lu7u7u7u7u7u7u7sP//////////////// //////////////////////////////////////////////////////////////////////////// 8P////////////////////AP////////////////////8P////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////C7u7u7u7 u7u7u7u7D///////////////////////cLu7u7u7u7u7u7u3sP////////////////////////// //////////////////////f///////////////C7u7u7u7u7u7u7u7D////////////////////3 ////////////////////////////////////f///////C7u7u7u7u7u7u7u7D/////////////// //////////////////////////////////////////////////////////////////////////// //D////////////////////wD/////////////////////D///////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////wu7u7u7 u7u7u7u7uw////////////////////////e7u7u7u7u7u7u7e7D///////////////////////// ///////////////////////3///////////////wu7u7u7u7u7u7u7uw//////////////////// 9/////////////////////////////////////f//////wu7u7u7u7u7u7u7uw////////////// //////////////////////////////////////////////////////////////////////////// ///w////////////////////8A/////////////////////w//////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////8Lu7u7 u7u7u7u7u7sP///////////////////////we7u7u7u7u7u7u3uw//////////////////////// ////////////////////////9///////////////8Lu7u7u7u7u7u7u7sP////////////////// /3/////////////////////////////////////3//////8Lu7u7u7u7u7u7u7sP//////////// //////////////////////////////////////////////////////////////////////////// ////8P////////////////////AP////////////////////8P////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////C7u7 u7u7u7u7u7u7D///////////////////////8Le7u7u7u7u7u7e7sP////////////////////// //////////////////////////f///////////////C7u7u7u7u7u7u7u7D///////////////// //9//////////////////////////////////////3//////C7u7u7u7u7u7u7u7D/////////// //////////////////////////////////////////////////////////////////////////// //////D////////////////////wD/////////////////////D///////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////wAA AAAAAAAAAAAAAA////////////////////////C3u7u7u7u7u7u3u7D///////////////////// ///////////////////////////3///////////////wu7u7u7u7u7u7u7uw//////////////// ////f/////////////////////////////////////9//////wu7u7u7u7u7u7u7uw////////// //////////////////////////////////////////////////////////////////////////// ///////w////////////////////8A/////////////////////w//////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////wu3u7u7u7u7u7e7uw//////////////////// /////////////////////////////3//////////////8Lu7u7u7u7u7u7u7sP////////////// /////3//////////////////////////////////////9/////8Lu7u7u7u7u7u7u7sP//////// //////////////////////////////////////////////////////////////////////////// ////////8P////////////////////AP////////////////////8P////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////8Lu3u7u7u7u7u3u7sP////////////////// //////////////////////////////9///////////////C7u7u7u7u7u7u7u7D///////////// //////f///////////////////////////////////////f/////C7u7u7u7u7u7u7u7D/////// //////////////////////////////////////////////////////////////////////////// //////////D////////////////////wD/////////////////////D///////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////C7u3u7u7u7u7e7u7D///////////////// ////////////////////////////////f//////////////wAAAAAAAAAAAAAAAA//////////// ///////3////////////////////////////////////////f////wu7u7u7u7u7u7u7uw////// //////////////////////////////////////////////////////////////////////////// ///////////w////////////////////8A/////////////////////w//////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////wu7t7u7u7u7u3u7uw//////////////// /////////////////////////////////3////////////////////////////////////////// ////////9////////////////////////////////////////3////8Lu7u7u7u7u7u7u7sP//// //////////////////////////////////////////////////////////////////////////// ////////////8P////////////////////AP////////////////////8P////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////8Lu7t7u7u7u7e7u7sP////////////// //////////////////////////////////9///////////////////////////////////////// //////////f////////////////////////////////////////3////C7u7u7u7u7u7u7u7D/// //////////////////////////////////////////////////////////////////////////// //////////////D////////////////////wD/////////////////////D///////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////C7u7t7u7u7u3u7u7D///////////// ////////////////////////////////////9/////////////////////////////////////// //////////9/////////////////////////////////////////9////wu7u7u7u7u7u7u7uw// //////////////////////////////////////////////////////////////////////////// ///////////////w////////////////////8A/////////////////////w//////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////wu7u7t7u7u7e7u7uw//////////// //////////////////////////////////////f///////////////////////////////////// ////////////f/////////////////////////////////////////9///8Lu7u7u7u7u7u7u7sP //////////////////////////////////////////////////////////////////////////// ////////////////8P////////////////////AP////////////////////8P////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////8Lu7u7e7u7u3u7u7sP////////// ///////////////////////////////////////3//////////////////////////////////// /////////////3//////////////////////////////////////////f///C7u7u7u7u7u7u7u7 D/////////////////////////////////////////////////////////////////////////// //////////////////D////////////////////wD/////////////////////D///////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////C7u7u7e7u7e7u7u7D///////// ////////////////////////////////////////9/////////////////////////////////// //////////////9///////////////////////////////////////////f//wu7u7u7u7u7u7u7 uw////////////////////////////////////////////////////////////////////////// ///////////////////w////////////////////8A/////////////////////w//////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////wu7u7u7e7u3u7u7uw//////// //////////////////////////////////////////f///////////////////////////////// ///////////////3///////////////////////////////////////////3//8Lu7u7u7u7u7u7 u7sP//////////////////////////////////////////////////////////////////////// ////////////////////8P////////////////////AP////////////////////8P////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////8Lu7u7u7e3e7u7u7sP////// ////////////////////////////////////////////f/////////////////////////////// ////////////////9////////////////////////////////////////////3//C7u7u7u7u7u7 u7u7D/////////////////////////////////////////////////////////////////////// //////////////////////D////////////////////wD/////////////////////D///////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////C7u7u7u3d3u7u7u7D///// /////////////////////////////////////////////3////////////////////////////// //////////////////f///////////////////////////////////////////9//wu7u7u7u7u7 u7u7uw////////////////////////////////////////////////////////////////////// ///////////////////////w////////////////////8A/////////////////////w//////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////wu7u7u7t3d3u7u7uw//// //////////////////////////////////////////////9///////////////////////////// ///////////////////3////////////////////////////////////////////9/8Lu7u7u7u7 u7u7u7sP//////////////////////////////////////////////////////////////////// ////////////////////////8P////////////////////AP////////////////////8P////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////8Lu7u7u3d3d3u7u7sP// ////////////////////////////////////////////////f/////////////////////////// ////////////////////f/////////////////////////////////////////////f/C7u7u7u7 u7u7u7u7D/////////////////////////////////////////////////////////////////// //////////////////////////D////////////////////wD/////////////////////D///// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////C7u7u7u3d3e7u7u7D/ //////////////////////////////////////////////////f///////////////////////// /////////////////////3//////////////////////////////////////////////fwu7u7u7 u7u7u7u7uw////////////////////////////////////////////////////////////////// ///////////////////////////w////////////////////8A/////////////////////w//// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////wu7u7u7u3d7u7u7uw ///////////////////////////////////////////////////3//////////////////////// //////////////////////9//////////////////////////////////////////////38Lu7u7 u7u7u7u7u7sP//////////////////////////////////////////////////////////////// ////////////////////////////8P////////////////////AP////////AA//AA//////8P// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////8Lu7u7u7u3u7u7u7 sP//////////////////////////////////////////////////9/////////////////////// ////////////////////////f//////////////////////////////////////////////3C7u7 u7u7u7u7u7u7D/////////////////////////////////////////////////////////////// //////////////////////////////D/////AA//AA//AA/////wD///////8P/w8P/w//////D/ //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////C7u7u7u7u7u7u7 u7D///////////////////////////////////////////////////f///////////////////// /////////////////////////3//////////////////////////////////////////////9wu7 u7u7u7u7u7u7uw////////////////////////////////////////////////////////////// ///////////////////////////////w////8P/w8P/w8P/w////8A////////D/8PD/8P/////w //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////wu7u7u7u7u7u7 u7uw///////////////////////////////////////////////////3//////////////////// //////////////////////////f///////////////////////////////////////////////97 u7u7u7u7u7u7u7sP//////////////////////////////////////////////////////////// ////////////////////////////////8P//////8PD/8PD/8P////AP///////w//Dw//D///8A AAD///////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////8Lu7u7u7u7u7 u7u7sP///////////////////////////////////////////////////3////////////////// ///////////////////////////3//////////////////////////////////////////////// e7u7u7u7u7u7u7u7D/////////////////////////////////////////////////////////// ////////////////////////////////AAAA//////Dw//Dw//D////wD///////8AAP8P/w//// //D///////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////C7u7u7u7u7 u7u7u7D///////////////////////////////////////////////////9///////////////// ////////////////////////////9/////////////////////////////////////////////// /we7u7u7u7u7u7u7uw////////////////////////////////////////////////////////// ///////////////////////////////////w//////AP8P/w8P/w////8A////////D///D/8P// ///w//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////wu7u7u7u7 u7u7u7uw////////////////////////////////////////////////////f/////////////// //////////////////////////////f///////////////////////////////////////////// //8Hu7u7u7u7u7u7u7sP//////////////////////////////////////////////////////// ////////////////////////////////////8P//////8PD/8PD/8P////AP///////w//Dw//D/ ////8P////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////8Lu7u7u7 u7u7u7u7sP///////////////////////////////////////////////////3////////////// //////////////////////////////9///////////////////////////////////////////// ////C3u7u7u7u7u7u7u7D/////////////////////////////////////////////////////// //////////////////////////////////////D////w//Dw//Dw//D////wD////////wAP/wAP //////D///////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////C7u7u7 u7u7u7u7u7D///////////////////////////////////////////////////9///////////// ////////////////////////////////f/////////////////////////////////////////// /////wt7u7u7u7u7u7u7uw////////////////////////////////////////////////////// ///////////////////////////////////////w/////wAP/wAP/wAP////8A////////////// ///////w//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////wu7u7 u7u7u7u7u7uw////////////////////////////////////////////////////9/////////// /////////////////////////////////3////////////////////////////////////////// //////8Lt7u7u7u7u7u7u7sP//////////////////////////////////////////////////// ////////////////////////////////////////8P////////////////////AP//////////// ////////8P////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////8Lu7 u7u7u7u7u7u7sP////////////////////////////////////////////////////f///////// //////////////////////////////////9///////////////////////////////////////// ////////C7e7u7u7u7u7u7u7D/////////////////////////////////////////////////// //////////////////////////////////////////D////////////////////wD/////////// //////////D///////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////C7 u7u7u7u7u7u7u7D////////////////////////////////////////////////////3//////// ///////////////////////////////////3//////////////////////////////////////// /////////wu7e7u7u7u7u7u7uw////////////////////////////////////////////////// ///////////////////////////////////////////w////////////////////8A////////// ///////////w//////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////w u7u7u7u7u7u7u7uw////////////////////////////////////////////////////9/////// ////////////////////////////////////9/////////////////////////////////////// //////////8Lu3u7u7u7u7u7u7sP//////////////////////////////////////////////// ////////////////////////////////////////////8P////////////////////AP//////// ////////////8P////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// 8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////////////9///// //////////////////////////////////////f///////////////////////////////////// ////////////C7u3u7u7u7u7u7u7D/////////////////////////////////////////////// //////////////////////////////////////////////D////////////////////wD/////// //////////////D///////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //C7u7u7u7u7u7u7u7D/////////////////////////////////////////////////////f/// ///////////////////////////////////////3//////////////////////////////////// /////////////wu7t7u7u7u7u7u7uw////////////////////////////////////////////// ///////////////////////////////////////////////w////////////////////8A////// ///////////////w//////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///wu7u7u7u7u7u7u7uw/////////////////////////////////////////////////////3// ////////////////////////////////////////f/////////////////////////////////// //////////////8Lu7t7u7u7u7u7u7sP//////////////////////////////////////////// ////////////////////////////////////////////////8P////////////////////AP//// ////////////////8P////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////////////9/ /////////////////////////////////////////3////////////////////////////////// ////////////////C7u7e7u7u7u7u7u7D/////////////////////////////////////////// //////////////////////////////////////////////////D////////////////////wD/// //////////////////D///////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////C7u7u7u7u7u7u7u7D///////////////////////////////////////////////////// f/////////////////////////////////////////9///////////////////////////////// /////////////////wu7u7e7u7u7u7u7uw////////////////////////////////////////// ///////////////////////////////////////////////////w////////////////////8A// ///////////////////w//////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////wu7u7u7u7u7u7u7uw//////////////////////////////////////////////////// //f/////////////////////////////////////////f/////////////////////////////// //////////////////8Lu7u3u7u7u7u7u7sP//////////////////////////////////////// ////////////////////////////////////////////////////8P////////////////////AP ////////////////////8P////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////////// ///3////////////////////////////////////////9/////////////////////////////// ////////////////////C7u7u3u7u7u7u7u7D/////////////////////////////////////// //////////////////////////////////////////////////////D////////////////////w D/////////////////////D///////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////C7u7u7u7u7u7u7u7D///////////////////////////////////////////////// ////9/////////////////////////////////////////f///////////////////////////// /////////////////////wu7u7t7u7u7u7u7uw////////////////////////////////////// ///////////////////////////////////////////////////////w//////////////////// 8A//////AAAAAP/////////w//////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////wu7u7u7u7u7u7u7uw//////////////////////////////////////////////// //////f////////////////////////////////////////3//////////////////////////// //////////////////////8Lu7u7t7u7u7u7u7sP//////////////////////////////////// ////////////////////////////////////////////////////////8P////////////////// //AP/////wAAAAD/////////8P////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////////// ///////3////////////////////////////////////////9/////////////////////////// ////////////////////////C7u7u7e7u7u7u7u7D/////////////////////////////////// //////////////////////////////////////////////////////////D///////////////// ///wD///////D/////////////D///////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////C7u7u7u7u7u7u7u7D///////////////////////////////////////////// /////////3///////////////////////////////////////3////////////////////////// /////////////////////////wu7u7u7e7u7u7u7uw////////////////////////////////// ///////////////////////////////////////////////////////////w//////////////// ////8A//////8AAAD//////////w//////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////wu7u7u7u7u7u7u7uw//////////////////////////////////////////// //////////9///////////////////////////////////////9///////////////////////// //////////////////////////8Lu7u7u3u7u7u7u7sP//////////////////////////////// ////////////////////////////////////////////////////////////8P////////////// //////AP/////wAAAAD/////////8P////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////8Lu7u7u7u7u7u7u7sP////////////////////////////////////////// ////////////f///////////////////////////////////////f/////////////////////// ////////////////////////////C7u7u7u3u7u7u7u7D/////////////////////////////// //////////////////////////////////////////////////////////////D///////AAAAAP ///////wD///////D//w//////////D///////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////C7u7u7u7u7u7u7u7D///////////////////////////////////////// /////////////3///////////////////////////////////////3////////////////////// /////////////////////////////wu7u7u7t7u7u7u7uw////////////////////////////// ///////////////////////////////////////////////////////////////w///////wAAAA D///////8A/////////////////////w//////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////wu7u7u7u7u7u7u7uw//////////////////////////////////////// //////////////9///////////////////////////////////////f///////////////////// //////////////////////////////8Lu7u7u7t3u7u7u7sP//////////////////////////// ////////////////////////////////////////////////////////////////8P////////8P //////////AP///////wAA//////////8P////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////////////////// ////////////////9//////////////////////////////////////3//////////////////// ////////////////////////////////C7u7u7u7d3u7u7u7D/////////////////////////// //////////////////////////////////////////////////////////////////D///////// D//////////wD///////AAAA//////////D///////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////C7u7u7u7u7u7u7u7D///////////////////////////////////// //////////////////f/////////////////////////////////////9/////////////////// /////////////////////////////////wu7u7u7t3d3u7u7uw////////////////////////// ///////////////////////////////////////////////////////////////////w///////w AAAAD///////8A///////w8P8P/////////w//////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////wu7u7u7u7u7u7u7uw//////////////////////////////////// ///////////////////3//////////////////////////////////////f///////////////// //////////////////////////////////8Lu7u7u3d3d3u7u7sP//////////////////////// ////////////////////////////////////////////////////////////////////8P////// 8AAAAA////////AP//////8PD/D/////////8P////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////////////// ////////////////////9/////////////////////////////////////9///////////////// ////////////////////////////////////C7u7u7u3d3e7u7u7D/////////////////////// //////////////////////////////////////////////////////////////////////D///// ///////////////wD///////AA8A//////////D///////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////C7u7u7u7u7u7u7u7D///////////////////////////////// //////////////////////9/////////////////////////////////////f/////////////// /////////////////////////////////////wu7u7u7u3d7u7u7uw////////////////////// ///////////////////////////////////////////////////////////////////////w//// ////8A/wD///////8A////////APD//////////w//////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////wu7u7u7u7u7u7u7uw//////////////////////////////// ////////////////////////f////////////////////////////////////3////////////// //////////////////////////////////////8Lu7u7u7u3u7u7u7sP//////////////////// ////////////////////////////////////////////////////////////////////////8P// //////AAAA////////AP////////////////////8P////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////////// /////////////////////////3////////////////////////////////////9///////////// ////////////////////////////////////////C7u7u7u7u7u7u7u7D/////////////////// //////////////////////////////////////////////////////////////////////////D/ ////////8A/////////wD///////AAAA//////////D///////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////C7u7u7u7u7u7u7u7D///////////////////////////// //////////////////////////9/////////////////////////////////////f/////////// /////////////////////////////////////////wu7u7u7u7u7u7u7uw////////////////// ///////////////////////////////////////////////////////////////////////////w ////////8AAAD///////8A///////wAAAP/////////w//////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////wu7u7u7u7u7u7u7uw//////////////////////////// ////////////////////////////f///////////////////////////////////9/////////// //////////////////////////////////////////8Lu7u7u7u7u7u7u7sP//////////////// //////////////////////////////////////////////////////////////////////////// 8P////////AP8A////////AP//////8P////////////8P////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////8Lu7u7u7u7u7u7u7sP////////////////////////// //////////////////////////////f///////////////////////////////////f///////// ////////////////////////////////////////////C7u7u7u7u7u7u7u7D/////////////// //////////////////////////////////////////////////////////////////////////// //D////////////////////wD///////D/////////////D///////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////C7u7u7u7u7u7u7u7D///////////////////////// ///////////////////////////////3///////////////////////////////////3//////// /////////////////////////////////////////////wu7u7u7u7u7u7u7uw////////////// //////////////////////////////////////////////////////////////////////////// ///w///////wAAAAD///////8A///////wAAAP/////////w//////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////wu7u7u7u7u7u7u7uw//////////////////////// ////////////////////////////////9///////////////////////////////////9/////// //////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP//////////// //////////////////////////////////////////////////////////////////////////// ////8P//////8AAAAA////////AP///////wAAD/////////8P////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////8Lu7u7u7u7u7u7u7sP////////////////////// //////////////////////////////////f//////////////////////////////////3////// ////////////////////////////////////////////////C7u7u7u7u7u7u7u7D/////////// //////////////////////////////////////////////////////////////////////////// //////D////////w///////////wD/////////////////////D///////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////C7u7u7u7u7u7u7u7D///////////////////// ///////////////////////////////////3//////////////////////////////////9///// /////////////////////////////////////////////////wu7u7u7u7u7u7u7uw////////// //////////////////////////////////////////////////////////////////////////// ///////w////////8P//////////8A////////APD//////////w//////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////wu7u7u7u7u7u7u7uw//////////////////// /////////////////////////////////////3//////////////////////////////////f/// //////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP//////// //////////////////////////////////////////////////////////////////////////// ////////8P////////AAAA////////AP//////8ADwD/////////8P////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////8Lu7u7u7u7u7u7u7sP////////////////// //////////////////////////////////////9//////////////////////////////////3// ////////////////////////////////////////////////////C7u7u7u7u7u7u7u7D/////// //////////////////////////////////////////////////////////////////////////// //////////D/////////AAAP///////wD///////DwDw//////////D///////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////C7u7u7u7u7u7u7u7D///////////////// ////////////////////////////////////////f/////////////////////////////////f/ /////////////////////////////////////////////////////wu7u7u7u7u7u7u7uw////// //////////////////////////////////////////////////////////////////////////// ///////////w////////////////////8A///////w8A8P/////////w//////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////wu7u7u7u7u7u7u7uw//////////////// /////////////////////////////////////////3/////////////////////////////////3 //////////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP//// //////////////////////////////////////////////////////////////////////////// ////////////8P////////////////////AP//////8A8AD/////////8P////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP////////////// //////////////////////////////////////////9///////////////////////////////// 9///////////////////////////////////////////////////////C7u7u7u7u7u7u7u7D/// //////////////////////////////////////////////////////////////////////////// //////////////D////////////////////wD///////8PAP//////////D///////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////C7u7u7u7u7u7u7u7D///////////// ////////////////////////////////////////////9/////////////////////////////// //f//////////////////////////////////////////////////////wu7u7u7u7u7u7u7uw// //////////////////////////////////////////////////////////////////////////// ///////////////w////////////////////8A/////////////////////w//////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////wu7u7u7u7u7u7u7uw//////////// //////////////////////////////////////////////f///////////////////////////// //9///////////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP //////////////////////////////////////////////////////////////////////////// ////////////////8P////////////////////AP////////////////////8P////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP////////// ///////////////////////////////////////////////3//////////////////////////// ////f///////////////////////////////////////////////////////C7u7u7u7u7u7u7u7 D/////////////////////////////////////////////////////////////////////////// //////////////////D////////////////////wD/////////////////////D///////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////C7u7u7u7u7u7u7u7D///////// ////////////////////////////////////////////////9/////////////////////////// /////3///////////////////////////////////////////////////////wu7u7u7u7u7u7u7 uw////////////////////////////////////////////////////////////////////////// ///////////////////w////////////////////8A/////////////////////w//////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////wu7u7u7u7u7u7u7uw//////// //////////////////////////////////////////////////9///////////////////////// //////9///////////////////////////////////////////////////////8Lu7u7u7u7u7u7 u7sP//////////////////////////////////////////////////////////////////////// ////////////////////8P////////////////////AP////////////////////8P////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP////// ////////////////////////////////////////////////////f/////////////////////// ///////3////////////////////////////////////////////////////////C7u7u7u7u7u7 u7u7D/////////////////////////////////////////////////////////////////////// //////////////////////D////////////////////wD/////////////////////D///////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////C7u7u7u7u7u7u7u7D///// /////////////////////////////////////////////////////3////////////////////// ////////9////////////////////////////////////////////////////////wu7u7u7u7u7 u7u7uw////////////////////////////////////////////////////////////////////// ///////////////////////w////////////////////8A/////////////////////w//////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////wu7u7u7u7u7u7u7uw//// //////////////////////////////////////////////////////9///////////////////// //////////f///////////////////////////////////////////////////////8Lu7u7u7u7 u7u7u7sP//////////////////////////////////////////////////////////////////// ////////////////////////8P////////////////////AP////////////////////8P////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////8Lu7u7u7u7u7u7u7sP// ////////////////////////////////////////////////////////f/////////////////// ///////////3////////////////////////////////////////////////////////C7u7u7u7 u7u7u7u7D/////////////////////////////////////////////////////////////////// //////////////////////////D////////////////////wD/////////////////////D///// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////C7u7u7u7u7u7u7u7D/ //////////////////////////////////////////////////////////f///////////////// ////////////f////////////////////////////////////////////////////////wu7u7u7 u7u7u7u7uw////////////////////////////////////////////////////////////////// ///////////////////////////w////////////////////8A/////////////////////w//// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////wu7u7u7u7u7u7u7uw ///////////////////////////////////////////////////////////3//////////////// /////////////3////////////////////////////////////////////////////////8Lu7u7 u7u7u7u7u7sP//////////////////////////////////////////////////////////////// ////////////////////////////8P////////////////////AP////////////////////8P// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////8Lu7u7u7u7u7u7u7 sP//////////////////////////////////////////////////////////9////////////