View previous topic :: View next topic
|
Author |
Message |
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 Location: INDIA
|
|
|
|
Hi ,
I am trying to write new record in PS file through REXX and for same I have written below code.
It's executing correctly however when I am checking dataset ..the record is not added.
SDSN = "USBD948.LIQUID.UPDATE"
WREC = "ashish"
" ALLOC DA('"SDSN"') F(WREC) SHR REUSE
" EXECIO *DISKW WREC (FINIS STEM WREC."
"FREE FI(WREC)" |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Note that there is a difference between WREC, a scalar variable, and WREC., a stem; the dot is significant. Your second line should be:
|
|
Back to top |
|
|
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 Location: INDIA
|
|
|
|
Akatsukami wrote: |
Note that there is a difference between WREC, a scalar variable, and WREC., a stem; the dot is significant. Your second line should be:
|
Thanks It's working now !! |
|
Back to top |
|
|
|