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

How to move data from STACK TO QUEUE by using BUILT-IN func?


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

New User


Joined: 20 Apr 2006
Posts: 12

PostPosted: Wed Jun 20, 2007 10:35 pm
Reply with quote

Hi,
I have a Stack in my program.I want to move the data from Stack to other Queue.

I think I can do this by taking total no of elements, then reading from the bottom and move to queue.

Is there any other easy method to do this? Is there any built in function to do this?

Can anybody explain how to have many number of STACKS and QUEUES in a same program?

I saw with NEWSTACK command we can create STACKS. But how to retrive the data from old STACK?
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Thu Jun 21, 2007 1:14 am
Reply with quote

You have the following commands to use for these functions.

NEWSTACK
DELSTACK
MAKEBUF
DROPBUF
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 How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top