IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ERROR while compiling easytrieve report program


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
moumi das
Warnings : 1

New User


Joined: 21 Dec 2009
Posts: 10
Location: Kolkata

PostPosted: Wed Feb 05, 2014 1:47 pm
Reply with quote

Hi,

I was writing a simple report program using easytrieve. But while compilation at my shop it throws an error : 'B043 - Statement cannot have label - Report' .

The code snippet is shown as below :

PARM LINK(MB891C R)
FILE INMAST
IN-NUM 1 4 NA

FILE OUTFILE PRINTER
JOB INPUT INMAST
PRINT REPORT1
END-JOB

REPORT REPORT1 PRINTER OUTFILE
TITLE 1 'ANNUAL REPORT '
LINE IN-NUM

Kindly suggest where am i going wrong.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Feb 05, 2014 3:27 pm
Reply with quote

Can you post from your manual the description of END-JOB? No? Remove it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top