Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

need help on other than using queue method

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: need help on other than using queue method
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: 8593
Location: Back in jolly old England

PostPosted: Wed Dec 03, 2008 4:20 pm    Post subject:
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    Post subject: Reply to: need help on other than using queue method
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: 2360
Location: Israel

PostPosted: Wed Dec 03, 2008 4:57 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Dec 03, 2008 10:12 pm    Post subject: Reply to: need help on other than using queue method
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 2 Tue May 09, 2017 6:31 pm
No new posts Need help with Oracle Dynamic SQL: Me... Anoop Chandran1984 COBOL Programming 1 Sat Feb 13, 2016 7:27 am
No new posts Use ISAM access method in COBOL Chetan Kumar COBOL Programming 18 Tue Oct 13, 2015 10:28 pm
No new posts CA-7 queue reallocation Kamil Tluczek CA Products 4 Thu Sep 17, 2015 12:44 am
No new posts Best Method/Utility to modify HEX val... MrExtraordinare JCL & VSAM 6 Mon Mar 09, 2015 10:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us