Configurator Programming

Blake,



You may want to break that on leave up into smaller chunks using
procedures.

I know that 32k is the limit for on leave statements, but we have found
that keeping them under 18K really helps.



I also agree with Tara... we have only had 4GL stop errors in very
specific scenarios, such as improper syntax in an on leave

Or a reference to a "non" reference, referring to something that we had
not yet programmed into the code.



Also the actual 4GL stop will tell you exactly what is wrong, and where
to go to fix it.



I am on surgery leave until Monday, but would be happy to go over
procedures with you if needed after that.

Also how to diagnose the stop error.



Ron Flynn



Cubic Designs, Inc.

MEZZANINE SYSTEMS



16770 West Victor Road

New Berlin, WI 53151

P: 262.789.1966

F: 262.789.1970







From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Tara Madia
Sent: Wednesday, May 05, 2010 11:15 AM
To: vantage@yahoogroups.com
Cc: Blake Clemens
Subject: RE: [Vantage] Re: Configurator Programming





Blake,

There are only a few things that can cause a 4GL Stop in with
configurator. At what point are you getting the error (syntax check,
test inputs, or actual configuration)? What type of statements are you
running? My initial guess would be that it is in the programming itself.
Have you tried to run one portion at a time to see if it is only a
particular section of the code that might be causing it?

Tara K. Madia
ERP Systems Analyst
Sabre Tubular Structures(tm)
Direct Line: (817) 852-1828
Email: tmadia@... <mailto:tmadia%40sabrecom.com>
<mailto:tmadia@... <mailto:tmadia%40sabrecom.com> >
"There is a time in every man's education when he arrives at the
conviction that envy is ignorance; that imitation is suicide; that he
must take himself for better, for worse, as his portion; that though the
wide universe is full of good, no kernel of nourishing corn can come to
him but through his toil bestowed on that plot of ground which is given
to him to till." - Ralph Waldo Emerson
From: Blake Clemens [mailto:blake.clemens@...
<mailto:blake.clemens%40d-m-c.com> ]
Sent: Wednesday, May 05, 2010 10:17 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Cc: Tara Madia
Subject: RE: [Vantage] Re: Configurator Programming

Tara,
I finally tried this and did what you said below but receive a 4GL Stop
Error when attempting to run the programming. Any ideas why I get the
error?

Thanks,
Blake Clemens
IT Systems Engineer
Delmarva Millwork Corporation
(800) 360-2364 x132
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of tara829203
Sent: Friday, March 26, 2010 3:56 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Re: Configurator Programming

You can paste your on leave statement into notepad (not Word) and save
it as ".i" file in the mfgsys/Server/ud folder. In the on leave
statement, use:

{ud/filename.i}

Tara

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>, "Blake Clemens" <blake.clemens@...>
wrote:
>
> My OnLeave statement is too big. I want to copy the programming out to
a
> word document and program a run command on that OnLeave to read that
> word document. Does anyone have this programming that they could give
> me?
>
>
>
> Thanks,
>
> Blake Clemens
>
> IT Systems Engineer
>
> Delmarva Millwork Corporation
>
> (800) 360-2364 x132
>
>
>
> [Non-text portions of this message have been removed]
>

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.791 / Virus Database: 271.1.1/2770 - Release Date: 03/26/10
03:33:00

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
My OnLeave statement is too big. I want to copy the programming out to a
word document and program a run command on that OnLeave to read that
word document. Does anyone have this programming that they could give
me?



Thanks,

Blake Clemens

IT Systems Engineer

Delmarva Millwork Corporation

(800) 360-2364 x132



[Non-text portions of this message have been removed]
>My OnLeave statement is too big. I want to copy the programming out to a
>word document and program a run command on that OnLeave to read that
>word document. Does anyone have this programming that they could give
>me?

If you're calling a routine, you'll want to make sure that you pass all of your variables that you need to it. Save the code as plain text with a .p extension. Here's an example of a routine that passes two variables and returns a variable:

define INPUT parameter series as CHARACTER no-undo.
define INPUT parameter opts as character no-undo.
define OUTPUT parameter tag as character no-undo.

define variable tmpTag as character.

tmpTag = "***NO TAG***".

/* For Small series */
IF INDEX("SN SM SH SX",TRIM(series)) > 0 THEN DO:
IF LOOKUP("ST", opts, "-") > 0 THEN DO:
tmpTag = "758".
END.
END.

tag = tmpTag.

I keep this in the server\ud folder and then call it from the PC.

Mark W.
You can paste your on leave statement into notepad (not Word) and save it as ".i" file in the mfgsys/Server/ud folder. In the on leave statement, use:

{ud/filename.i}

Tara

--- In vantage@yahoogroups.com, "Blake Clemens" <blake.clemens@...> wrote:
>
> My OnLeave statement is too big. I want to copy the programming out to a
> word document and program a run command on that OnLeave to read that
> word document. Does anyone have this programming that they could give
> me?
>
>
>
> Thanks,
>
> Blake Clemens
>
> IT Systems Engineer
>
> Delmarva Millwork Corporation
>
> (800) 360-2364 x132
>
>
>
> [Non-text portions of this message have been removed]
>
I had the same problem, so I split the code up into two fields, with the
first one holding about half the code plus a line adding the results of
the first on-leave to the results of the second field's on-leave
statement.



Russell Wright

Controller

Triton Industries, Inc.

Phone (517) 322-3822

Fax (517) 322-3872





[Non-text portions of this message have been removed]
Tara,

I finally tried this and did what you said below but receive a 4GL Stop
Error when attempting to run the programming. Any ideas why I get the
error?



Thanks,

Blake Clemens

IT Systems Engineer

Delmarva Millwork Corporation

(800) 360-2364 x132

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of tara829203
Sent: Friday, March 26, 2010 3:56 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Configurator Programming





You can paste your on leave statement into notepad (not Word) and save
it as ".i" file in the mfgsys/Server/ud folder. In the on leave
statement, use:

{ud/filename.i}

Tara

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"Blake Clemens" <blake.clemens@...> wrote:
>
> My OnLeave statement is too big. I want to copy the programming out to
a
> word document and program a run command on that OnLeave to read that
> word document. Does anyone have this programming that they could give
> me?
>
>
>
> Thanks,
>
> Blake Clemens
>
> IT Systems Engineer
>
> Delmarva Millwork Corporation
>
> (800) 360-2364 x132
>
>
>
> [Non-text portions of this message have been removed]
>



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.791 / Virus Database: 271.1.1/2770 - Release Date: 03/26/10
03:33:00



[Non-text portions of this message have been removed]
Blake,

There are only a few things that can cause a 4GL Stop in with configurator. At what point are you getting the error (syntax check, test inputs, or actual configuration)? What type of statements are you running? My initial guess would be that it is in the programming itself. Have you tried to run one portion at a time to see if it is only a particular section of the code that might be causing it?

Tara K. Madia
ERP Systems Analyst
Sabre Tubular Structures(tm)
Direct Line: (817) 852-1828
Email: tmadia@...<mailto:tmadia@...>
"There is a time in every man's education when he arrives at the conviction that envy is ignorance; that imitation is suicide; that he must take himself for better, for worse, as his portion; that though the wide universe is full of good, no kernel of nourishing corn can come to him but through his toil bestowed on that plot of ground which is given to him to till." - Ralph Waldo Emerson
From: Blake Clemens [mailto:blake.clemens@...]
Sent: Wednesday, May 05, 2010 10:17 AM
To: vantage@yahoogroups.com
Cc: Tara Madia
Subject: RE: [Vantage] Re: Configurator Programming

Tara,
I finally tried this and did what you said below but receive a 4GL Stop Error when attempting to run the programming. Any ideas why I get the error?

Thanks,
Blake Clemens
IT Systems Engineer
Delmarva Millwork Corporation
(800) 360-2364 x132
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of tara829203
Sent: Friday, March 26, 2010 3:56 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Configurator Programming



You can paste your on leave statement into notepad (not Word) and save it as ".i" file in the mfgsys/Server/ud folder. In the on leave statement, use:

{ud/filename.i}

Tara

--- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>, "Blake Clemens" <blake.clemens@...> wrote:
>
> My OnLeave statement is too big. I want to copy the programming out to a
> word document and program a run command on that OnLeave to read that
> word document. Does anyone have this programming that they could give
> me?
>
>
>
> Thanks,
>
> Blake Clemens
>
> IT Systems Engineer
>
> Delmarva Millwork Corporation
>
> (800) 360-2364 x132
>
>
>
> [Non-text portions of this message have been removed]
>


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.791 / Virus Database: 271.1.1/2770 - Release Date: 03/26/10 03:33:00


[Non-text portions of this message have been removed]