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 All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts U0016 error in JCL JCL & VSAM 4
No new posts After newcopy the CICS program user f... CICS 7
No new posts python on z/OS error no encoding decl... Testing & Performance 0
No new posts Starting a CICS Transaction from a Th... CICS 0
Search our Forums:


Back to Top