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 

easytrieve, "put" statement fails to change output

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


Joined: 11 Oct 2004
Posts: 1
Topics: 1

PostPosted: Mon Oct 11, 2004 11:46 am    Post subject: easytrieve, "put" statement fails to change output Reply with quote

Easytrieve frustrates me with what should be a simple file processing function. If I want to write data to a new file with some fields changed from what they were on the input file, I often get stuck in this situation:

It appears that the input record is copied to a buffer and the bufferized data will keep a change that I make, referencing the input field names, because I can see the report contains the altered data, but the output file will revert back to the original input. I have tried differing combinations of put and move statements but I can't get it to work. I'm using automatic input and I'm trying to avoid setting up separate interim working storage fileds for the record. I've also tried referencing the field names in the output file, to no avail. In the manual I've seen a description of data access modes, local and move(?).
Back to top
View user's profile Send private message  
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Mon Oct 11, 2004 11:50 am    Post subject: Reply with quote

vocalisa,

Please put down your requirement with a sample of input data and desired output. Is this something related to printing the numbers with an embedded decimal point?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website  
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