ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » errors importing a COBOL copybook

Post new topic  Reply to topic
 errors importing a COBOL copybook « View previous topic :: View next topic » 
Author Message
pfaulkner
PostPosted: Mon Dec 16, 2002 1:45 pm    Post subject: errors importing a COBOL copybook Reply with quote

Master

Joined: 18 Mar 2002
Posts: 241
Location: Colorado, USA

I have a pretty straight forward COBOL copybook I need to import but I get the following errors..


[error 1] file 'C:\download\sandspf\FOFNISMC.CPY', line 2: syntax error

actual: Identifier expecting: IDENTIFICATION

Invalid level number for the line [ INVOICE-SUMMARY-RECORD ]

The Identifier [IS-CUST-NBR] is an 05 level with a pic field and has not been imported

The Identifier [IS-DIVISION] is an 05 level with a pic field and has not been imported


My Copybook looks like this...
01 FOFNISMC-COPYBOOK.
03 INVOICE-SUMMARY-RECORD.
05 IS-CUST-NBR PIC X(.
05 IS-DIVISION PIC X(2).
05 IS-SERVICE-CODE PIC X(1).
05 IS-BILL-CYCLE PIC X(2).
05 IS-CURR-BILL-PAY PIC X(2).
05 IS-CURR-BILL-PAY-DATE PIC X(.
05 IS-PREV-BILL-PAY PIC X(2).
05 IS-PREV-BILL-PAY-DATE PIC X(.
05 IS-DR-LAST-PAYMENT-DATE PIC X(.
05 IS-DR-LAST-PAYMENT-AMT PIC X(09).
05 FILLER PIC X(15).
05 IS-NUM-MONTHS PIC X(2).
05 IS-NUM-MONTHS-R REDEFINES IS-NUM-MONTHS PIC 9(2).
05 IS-DATA OCCURS 1 TO 12 TIMES
DEPENDING ON IS-NUM-MONTHS-R
INDEXED BY MONTHIDX.
10 IS-IND PIC X(2).
10 IS-TRANS-DATE PIC X(6).
10 IS-NBR PIC X(.
10 IS-TOT-INVOICES-AMT PIC X(9).
10 IS-TOT-PAYMNTS-AMT PIC X(9).
10 IS-TOT-ADJUSTMNTS-AMT PIC X(9).
10 IS-TOT-PREV-BAL-AMT PIC X(9).
10 IS-AMT PIC X(9).
10 IS-CALLS-AMT PIC X(9).
10 IS-CRD-AMT PIC X(9).
10 IS-TAXES-AMT PIC X(9).
10 IS-CHARGES-AMT PIC X(9).
10 IS-TOT-LOCAL-ADJUSTMNTS-AMT PIC X(9).
10 FILLER PIC X(13).
Back to top
View user's profile Send private message AIM Address
Lisa
PostPosted: Mon Dec 16, 2002 3:10 pm    Post subject: Copybook Reply with quote

Master

Joined: 07 Jun 2002
Posts: 287
Location: NJ

Your group should start in column 8.

Lisa
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » errors importing a COBOL copybook
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.