Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Controlling width of text in master files created in Synonym Editor

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Controlling width of text in master files created in Synonym Editor
 Login/Join
 
Gold member
posted
I've searched the forum but didn't find anything.

I've started using the Synonym Editor to work with masters (editing existing ones and creating new ones, including ones with cluster JOINs) more and more lately because I like using Model View, etc. etc. Most of these masters are for mainframe FOCUS and I'm transferring them back and forth between my PC and the mainframe with FTP.

Is there anyway, short of manually editing the master's text in a text editor, of making sure that all text inside the masters stays within 80 characters in width? Since I'm transferring a lot of these masters back to PDS's on the mainframe, I'm occasionally finding that I'm losing a few characters in a few long lines in the master.

For example, I created a DEFINE field in Synonym Editor and it create this line in the master which goes out to position 89:

 
    DEFINE C_ACCT_KEY/A31  WITH DDA.ACCT_KEY=OVRLAY(ACCT_KEY, 31, 'CAA', 3, 6, 'A31'); $


Obviously the last 9 characters got chopped off when I FTP'd the master to a member in my PDS on the mainframe. 80 characters is the standard member width for PDS members in the PDS's I'm using on our mainframe.

I'm just wondering if maybe there's an option somewhere in Dev Studio that can force the text to not go past 80 characters in width, either in Synonym Editor or the built-in Text Editor. I looked around but didn't find anything. I was just hoping to avoid having to go in and manually edit the master text.

Thanks.


FOCUS 7.7.03
WebFOCUS 8.0.x/8.1
z/OS, Windows
 
Posts: 54 | Location: Everett, WA | Registered: September 27, 2005Report This Post
Virtuoso
posted Hide Post
I don't know of any native setting in Focus to ensure that.

So I would scan them before transmission, using an edit macro to locate long lines and edit them manually. For Kedit:
* longlines.kex
  "zone 81 *"
  "all ^ blank"
 if rc<>0 then "quit"
  "zone 1 *"

Or, upload them to a PDS with a larger lrecl, scan the members in xedit with a rexx macro to locate lines over 80 (it will be less succinct than the above); revise as needed, and them move to your F 80.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Master
posted Hide Post
Try using an editor on the pc that will lock the width. I have used SPF/PC before.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Controlling width of text in master files created in Synonym Editor

Copyright © 1996-2020 Information Builders