Dear Sir,
I execute this and get an Error, Could you please what was wrong ..???
$ cob -a -v -P -k PrestMedical.pco -C"p(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include">
cob64 -C nolist -CC -KPIC -A -KPIC -N PIC -a -v -P -k PrestMedical.pco -Cp(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include
* Micro Focus Server Express V5.1 revision 000 Compiler
* Copyright (C) Micro Focus IP Development Limited 1984-2012.
* Accepted - verbose
* Accepted - nolist
* Accepted - p(cobsql) nocst csp CSQLT(syb
) cobsqlinclude(/usr/sybase/include)
* Accepted - list("PrestMedical.lst")
* Micro Focus Cobsql Integrated Preprocessor
* Compiling PrestMedical.pco
* CSQL-I-004: Accepted nocst
* CSQL-I-006: Rejected csp
* CSQL-I-006: Rejected CSQLT(syb
)
* CSQL-I-006: Rejected cobsqlinclude(/usr/sybase/include)
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-018: Invoking Oracle Precompiler/Translator
sh: procob: not found
* CSQL-F-016: UNIX error Return Code is 0001
cob64: error(s) in compilation: PrestMedical.pco
Please Help me to i
Hello Pedro:
The documentation, in the section COBSQL Directives, says the option CSTOP or CSP is not available on UNIX. This is why csp was rejected. The documentation says: "you can emulate the CSTOP functionality by installing a closedown procedure that performs an EXEC SQL ROLLBACK ..." See the Server Express documentation for more information.
The directive CSQLT=syb should be specified with two = characters, like this:
CSQLT==syb
If that does not work, try CSQLT==sybase
The directive 'cobsqlinclude' is not documented as a valid COBSQL directive, that is why it is rejected.
Dear Sir,
I execute this and get an Error, Could you please what was wrong ..???
$ cob -a -v -P -k PrestMedical.pco -C"p(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include">
cob64 -C nolist -CC -KPIC -A -KPIC -N PIC -a -v -P -k PrestMedical.pco -Cp(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include
* Micro Focus Server Express V5.1 revision 000 Compiler
* Copyright (C) Micro Focus IP Development Limited 1984-2012.
* Accepted - verbose
* Accepted - nolist
* Accepted - p(cobsql) nocst csp CSQLT(syb
) cobsqlinclude(/usr/sybase/include)
* Accepted - list("PrestMedical.lst")
* Micro Focus Cobsql Integrated Preprocessor
* Compiling PrestMedical.pco
* CSQL-I-004: Accepted nocst
* CSQL-I-006: Rejected csp
* CSQL-I-006: Rejected CSQLT(syb
)
* CSQL-I-006: Rejected cobsqlinclude(/usr/sybase/include)
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-018: Invoking Oracle Precompiler/Translator
sh: procob: not found
* CSQL-F-016: UNIX error Return Code is 0001
cob64: error(s) in compilation: PrestMedical.pco
Please Help me to i
Dear Dan,
So sorry I was Reading an Old Documentation. With the new Directivas :
* Micro Focus Server Express V5.1 revision 000 Compiler
* Copyright (C) Micro Focus IP Development Limited 1984-2012.
* Accepted - verbose* Accepted - nolist
* Accepted - p(cobsql) csqlt=syb makesyn
* Accepted - list()
* Micro Focus Cobsql Integrated Preprocessor
* Compiling PrestMedical.pco
* CSQL-I-004: Accepted csqlt=syb
* CSQL-I-004: Accepted makesyn
* CSQL-I-006: Rejected
* CSQL-I-018: Invoking Sybase Precompiler/Translator
sh: cobpre: not found
* CSQL-F-016: UNIX error Return Code is 0001
* CSQL-F-021: Precompiler did not complete -- Terminating
cob64: error(s) in compilation: PrestMedical.pco
$
We are having problems to obtain the Sybase Preprocessor "cobpre". Could you say me were I can get this ???
Dear Sir,
I execute this and get an Error, Could you please what was wrong ..???
$ cob -a -v -P -k PrestMedical.pco -C"p(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include">
cob64 -C nolist -CC -KPIC -A -KPIC -N PIC -a -v -P -k PrestMedical.pco -Cp(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include
* Micro Focus Server Express V5.1 revision 000 Compiler
* Copyright (C) Micro Focus IP Development Limited 1984-2012.
* Accepted - verbose
* Accepted - nolist
* Accepted - p(cobsql) nocst csp CSQLT(syb
) cobsqlinclude(/usr/sybase/include)
* Accepted - list("PrestMedical.lst")
* Micro Focus Cobsql Integrated Preprocessor
* Compiling PrestMedical.pco
* CSQL-I-004: Accepted nocst
* CSQL-I-006: Rejected csp
* CSQL-I-006: Rejected CSQLT(syb
)
* CSQL-I-006: Rejected cobsqlinclude(/usr/sybase/include)
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-018: Invoking Oracle Precompiler/Translator
sh: procob: not found
* CSQL-F-016: UNIX error Return Code is 0001
cob64: error(s) in compilation: PrestMedical.pco
Please Help me to i
Hello Pedro:
You can get the Sybase preprocessor from Sybase. I searched the internet. Sybase is now part of SAP.
go.sap.com/.../sybase-ase.html
Dear Sir,
I execute this and get an Error, Could you please what was wrong ..???
$ cob -a -v -P -k PrestMedical.pco -C"p(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include">
cob64 -C nolist -CC -KPIC -A -KPIC -N PIC -a -v -P -k PrestMedical.pco -Cp(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include
* Micro Focus Server Express V5.1 revision 000 Compiler
* Copyright (C) Micro Focus IP Development Limited 1984-2012.
* Accepted - verbose
* Accepted - nolist
* Accepted - p(cobsql) nocst csp CSQLT(syb
) cobsqlinclude(/usr/sybase/include)
* Accepted - list("PrestMedical.lst")
* Micro Focus Cobsql Integrated Preprocessor
* Compiling PrestMedical.pco
* CSQL-I-004: Accepted nocst
* CSQL-I-006: Rejected csp
* CSQL-I-006: Rejected CSQLT(syb
)
* CSQL-I-006: Rejected cobsqlinclude(/usr/sybase/include)
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-018: Invoking Oracle Precompiler/Translator
sh: procob: not found
* CSQL-F-016: UNIX error Return Code is 0001
cob64: error(s) in compilation: PrestMedical.pco
Please Help me to i
Dear Dan,
Precompilation Successful. No Errors or Warnings found.
Statistical Report:
Program name: cobpre
Options specified:
Input file name: PrestMedical.pco
Listing file name:
Target file name: PrestMedical.cbl
ISQL file name:
Tag ID specified:
Compiler used: mf_word
Open Client version: CS-VERSION-150
Number of information messages: 11
Number of warning messages: 0
Number of error messages: 0
Number of SQL statements parsed: 13
Number of host variables declared: 89
Number of SQL cursors declared: 1
Number of dynamic SQL statements: 0
Number of stored Procedures generated: 1
Connection(s) information:
User id:
Server:
Database:
Dear Sir,
I execute this and get an Error, Could you please what was wrong ..???
$ cob -a -v -P -k PrestMedical.pco -C"p(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include">
cob64 -C nolist -CC -KPIC -A -KPIC -N PIC -a -v -P -k PrestMedical.pco -Cp(cobsql) nocst csp CSQLT=syb
cobsqlinclude=/usr/sybase/include
* Micro Focus Server Express V5.1 revision 000 Compiler
* Copyright (C) Micro Focus IP Development Limited 1984-2012.
* Accepted - verbose
* Accepted - nolist
* Accepted - p(cobsql) nocst csp CSQLT(syb
) cobsqlinclude(/usr/sybase/include)
* Accepted - list("PrestMedical.lst")
* Micro Focus Cobsql Integrated Preprocessor
* Compiling PrestMedical.pco
* CSQL-I-004: Accepted nocst
* CSQL-I-006: Rejected csp
* CSQL-I-006: Rejected CSQLT(syb
)
* CSQL-I-006: Rejected cobsqlinclude(/usr/sybase/include)
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-018: Invoking Oracle Precompiler/Translator
sh: procob: not found
* CSQL-F-016: UNIX error Return Code is 0001
cob64: error(s) in compilation: PrestMedical.pco
Please Help me to i
Dear Dan,
Precompilation Successful. No Errors or Warnings found.
Statistical Report:
Program name: cobpre
Options specified:
Input file name: PrestMedical.pco
Listing file name:
Target file name: PrestMedical.cbl
ISQL file name:
Tag ID specified:
Compiler used: mf_word
Open Client version: CS-VERSION-150
Number of information messages: 11
Number of warning messages: 0
Number of error messages: 0
Number of SQL statements parsed: 13
Number of host variables declared: 89
Number of SQL cursors declared: 1
Number of dynamic SQL statements: 0
Number of stored Procedures generated: 1
Connection(s) information:
User id:
Server:
Database: