As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Has this issue been resolved? If not, it is suggested that you open a case with Information Builders' Customer Support Services for further assistance, as we will need to know much more details. To open a case, you may either call at 1-800-736-6130, or access online at InfoResponse.
Hope this helps. Many thanks for Pat's input too.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004
Please post the offending code here (place it between the code brackets so its stays readable) in order for us to try and come up with a rreason and/or solution for you. We really can't do much with just the fact that you get this message.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Hope this helps in understanding my problem better.
The message i see the spool is as follows: DCB USED WITH FILE HOLDGUR IS DCB=(RECFM=FB,LRECL=00035,BLKSIZE=00700) OFFLINE... SAVED... (FOC36335) THE LENGTH OF A FIELD OR A CONSTANT BEYOND LIMITS IN TODAYI
I think Ginny is right with her observation that it looks a bit strange. You should put your code between the code brackets to avoid losing information. Since you get the message that the file has been saved, the error occurs somewhere after saving the file. Most probable cause are the set statements that Ginny indicated. They should read:
-SET &NAME_COR = IF &SV EQ 'N' THEN 'ALL'
- ELSE '<COR';
-SET &NAME_HOLD_CO = IF 'N' EQ 'N' THEN 'ALL'
- ELSE '<NAME_HOLD_CO';
-SET &NAME_COMPANY = IF 'Y' EQ 'N' THEN 'ALL'
- ELSE '<NAME_COMPANY';
-SET &NAME_STATE = IF 'Y' EQ 'N' THEN 'ALL'
- ELSE '<NAME_STATE';
The biggest problem in your originalk code is that a DM continuation line must start with a '-' sign, followed by at least one space and then the rest of the statement. In your case the 'ALL' was immediately following the '-', possibly causing the error. If correcting this does not help, then place a -EXIT at a line follwing the SAVE, run it and see if it still errors out. If not, replace the -EXIT line to a place a little further in the code and run. Use this method until the error occurs and you have found the problem.
Hope this helps ....
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Thank You for all your suggestions/replies. As suggested by GamP, by placing -EXIT at various points, i have finally pin pointed the place where the error is generated: