View previous topic :: View next topic
|
Author |
Message |
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
For example : There are 10 lines in a member and i am writing in PS file using like below after copying each line manually
Code: |
alloc DD(PSFILE)DA("MYDSN") OLD
outline = "first copied line "
queue outline
outline = "second copied line "
queue outline
:
:
:
"EXECIO "QUEUED()" DISKW PSFILE (FINIS"
"FREE PSFILE |
in the above method for 10 to 20 line writing this method is ok but if it is 200 lines--its difficult to write in this manner is there any other method |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Where are these "copied" lines coming from ? |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
copying manually and pasting inbetween quotes |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Use the STEM keyword and save the data in variables. I find it much safer.
O. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
I think there are only two ways to do it: QUEUE or using STEM.
And you already ruled out QUEUE. See the doc for EXECIO . |
|
Back to top |
|
|
|