View previous topic :: View next topic
|
Author |
Message |
JOYEETA PAUL Currently Banned New User
Joined: 18 Sep 2008 Posts: 17 Location: bangalore
|
|
|
|
I am using a rexx prog where I want to use code where I want
to give starting position to write "M" numbers of lines from a PS file.
I used this code :
"EXECIO" M "DISKW MYDDM N (STEM LINES. OPEN"
MYDDM is my file's ddname
M is the no of lines I want to write.
N should be my starting position
But this code is not working for me.
It is giving the error:
IRX0615E EXECIO "linenum" parameter is not allowed with DISKW.
Can anybody help me? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Please review the syntax for the EXECIO command:
EXECIO lines DISKW ddname (write parms
where lines is either * or the number of lines to write
ddname is the required ddname
write parms are (STEM stemname OPEN or FINIS
there is no such thing as a "starting position" on a write. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
(I have never used this)
I think you want to read with DISKRU to position to the correct record, then follow with DISKW. But read the book first. |
|
Back to top |
|
|
|