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 

Change existing write logic to delete logic

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
amarkalyan
Beginner


Joined: 07 Nov 2006
Posts: 1
Topics: 1

PostPosted: Tue Nov 07, 2006 5:19 am    Post subject: Change existing write logic to delete logic Reply with quote

Hi All,

I am new to Rexx, but I have got a requirement to change a exsisting Rexx program(which is currently writing the records) to delete the records.

Current code is as below
Code:

write_xref:                                       
  xref_rec = COPIES(' ',125)                       
  xref_rec = overlay(xref,xref_rec,1,39)           
  xref_rec = overlay(Partner_ID,xref_rec,40,20)   
  xref_rec = overlay(partner_Qual,xref_rec,75,2)   
  xref_rec = overlay(div,xref_rec,79,3)           
  xref_rec = overlay(timestamp,xref_rec,109,16)   
  queue xref_rec                                   
return                                             


Your help is appreciated.
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Tue Nov 07, 2006 8:55 am    Post subject: Reply with quote

Since you construct the records from various variables and the QUEUE them, you can simply omit the call to write_xref.

O.
________
YM1
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF 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