<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="Arial">This is the first time I remember seeing actual
      code even though I haven't read all the notes.<br>
      If, as I think you said, this process is a call then you missed
      the cause in the answer but we did say it.<br>
      Below you show declare uname.<br>
      As Ernie has stated in several of his notes and emails you must
      use...<br>
      <br>
          DECLARE GLOBAL in the main prc<br>
          DECLARE EXTERN in the call prc<br>
      <br>
      If my assumptions are incorrect then it is only because you have
      not answered the questions sent to you on the incident.<br>
      <br>
      Bill<br>
    </font><br>
    <div class="moz-cite-prefix">On 2/3/2021 2:51 PM, Richard Kreiss via
      Filepro-list wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:001201d6fa66$0886aba0$199402e0$@verizon.net">
      <pre class="moz-quote-pre" wrap="">Ernie,

This just doesn't even come close to answering my question.  Why is the
declared value not able to accept the value of getenv()?
If:
Then: declare uname
If" uname= ""
Then: uname=getenv("username") - in this instance uname should have rkreiss
as value.

The declare is located with all the other declared long variable just before
the last line of the processing table.

I really can't sent Fp Tech the files as the contain information that has to
remain private.  Will PF Tech be willing to sign a confidentiality agreement
with GCC Consulting and CCP with regard to this information.  I would need
to send you their complete database as all of the files would be accessed
and tht is the only way the program can be tested.  Also, I would have to
zip the database and it would be too large to upload.  I would have to use
some other means to upload the zip file.


</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">-----Original Message-----
From: Filepro-list
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap=""><a class="moz-txt-link-rfc2396E" href="mailto:filepro-list-bounces+rkreiss=verizon.net@lists.celestial.com"><filepro-list-bounces+rkreiss=verizon.net@lists.celestial.com></a>
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">On Behalf Of Ernie Barnard via Filepro-list
Sent: Tuesday, February 2, 2021 9:27 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>
Subject: Re: Long variable issue

You're not close to the limit.

Maximum number of labels is determined by the current token table size.

Runtime programs default to 1000 labels available but it can be increased
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">to
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">32,767 using PFLBSIZE, token table size dependent as well.

( More detail sent via fP Online Support )

