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.
this code: -*************************** -* HEADER RECORD DEFINITION -*************************** -* RECORD TYPE [3] 000 = HEADER RECORD & FILLER FOR [25] SPACES -SET &REC_TYPE = '000 '; -* HEADER TEXT [20] MUSE BE:GE STUDENT SUBMITTAL FOR SUBMITTAL BATCHES -SET &HDR_TXT = 'GE STUDENT SUBMITTAL';
-* PUT THE HEADER REC TOGETHER -* THIS LINE GENERATES AN ERROR, BUT APPEARS TPO WORK -SET &HDR_REC = &REC_TYPE|&HDR_TXT;
-EXIT
generates this output/error:
-*************************** -* HEADER RECORD DEFINITION -*************************** -* RECORD TYPE [3] 000 = HEADER RECORD & FILLER FOR [25] SPACES -SET &REC_TYPE = '000 '; -* HEADER TEXT [20] MUSE BE:GE STUDENT SUBMITTAL FOR SUBMITTAL BATCHES -SET &HDR_TXT = 'GE STUDENT SUBMITTAL'; -* PUT THE HEADER REC TOGETHER -* THIS LINE GENERATES AN ERROR, BUT APPEARS TPO WORK -SET &HDR_REC = 000 GE STUDENT SUBMITTAL; 0 ERROR AT OR NEAR LINE 5 IN PROCEDURE mrheaderFOCEXEC * (FOC295) A VALUE IS MISSING FOR: &REC_TYPE&HDR_TXT
and I have no idea why.
T^here are more fields I will need to concatenate to complete this record, but I always get an error when trying to concatenate a second amper variable. Is there a trick to combining two amper variables?
thx
AlThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.6.9 Windows all output (Excel, HTML, PDF)
The concatenate without spaces used to work, pre dinosaurs.
Another case of code tightening ?
The two options that will work have been shown.
If you use a period, this indexes the variable, a double allows the two variable to be side by side without space between. This is used in -TYPE, -WRITE, DEFINEs and COMPUTEs, etc
Every once in while the single contcat without spaces on either side would throw a "illegal use of GOTO" Once I figured out the cause of this message, I guessed it was coming from "deep down in the FORTRAN" never bothered to ask for confirmation from IBI.
Thinking about FORTRAN and WebFocus gives a hint how long I have been using (Web)Focus. The source code was been done in "C" for years and years.
Jim Morrow Web Focus 7.6.10 under Windows 2003 MVS 7.3.3