IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

need help on other than using queue method


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Wed Dec 03, 2008 4:15 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Dec 03, 2008 4:20 pm
Reply with quote

Where are these "copied" lines coming from ?
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Wed Dec 03, 2008 4:36 pm
Reply with quote

copying manually and pasting inbetween quotes
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Dec 03, 2008 4:57 pm
Reply with quote

Use the STEM keyword and save the data in variables. I find it much safer.

O.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Dec 03, 2008 10:12 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts MQ response when MQGET of a stopped q... Java & MQSeries 2
No new posts IOF Output Queue & REXX(?) All Other Mainframe Topics 2
No new posts IMS queue causing page through diffic... IMS DB/DC 1
No new posts temporary storage queue CICS 4
Search our Forums:

Back to Top