On 2/1/2021 1:04 PM, Richard Kreiss via Filepro-list wrote:
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">I have used the debugger an rkreiss does exist and the issue is that
the long variable that should hold rkreiss does not get filled. Uname
or runnasme(I tried both a uname is a declared value in the calling
processing table.  It was originally declared as local but I changed
it to global and used a declare extern uname to pass the value to the
called table.  In the original table uname has rkreiss but the field is
</pre>
        </blockquote>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">blank in the
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">called table.
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">Even if I do:

If uname = ""
Then: uname=getenv("username") - I would like to know why if the field
already has a value in the calling table why it is empty in the called
table.  No one has been able to answer that question.  No one seems to
know if there is a limit to the number of variables that filePro can
handle. I am aware that filePro needs to account for dummy fields,
long variables, arrays, process labels, field edits both global(115)
and local (3) in output processing file , as well as system arrays and
other items.  Does filePro load an auto process table for the called
table if one is in the directory for that process? I have not gotten
an answer to my questions form FP Tech as I don't think they know and
may need to research this as no developer has reached this point and
had this issue. There are 496 labels in the original input process
table, that includes @when process as well  subroutine labels and 36
labels in the output process and 1 label in the auto Process table
used with this output process. FilePro needs to account for all of
these and we do not know what the maximum limit is.  Tis would have to
</pre>
        </blockquote>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">be a
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">combined limit as tech support would have no idea of what this breakdown
would be.
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">
I have a feeling I am the first developer to reach this limit and that
is what is causing my issue.

Issue:

I can declare a variable but it will not hold a value trying to be
assigned to it.  Why?  I can see the variable in the debugger but can
not get it to hold a value.  When I pass a value using -rx and @px the
value is present but if I try to use a declared global to hold the
same value and declare extern, the value is blank in the called table.
If I define the long variable as uname(32,*), the debugger show the
</pre>
        </blockquote>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">variable
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">as blank with the total length represented by |                        |
instead of || when not having a defined length.

This is a process running for a system call to an output processing
table which does not hold the declared value being assigned to it..
Yes, there is an auto process table that runs with this output process
but has 7 declare global variables and 5 dummy fields and an output
processing table with 95 long variable and 31 dummy fields of which
14 have defined lengths and edits. One of those fields has a length of
1390 as it hold the information from the file being read.  I can
replace getenv() everywhere I want to use uname but it would be easier
to use uname in the programming the having to type the
getenv("username") each time. I need to use the name in programming.


</pre>
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">-----Original Message-----
From: Filepro-list
</pre>
          </blockquote>
          <pre class="moz-quote-pre" wrap=""><a class="moz-txt-link-rfc2396E" href="mailto:filepro-list-bounces+rkreiss=verizon.net@lists.celestial.com"><filepro-list-bounces+rkreiss=verizon.net@lists.celestial.com></a>
</pre>
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">On Behalf Of Jason Garner via Filepro-list
Sent: Saturday, January 30, 2021 8:03 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>
Subject: Long variable issue

I guess the low hanging fruit would be to figure out if rkreiss
actually
</pre>
          </blockquote>
          <pre class="moz-quote-pre" wrap="">exists in
</pre>
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">the environment.

Like if you do a msgbox getenv("rkreiss"), is the message box also
blank
</pre>
          </blockquote>
          <pre class="moz-quote-pre" wrap="">or does
</pre>
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">it populate?

On Sat, Jan 30, 2021 at 3:07 AM
<a class="moz-txt-link-rfc2396E" href="mailto:filepro-list-request@lists.celestial.com"><filepro-list-request@lists.celestial.com></a>
wrote:

</pre>
            <blockquote type="cite">
              <pre class="moz-quote-pre" wrap="">Send Filepro-list mailing list submissions to
         <a class="moz-txt-link-abbreviated" href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>

To subscribe or unsubscribe via the World Wide Web, visit
         <a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
or, via email, send a message with subject or body 'help' to
         <a class="moz-txt-link-abbreviated" href="mailto:filepro-list-request@lists.celestial.com">filepro-list-request@lists.celestial.com</a>

You can reach the person managing the list at
         <a class="moz-txt-link-abbreviated" href="mailto:filepro-list-owner@lists.celestial.com">filepro-list-owner@lists.celestial.com</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Filepro-list digest..."


Today's Topics:

    1. Long variable issue (Richard Kreiss)


--------------------------------------------------------------------
--

Message: 1
Date: Fri, 29 Jan 2021 18:59:33 +0000
From: Richard Kreiss <a class="moz-txt-link-rfc2396E" href="mailto:rkreiss@gccconsulting.net"><rkreiss@gccconsulting.net></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:'filepro-list@lists.celestial.com'">"'filepro-list@lists.celestial.com'"</a>
         <a class="moz-txt-link-rfc2396E" href="mailto:filepro-list@lists.celestial.com"><filepro-list@lists.celestial.com></a>
Subject: Long variable issue
Message-ID:
         <

</pre>
            </blockquote>
            <pre class="moz-quote-pre" wrap="">
</pre>
          </blockquote>
        </blockquote>
        <pre class="moz-quote-pre" wrap=""><a class="moz-txt-link-abbreviated" href="mailto:MN2PR04MB6767CDA976815F56DE43CA83B7B99@MN2PR04MB6767.namprd0">MN2PR04MB6767CDA976815F56DE43CA83B7B99@MN2PR04MB6767.namprd0</a>
</pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">4.prod.out
</pre>
            <blockquote type="cite">
              <pre class="moz-quote-pre" wrap="">look.com
Content-Type: text/plain; charset="us-ascii"

I declared a long variable in a called processing table.

Declare runname

In the called processing table I have:

If:
Then: runname=getenv("username")
If: getenv("username")="rkreiss"
Then: debug on   (the debugger is activated)

When I evaluate runname is appears as empty ||

When I change the declare to Runname(32*) and check the value of
runname again, it the field is emp[ty but the |
| lines are 32 characters apart.

Does any one have any ideas as to why runname is not being filled
with "rkreiss".

I have asked this question of FP Tech support and so far have not
received an answer to this problem.  They have asked for other
information and for mew to clarify what I wrote even though I gave
them the processing used and the issue I weas having.

I seem to recall that there is a limit as to the number of variables
one can have but it is not documented.  Could I be passing this
limit as there are a lot of declared values in the original
processing table as well as the called table.  The called table is
in a different
folder(directory) then the original processing. Is the total of the
variable a combination of both tables?

I may be able to eliminate some of the declared variables in the
called table as this is a copy of one that is for a different
purpose and I did not remove all of the declared values used in the
other
</pre>
            </blockquote>
          </blockquote>
          <pre class="moz-quote-pre" wrap="">program.
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre class="moz-quote-pre" wrap="">Any assistance with this issue will be greatly appreciated.


Richard Kreiss
GCC Consulting






-------------- next part -------------- A non-text attachment was
scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 15524 bytes
Desc: not available
URL: <
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/2021">http://mailman.celestial.com/pipermail/filepro-list/attachments/2021</a>
01
29/1638b6ac/attachment.bin

------------------------------

Subject: Digest Footer

_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>


------------------------------

End of Filepro-list Digest, Vol 204, Issue 10
*********************************************

</pre>
            </blockquote>
            <pre class="moz-quote-pre" wrap="">
--
Jason Garner
Systems Administrator

1801 Oberlin Rd, Suite 204
Middletown, PA 17057
Work   717-985-1122 x 1139
Mobile 717-645-3521
<a class="moz-txt-link-rfc2396E" href="mailto:tim.barr@evalsvs.com"><tim.barr@evalsvs.com></a><a class="moz-txt-link-abbreviated" href="mailto:jason.garner@evalsvs.com">jason.garner@evalsvs.com</a>
-------------- next part -------------- An HTML attachment was
scrubbed...
URL: <a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20210130/11de3011/attachment.html"><http://mailman.celestial.com/pipermail/filepro-
list/attachments/20210130/11de3011/attachment.html></a>
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
          </blockquote>
          <pre class="moz-quote-pre" wrap="">_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">
--
Ernie Barnard Jr.



--
This email has been checked for viruses by AVG.
<a class="moz-txt-link-freetext" href="https://www.avg.com">https://www.avg.com</a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20210202/42c86b0a/attachment.html"><http://mailman.celestial.com/pipermail/filepro-
list/attachments/20210202/42c86b0a/attachment.html></a>
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
    </blockquote>
    <br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="https://www.avast.com/antivirus">
                                <img border=0 src="https://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email has been checked for viruses by Avast antivirus software.
                                <br><a href="https://www.avast.com/antivirus">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>