Pro*COBOL and CLOB Columns
From: Chris (ctaliercio_at_yahoo.com)
Date: 12/17/04
- Next message: Robert Wagner: "Re: OT - Re: Program templates as Object Classes"
- Previous message: Howard Brazee: "Re: OT - Re: Program templates as Object Classes"
- Next in thread: Thomas A. Li: "Re: Pro*COBOL and CLOB Columns"
- Reply: Thomas A. Li: "Re: Pro*COBOL and CLOB Columns"
- Reply: LX-i: "Re: Pro*COBOL and CLOB Columns"
- Reply: rjones0_at_hotmail.com: "Re: Pro*COBOL and CLOB Columns"
- Reply: Robert Wagner: "Re: Pro*COBOL and CLOB Columns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Dec 2004 06:46:05 -0800
All:
I have another interesting scenario.
I have a data item in a COBOL program that is declared as follows:
EXEC SQL BEGIN DECLARE SECTION END-EXEC.
01 LogBuffer PIC X(262146) VARYING.
EXEC SQL END DECLARE SECTION.
The Pro*COBOL pre-compiler expands this to:
01 LogBuffer.
02 LogBuffer-LEN PIC S9(4) COMP.
02 LogBuffer-ARR PIC X(262146).
As you can see - the exploded definition produced by Pro*COBOL is not
correct. I cannot seem to find a decent way around this - does anyone
have a good suggestion.
Standard Info:
COBOL: MF Server Express 4.0 SP1
Oracle: 9i
Pro*COBOL: 1.8 (don't ask why ...)
OS: HP-UX 11i
Thanks in advance,
Chris
- Next message: Robert Wagner: "Re: OT - Re: Program templates as Object Classes"
- Previous message: Howard Brazee: "Re: OT - Re: Program templates as Object Classes"
- Next in thread: Thomas A. Li: "Re: Pro*COBOL and CLOB Columns"
- Reply: Thomas A. Li: "Re: Pro*COBOL and CLOB Columns"
- Reply: LX-i: "Re: Pro*COBOL and CLOB Columns"
- Reply: rjones0_at_hotmail.com: "Re: Pro*COBOL and CLOB Columns"
- Reply: Robert Wagner: "Re: Pro*COBOL and CLOB Columns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|