Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

custom activex for cobol access file 1

Status
Not open for further replies.

veneto

Programmer
Jan 3, 2004
5
IT
how i can access to fujitsu cobol file into an custom ocx ?
if i use the classic istruction like:

ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT MVEX ASSIGN TO WEXT-MVEX
ORGANIZATION IS INDEXED
ACCESS MODE IS DYNAMIC
......
DATA DIVISION.
FILE SECTION.
FD mvex BLOCK 2 RECORDS RECORD 256 LABEL RECORD STANDARD.
..........

compiler say:
FjCob97CmpScr1(8) : JMN1686I-S PROGRAM DEFINITION CAN BE SPECIFIED IN LABEL RECORDS CLAUSE

 
Try dropping the BLOCK, LABEL and RECORD clauses from your FD. It's not supposed to look at them but it appears it may be.
 
THANK YOU, THAT'S TRUE. IT'S ENOUGH WRITING:
FD mvex BLOCK 2 RECORDS RECORD 256.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top