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 

replacing a value in a DS using file aid

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


Joined: 04 Nov 2004
Posts: 5
Topics: 2

PostPosted: Tue Nov 30, 2004 10:00 am    Post subject: replacing a value in a DS using file aid Reply with quote

Hi,

I basically want to replace a value in a ds - the data set has only one record.

I tried this piece of filaid but I am getting errors, would appreciate some help.

//FILEAID1 EXEC PGM=FILEAID
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//DD01 DD DISP=SHR,DSN=XXX.YYY.ZZZ
//SYSIN DD *
// $$DD01 UPDATE REPL=(5,C'000001')
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Nov 30, 2004 10:14 am    Post subject: Reply with quote

carolanjm,

I don't See any problem with the control cards. Can you post the error messages? Btw Is your input file a VB file?

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
carolanjm
Beginner


Joined: 04 Nov 2004
Posts: 5
Topics: 2

PostPosted: Tue Nov 30, 2004 10:22 am    Post subject: Reply with quote

The error I get is

!!!ERROR 8: MISSING, INVALID OR UNKNOWN STATEMENT TYPE
Sad
Back to top
View user's profile Send private message
carolanjm
Beginner


Joined: 04 Nov 2004
Posts: 5
Topics: 2

PostPosted: Tue Nov 30, 2004 10:23 am    Post subject: Reply with quote

Oh, it is Fixed Block
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Nov 30, 2004 10:29 am    Post subject: Reply with quote

carolanjm,

You had sysin as follows

Code:

//SYSIN DD *
// $$DD01 UPDATE REPL=(5,C'000001')


It should be

Code:

//SYSIN DD *
$$DD01 UPDATE REPL=(5,C'000001')


Note that I removed the // before $$DD01

Hope this helps...

Cheers

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 -> Utilities 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