Page 1 of 1

Telon - Segloop error

PostPosted: Fri Aug 10, 2012 10:10 pm
by Hari Prabhu
Hi,
My requirement is to create a segloop to iterate 5 lines. I am recieving a segloop error as follows.16,TLMEDT98 - SEGLOOP SIZE EXCEEDS MFS SEGMENT MAX 180

SEGLOOP OUTIN,TYPE=FILE,INCRE=(05,05),PAGE=Y,PAGESAV=003,
PAGEKEY=BN-BNFCRY-NO,ICUST2=ICUSTOM,OCUST1=OCUST1,
OCUST2=OCUST2,SAVEKEY=(BN-BNFCRY-NO,XFER-SAVE-KEY)

Also is there a specific assembler program to use for Segloop telon?
//ASSEMBLE EXEC PGM=ASMA90,
// PARM='NOOBJECT,DECK'

The Segloop defenition seems to be within the MFS segment range, and no overlaps of fields occured.
I have attached a image reference describing the MFS map and Panel Definition
Please let me know how to resolve this.

Thanks
Hari Prabhu V

Re: Segloop error

PostPosted: Fri Aug 10, 2012 10:22 pm
by dick scherrer
Hello and welcome to the forum,

Suggest you talk with someone who already has somthing like this running on your system.

Then look for the differences between the one that works and this one.

Re: Segloop error

PostPosted: Fri Aug 10, 2012 10:41 pm
by Hari Prabhu
Hi,
This is a very old system which have never had any changes in the past 10 years and i am new to Telon. Also the most experienced SME in this project left a few months earlier. Any help would be appreciated. Thanks

Thanks
Hari Prabhu V

Re: Segloop error

PostPosted: Fri Aug 10, 2012 11:37 pm
by dick scherrer
Hello,

Even if the people/person who knew this no longer works there, the code should still be on the system. Time to dig thru libraries and find something similar. If this has never been used and you are just learning Telon, why is it needed now?

We have a few Telon people here, but i'm not one of them. . . I'll change your title to show Telon.

Re: Telon - Segloop error

PostPosted: Mon Aug 13, 2012 7:54 pm
by Ed Goodman
Is the size of the saved key more than 180 bytes? That seems to be what the message is saying. I know this isn't much help, the the error message book says:
TLMEDT98 SEGLOOP SIZE EXCEEDS MFS SEGMENT MAX max size.
Severity: 16
Explanation: Incorrect program definition. The size of the SEGLOOP has exceeded the MFS
segment size.
User Response: Update the program definition using one of the following screens:
■ Create/Update Table SEGLOOP
■ Create/Update File SEGLOOP
Correct the INCRE and CINCRE values to ensure the MFS segment size is not exceeded.
Re-export to create new CA-Telon source code then regenerate.