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 

Question on record reading and deleting
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Thu May 24, 2007 2:24 pm    Post subject: Reply with quote

read the input file; match against other file. If a match write needed info to output file 1, if no match write to output file 2. Tomorrow add records to output file 2 and use that as input file 1.This is fairly typical cycle.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
suma
Beginner


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Thu May 24, 2007 3:36 pm    Post subject: Reply with quote

Kolusu,

"Did you read the link carefully? The record from an ESDS can be deleted logically , but not physcially. "

One more thing you might have obseved they gave a DELETE statement which won't work for sequential type of file...

thanks
suma
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu May 24, 2007 3:47 pm    Post subject: Reply with quote

Suma,

Quote:

One more thing you might have obseved they gave a DELETE statement which won't work for sequential type of file...


Well...What are you trying to convey to Kolusu ??? This is what Kolusu meant by ESDS can be deletely Logically - ONLY.

Thanks,
Phantom
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu May 24, 2007 3:47 pm    Post subject: Reply with quote

suma,
Quote:

One more thing you might have obseved they gave a DELETE statement which won't work for sequential type of file...


on an IBM computer with stock IBM compilers.

Both type of deletes work at the Unv of Northern Ill

probably because they re-wrote their compiler.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
suma
Beginner


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Thu May 24, 2007 3:54 pm    Post subject: Reply with quote

Thank you all for helping....

I used the Dick Brenholtz's logic...special thanks to Dick Brenholtz.

this is a good learning for me. Very Happy


thanks
Suma
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
Goto page Previous  1, 2, 3
Page 3 of 3

 
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