NetCOBOL and reports

cobol

    Sponsored Links

    Next

  • 1. Compile option
    I have a called program that doesn't work - probably because when Endeavor migrated it, it used its own compile options. It uses IBM COBOL for OS/390 & VM 2.2.2 It does arithmetic with a binary fields that are too big for CoBOL. What is the compile option I should use to allow this? 01 HOLD-KEYS. 05 HOLD-DBKEY PIC S9(16) COMP. 05 HOLD-DBKEY-A REDEFINES HOLD-DBKEY PIC X(8). 01 PASSED-DBCONV-RECORD. 02 PASSED-DBCONV-DISPLAY-DBKEY. 03 PASSED-DBCONV-PAGE PIC X(08). 03 PASSED-DBCONV-PAGE-N REDEFINES PASSED-DBCONV-PAGE PIC 9(08). 03 PASSED-DBCONV-DASH PIC X(01). 03 PASSED-DBCONV-POS PIC X(03). 03 PASSED-DBCONV-POS-N REDEFINES PASSED-DBCONV-POS PIC 9(03). 02 PASSED-DBCONV-X. 03 FILLER PIC X(4). 03 PASSED-DBCONV-DBKEY PIC S9(08) COMP. ... MOVE PASSED-DBCONV-X TO HOLD-KEYS DISPLAY 'HOLD-KEYS=' DISPLAY ' "' HOLD-KEYS '"' IF HOLD-DBKEY > ZERO CONTINUE ELSE MOVE ZERO TO HOLD-DBKEY END-IF. The IF HOLD-DBKEY > 0 is what aborts with an OC9. The dump shows: 01 HOLD-KEYS AN-GR 02 HOLD-DBKEY S9(16) COMP +4629771063221381912 02 HOLD-DBKEY-A X(8) DISP ' , '
  • 2. Problems Opening Excel Sheet in 2003 ( Fujitsu PowerCobol 6.1)
    This question has been asked in other threads, but I thought I would put it in it's own thread... I can open excel files using the "OpenBook" method of the Excel control. That works fine and I can move data to cells and save to book ok. This only seems to work with the first sheet in the collection. If I want to access say the third sheet in the Workbook it doesn't work. I use this to try and open the 5th sheet in the workbook: Invoke CmExcel1 "OpenBook" using book-name idx. Where idx is of type PIC S9(9) COMP-5. I move 5 to idx before issuing the openbook command. It opens the Workbook, but onto sheet1 not sheet5. Any ideas?
  • 3. Some OO design principles WAS Differences in data description in programming languages
    Pete Dashwood< XXXX@XXXXX.COM > 11/30/2004 4:32:04 PM >>> >instead of : invoke XmasTree1 "BringTreeHome" USING maxHeight, maxWeight >end-invoke > >I would use; > >move weight to maxWeight of XmasTree1 >move height to maxHeight of XmasTree1 >invoke XmasTree1 "BringTreeHome" end-invoke I don't do much OO programming, and no OO-COBOL, but wouldn't the following be more in following with the OO paradigm? invoke XmasTree1 "Set_maxWeight" using weight invoke XmasTree1 "Set_maxHeight" using height invoke XmasTree1 "BringTreeHome" Obviously Set_maxWeight and Set_maxHeight would be simple one line methods, but from all I've read about OO this way is preferred. Just thinking... Frank --- Frank Swarbrick Senior Developer/Analyst - Mainframe Applications FirstBank Data Corporation - Lakewood, CO USA

NetCOBOL and reports

Postby R. Hendriks » Tue, 06 Jan 2004 23:52:58 GMT

LS,

I'm searching for the best way to create reports that can be altered during
runtime by the end-user. The process of changing column-order, sort-order,
which data is contained in which column, which datafields are visible etc.
should be done by the user via a GUI form designer which stores the report
settings, or via an own written program which via for instance COM/OCX
directly influences the report, based on some stored settings.

I've taken a look at crystal decision and *believe* that the situations I
mention above (the report alteration) can be done via COM. Yet I haven't got
the hands-on experience and I'd like to hear the experience of those who
have worked with this product.

Are there any similar products to crystal reports? Are they
superios/inferior to it, and if so, on which features?

I'm using NetCOBOL/PowerCOBOL version 7. I'm aware of the existence of
PowerFORM, but this product doesn't offer runtime adjustment of reports
created with it.

Thanks in advance and kind regards,

Rik Hendriks
---------------------------------
Don't think you are, know you are.



Similar Threads:

1.jni and fujitsu NetCOBOL for .NET

Hello,

Is there someone who can give me some more information about de connection
between Java and NetCOBOL for .NET?

Thanks in advance
Peter Sinjan


2.NetCOBOL in Citrix metaframe environment

3.Fujitsu NetCobol 8.0

Hi,

Any Fujitsu NetCobol / PowerCobol users here?

I'm using PowerCobol 8.0 and MySql 5.1 with MySQL ODBC 3.51. To access the 
database I create a user or system DSN and this works. But what I would 
really like to not have to create the DSN and connect DSNless, like I do in 
c# and vb.net. Does anyone here know how to do this in PC?

Thanks! 

4.Fujitsu NetCOBOL for .NET v2.1 MessageBox question

Is there a way to set the button types on a MessageBox using Fujitsu
NetCOBOL for .NET v2.1?  I can invoke a messagebox and set the text and
caption, but can't seem to figure out how to set the button types.  I
want to be able to be able to display the Yes and No buttons rather
than the default of OK.

5.Fujitsu NetCOBOL runtime error

Getting this error:

[code]
cobol-rts: HALT: JMP0311I-U [PID:00000F65 TID:00000001] MISSING ALLOCATION.
FILE=DOCIN. PGM=PROGRAM-3-2
Abort
[/code]

It's a cobol main program, which inputs from a Line Sequential data file and
then calls a C++ function.  I'll post the code if necessary.


6. Fujitsu NetCOBOL and winXP SP2

7. netcobol question

8. Fujitsu's NETCOBOL: Any luck linking with ODBCCP32.LIB



Return to cobol

 

Who is online

Users browsing this forum: No registered users and 72 guest