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: 7310
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 Error while fetching the record from ... COBOL Programming 3
No new posts report on job scheduling details in Zeke IBM Tools 2
No new posts IEF085I REGION UNAVAILABLE,ERROR CODE... Java & MQSeries 0
No new posts Print report for each record from mul... CA Products 1
This topic is locked: you cannot edit posts or make replies. Sort card help to prepare status report DFSORT/ICETOOL 13
Search our Forums:

Back to Top