MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

READ VS START

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Samuel
Beginner


Joined: 12 Aug 2004
Posts: 38
Topics: 10

PostPosted: Tue Feb 22, 2005 4:07 pm    Post subject: READ VS START Reply with quote

B100-PROCESSING SECTION.
READ IN-FILE INTO IN-PAYMENT-RECORD
AT END
MOVE 'Y' TO END-OF-FILE-FLAG.
IF IN-PAY-LAST-TRANS-DATE < 50101
MOVE IN-PAY-KEY TO CR-PAY-KEY
READ PAYMENT-FILE
INVALID KEY
DISPLAY 'NO DETAIL REC ' CR-DTL-KEY
GO TO B109-EXIT
NOT INVALID KEY
DELETE PAYMENT-FILE
ELSE
MULTIPLY -1 BY IN-PAY-AMOUNT
MOVE SPACES TO CR-PAYMENT-RECORD
MOVE IN-PAY-SSN TO CR-PAY-SSN
MOVE IN-PAY-PROGRAM-AREA TO CR-PAY-PROGRAM-AREA
MOVE IN-PAY-SEQ TO CR-PAY-SEQ
PERFORM DVR0O2L-WS-CURR-DATE-EXPAND

WHEN ONE WANTS TO DELETE A RECORD FROM A VSAM FILE BASED UPON A KEY SUPPLIED BY AN INPUT FILE, SHOULD HE/SHE USE A READ OR START STATEMENT?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group