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     [Closed] Creating a PL/1 readable file from WebFOCUS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed] Creating a PL/1 readable file from WebFOCUS
 Login/Join
 
Gold member
posted
I have to realize a interface between WebFOCUS and PL/1.
Is there any document describing PL/1 datatypes (e.g. DEC FIXED (15, 0) ) and the corresponding WebFOCUS data type for ACTUAL (the format the data are stored)?
(I found only the description for COBOL but not for PL/1)


Thank you very much in advance.

We work in the OS/390 environment of our customer.

This message has been edited. Last edited by: MichaelBalle,


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Expert
posted Hide Post
I imagine you've already seen this:


The PL/1 notes do not help?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
Hi Francis,

I can't see the picture (gif or what it is).

Can you send me the link as text please?

I have seen the format P for DEC FLOAT but no example for DEC FIXED ( and I use P8 for DEC FIXED(15, 0), but it doesn't work - the number is already human readable and not packed.

Thank you in advance


Michael Balle


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Gold member
posted Hide Post
By using the function PCKOUT you can assign a packed field to an alphanumeric field remaining the packed structure.
(see Help -> Content -> Index: PCKOUT)


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Expert
posted Hide Post
Reference: COBOL Picture to USAGE Format Conversion

The following table shows the USAGE and ACTUAL formats for COBOL, FORTRAN, PL1, and Assembler field descriptions.

COBOL USAGE            BYTES OF COBOL      INTERNAL    ACTUAL        USAGE
FORMAT                 PICTURE             STORAGE     FORMAT        FORMAT
-----------            --------------      --------    ------        ------
DISPLAY                X(4)                4           A4            A4
DISPLAY                S99                 2           Z2            P3
DISPLAY                9(5)V9              6           Z6.1          P8.1
DISPLAY                99                  2           A2            A2
COMP                   S9                  4           I2            I1
COMP                   S9(4)               4           I2            I4
COMP*                  S9(5)               4           I4            I5
COMP                   S9(9)               4           I4            I9
COMP-1**               —                   4           F4            F6
COMP-2***              —                   8           D8            D15
COMP-3                 9                   8           P1            P1
COMP-3                 S9V99               8           P2            P5.2
COMP-3                 9(4)V9(3)           8           P4            P8.3
FIXED                  B or XL1                       8I4            I7
BINARY(7)
(COMP-4)

* Equivalent to INTEGER in FORTRAN, FIXED BINARY(31) in PL/1, and F in Assembler.
** Equivalent to REAL in FORTRAN, FLOAT(6) in PL/1, and E in Assembler.
*** Equivalent to DOUBLE PRECISION or REAL*8 in FORTRAN, FLOAT(16) in PL/1, and D in Assembler


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     [Closed] Creating a PL/1 readable file from WebFOCUS

Copyright © 1996-2020 Information Builders