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

how to find the end of file in a sequential file processing?


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bvanilkumar

New User


Joined: 23 Dec 2006
Posts: 10
Location: SYDNEY

PostPosted: Thu May 31, 2007 9:38 am
Reply with quote

I have a file PAYFILE which is read using sequential file processing method(JOB INPUT PAYFILE). I need to have a condition on End of file. How can i do that??

Program Ex:-
FILE PAYFILE IS
SALARY 94 4 P 2
*
JOB INPUT PAYFILE
SALARY = SALARY * 1.1
PRINT UPD-RPT
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu May 31, 2007 12:25 pm
Reply with quote

This is easytrieve right?

JOB INPUT PAYFILE FINISH FIN-PARA

FIN-PARA.
In this para add code to do end of file processing logic
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 IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top