View previous topic :: View next topic |
Author |
Message |
carolanjm Beginner
Joined: 04 Nov 2004 Posts: 5 Topics: 2
|
Posted: Tue Nov 30, 2004 10:00 am Post subject: replacing a value in a DS using file aid |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Nov 30, 2004 10:14 am Post subject: |
|
|
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 |
|
 |
carolanjm Beginner
Joined: 04 Nov 2004 Posts: 5 Topics: 2
|
Posted: Tue Nov 30, 2004 10:22 am Post subject: |
|
|
The error I get is
!!!ERROR 8: MISSING, INVALID OR UNKNOWN STATEMENT TYPE
 |
|
Back to top |
|
 |
carolanjm Beginner
Joined: 04 Nov 2004 Posts: 5 Topics: 2
|
Posted: Tue Nov 30, 2004 10:23 am Post subject: |
|
|
Oh, it is Fixed Block |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Nov 30, 2004 10:29 am Post subject: |
|
|
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 |
|
 |
|
|