Monday, December 01, 2008LawsonGuru Letter * 2008 * January 2008
Site Map
HomeLawsonGuruLawsonGuru.comLawsonGuru BlogLawsonGuru Letter2002September 2002October 2002November 2002December 20022003January 2003February 2003March 2003April 2003May 2003June 2003July 2003August 2003September 2003October 2003November 2003December 20032004January 2004February 2004March 2004April 2004May 2004June 2004July 2004August 2004September 2004October 2004November 2004December 20042005January 2005February 2005March 2005April 2005May 2005June 2005July 2005August 2005September 2005October 2005November 2005December 20052006January 2006February 2006March 2006April 2006May 2006June 2006July 2006August 2006September 2006October 2006November 2006December 20062007January 2007February 2007March 2007April 2007May 2007June 2007July 2007August 2007September 2007October 2007November 2007December 20072008January 2008February 2008March 2008April 2008May 2008June 2008July 2008August 2008September 2008October 2008November 2008December 2008ServicesProductsClientsAbout UsContact UsSearch ResultsAdminSite SettingsTabsSecurity RolesUser AccountsVendorsSite LogBulk EmailFile ManagerRecycle BinLog ViewerSkinsLanguagesSite WizardAuthenticationSolutionsPageBlasterWhat's New

In this issue:
Tip 1: Using Dynamic (Database-driven) Parameters in LBI
Tip 2: Java error when opening up ProcessFlow utilities
Tip 3: Re-submitting bad Compiles
...and Worthwhile Reading
The LawsonGuru Letter, brought to you by Decision Analytics

As we kick off a new year, enjoy these Tips & Tricks. You can view more on the Tips & Tricks page on LawsonGuru.com

 And, remember to share your tips. Send them to .

I'll be back next month with a great new issue! 

The LawsonGuru Letter is a free periodic newsletter providing provocative commentary on issues important to the Lawson Software community.  The LawsonGuru Letter is published by—and is solely the opinion of—John Henley of Decision Analytics.

Visit Decision Analytics at http://www.danalytics.com. For subscription information, see the bottom of this message. 

Lawson® is a registered trademark of Lawson Software, Inc.  The LawsonGuru Letter is neither affiliated with nor sponsored by Lawson Software, Inc.  Lawson Software, Inc. is not responsible for the content of this information.

Tip 1: Using Dynamic (Database-driven) Parameters in LBI

You want to use dynamic parameters--fed from a database--with your Crystal Report, which is published in LBI.  However, when the report is viewed, the LBI parameter page just uses static text boxes:

You can remove the LBI-generated parameter page so that you can use the Crystal parameter pages, which lets you use dynamic and/or cascading parameters.  In Report Administration, Click on the ‘Customize Report Parameters’ for your report:

Select on the parameter(s) defined on your report, and click the ‘Delete’ button:

Now when you view the report, you are utilizing the Crystal parameter page, which can include dynamic and/or cascading parameters:

Tip 2: Java error when opening up ProcessFlow utilities

I get an error ("Windows cannot find "\bin\javaw") when opening up ProcessFlow Administrator, Scheduler, etc. on the Windows machine.

If you get this error when opening up ProcessFlow Administrator, Scheduler, etc. on the Windows machine:

 

Make sure you have system variables, LAW_JAVA_HOME & LAW81_JAVA_HOME, pointing to the JDK installed on your Windows machine:

 

Also, use DOS 8.3 Naming Convention, not Windows Long File Names.

Tip 3: Re-submitting Bad Compiles
Often when you do a full Lawson recompile (i.e. via cobcmp), there are some programs which don't compile due to contention within GEN, compiler issues, etc. All it usually takes to fix them is to simply resubmit them on the compile queue. You do this using the qcompile command, which submits individual programs to be compiled.

The problem is knowing which programs need to be re-submitted. This is based on the existence of the .err file in the xxsrc directory. I used to just re-submit these by hand, but quickly figured out it's a real waste of time. So I wrote a script:

cd $LAWDIR/prod
for src in `ls -d *src`
   do
   for pgm in `ls $src/*.err`
      do
         qcompile PROD `echo $src | cut -c 1-2` `basename $pgm .err`
   done
done


It's not perfect, as it doesn't differentiate if the .err is really associated with the program itself, the screen/form (i.e. BL20.scr.err). Nor does it figure out that user exits need the -u switch. But it does take care of 95% of the re-compiles. The rest I can take care of by hand.
Worthwhile Reading

The Second Decade Of Offshore Outsourcing: Where We're Headed

- QUOTE OF THE ISSUE –

“Television is where you watch
people in your living room that
you would not want near your house.”
-- Groucho Marx

Execs now prefer to call it 'globalization.' Whatever the name, it's gaining steam and bringing new risks and requiring new strategies.
Information Week, November 5, 2007
http://www.informationweek.com/news/showArticle.jhtml?articleID=202801448

4 Reasons Why Tech Consultants Get Sacked

The biggest sins: Promising what can't be delivered and not closing the loop in client communications. To do either is to invite calamity.
Baseline Magazine, October 17, 2007
http://www.baselinemag.com/article2/0,1397,2201044,00.asp

Workday Gets to Work

It's still difficult to start a conversation about Workday without referencing PeopleSoft and Oracle and the sequence of events that brought the latter two companies crashing together.
eWeek, November 26, 2007
http://www.eweek.com/article2/0,1759,2220310,00.asp

What Makes A CIO Effective?

There's consensus among CXOs, IT staff, line-of-business managers, and CIO themselves, and it boils down to three words: alignment, process, innovation.
Information Week, December 10, 2007
http://www.informationweek.com/story/showArticle.jhtml?articleID=204701895

Printing in 3D

Printing a cocktail snack from your desktop? WSJ.com's Andy Jordan explores how that is possible with a cheaper form of 3D printing.
Wall Street Journal, November 29, 2007
http://online.wsj.com/public/page/8_0006.html?bcpid=86195573&bclid=86272812&bctid=1328213802

Decision Analytics is an independent consultancy, focusing on Lawson technical projects, and specializing in reporting, customization/modification, data conversion, and integration/interfaces. Please visit http://www.danalytics.com for more information.

Copyright © 2008, Decision Analytics. All Rights Reserved.Terms Of UsePrivacy Statement