11) Data Stacks Instructions QUEUE, PUSH. Built-in function QUEUED()

Slides:



Advertisements
Similar presentations
© 2008 Oracle Corporation – Proprietary and Confidential.
Advertisements

Scenario Overview Purpose and Benefits: Purpose
Reduce Cost & Complexity Partner logo here Presenters Name (16pt) Presenters Title (14pt) Company/ (14pt) Manage and Deploy Applications using Virtualization.
© 2013 Sri U-Thong Limited. All rights reserved. This presentation has been prepared by Sri U-Thong Limited and its holding company (collectively, “Sri.
© 2014 Microsoft Corporation. All rights reserved.
CA ERwin r8 installing the application things you should know before installing your CA ERwin r8 Data modeling application.
IMPORTANT READ CAREFULLY BEFORE USING THIS PRODUCT LICENSE AGREEMENT AND LIMITED WARRANTY BY INSTALLING OR USING THE SOFTWARE, FILES OR OTHER ELECTRONIC.
Protecting and Maximizing Value of Contractor Intellectual Property Under Government Contracts Presented By: William A. Shook and G. Matthew Koehl October.
Research Development for Android Coopman Tom. What is Android?  Smartphone operating system  Google  Popular  ‘Easy to develop’  Open-Source  Linux.
Burnslev.com © 2013 Burns & Levinson LLP Allocating and Mitigating Contractual Risk ACC – NE Corporate Counsel Institute June 12, 2013 Alan M. Block, John.
Jul The New Geant4 License J. Perl The New Geant4 License Makes clear the user’s wide- ranging freedom to use, extend or redistribute Geant4, even.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved How do I Get Started with PlanAhead?
Aerospace Industries Association Intellectual Property Committee Fall 2009 meeting SMC Enabling Clause Holly Emrick Svetz (703)
Benefits of a SUSE ® Subscription Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
Adding Genes This presentation gives a quick overview on how to add Genes to Osprey.
Adapted from instructor resources Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights.
End User License Agreement Permission to use and redistribute this Document is granted, provided that (1) the below copyright notice appears in all copies.
Andrew McNab - License issues - 10 Apr 2002 License issues for EU DataGrid (on behalf of Anders Wannanen) Andrew McNab, University of Manchester
Copyright ©2006 CA. All rights reserved. All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.
International Telecommunication Union New Delhi, India, December 2011 ITU Workshop on Standards and Intellectual Property Rights (IPR) Issues Philip.
Changing Databases This presentation gives a quick overview on how to change databases in Osprey.
National Alliance for Medical Image Computing Licensing in NAMIC 3 requirements from NCBC RFA (paraphrased)
Legal Disclaimers Accuracy Every effort is made to provide information that is accurate. However any information contained in this website or the “article.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Manage Receipts.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Put Away Loads.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Manage Supplier Returns.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Manage and Disposition Inventory Returns.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Inspect Material.
1 Pick and Scan Voyager 9. 2 Copyright Statement All of the information and material inclusive of text, images, logos, product names is either the property.
Government Contract Law – Post Award Shraddha Upadhyaya Contract Law Division U.S. Department of Commerce Office of General Counsel GSA Training Conference.
Adding Interactions This presentation gives a quick overview on how to add interactions into Osprey.
Rexx Programming1 REXX Programming. Rexx Programming2 INTRODUCTION What is REXX ?  REstructured eXtended eXecuter  Simple Programming Language  Can.
Oracle E-Business Suite R12.1 Accounts Payables Partner Boot Camp Training Courseware Part VIII – Transaction Taxes in Payables.
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2008 Oracle Corporation – Proprietary and Confidential.
1 of 26 For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential.
-1- For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential Oracle.
Copyright ©2006 CA. All rights reserved. All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.
Android Storage MAY 2013 Hu.Cai. NAME OF PRESENTATION [CHANGE IN SLIDE MASTER] MONTH, YEAR [CHANGE IN SLIDE MASTER] Outline 1.Storage In General 2.SharedPreferences.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Oracle Proprietary and Confidential. 1.
Copyright ©2006 CA. All rights reserved. All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.
Connectivity to bank and sample account structure
Resource Management in OGSA
ADP Product Suite Integration – New Hire Workflow
Redesign of AppArmor Modules in YaST
Copyright © 2017 Lauren Anderson
5) Debugging and error trapping
4) Flow control Logical operators, comparative operators Instructions:
Stack Lesson xx   This module shows you the basic elements of a type of linked list called a stack.
Pointers and Linked Lists
Automation in an XML Authoring Environment
7) Built-in functions Built-in Function overview,
Motivation for 36OU Open Rack
User Pays User Committee 26th October 2009 Change Management
3) Parsing Instructions: PARSE, ARG, Patterns.
9) ADDRESSing Each line that is not resolved as a REXX code is treated as a command and passed to environment. By REXX instruction ADDRESS you can specify.
12) Panels Panels: ISPF Resources: ISPF Dialog Developer's Guide
BEMS user Manual Fundación cartif.
© 2013 Sri U-Thong Limited. All rights reserved
[Most of the details about queues are left for to read about and work out in Lab 6.] Def. As a data structure, a queue is an ordered collection of data.
2019 MEDICARE AGE-IN STUDY SENIOR MARKET INSIGHTS SERVICE Part IV
Presentation transcript:

11) Data Stacks Instructions QUEUE, PUSH. Built-in function QUEUED() TSO commands and functions for work with stacks: DELSTACK, DROPBUF, MAKEBUF, NEWSTACK QBUF QELEM QSTACK Resources: TSO REXX Reference Chapter 10. TSO/E REXX Commands This course has been prepared by Milos Forman for MCoE needs only!

PROPRIETARY AND CONFIDENTIAL INFORMATION These education materials and related computer software program (hereinafter referred to as the "Education Materials") is for the end user’s informational purposes only and is subject to change or withdrawal by CA, Inc. at any time. These Education Materials may not be copied, transferred, reproduced, disclosed or distributed, in whole or in part, without the prior written consent of CA. These Education Materials are proprietary information and a trade secret of CA. Title to these Education Materials remains with CA, and these Education Materials are protected by the copyright laws of the United States and international treaties. All authorized reproductions must be marked with this legend. RESTRICTED RIGHTS LEGEND TO THE EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, GOODWILL OR LOST DATA, EVEN IF CA IS EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE. THE USE OF ANY PRODUCT REFERENCED IN THIS DOCUMENTATION AND THIS DOCUMENTATION IS GOVERNED BY THE END USER’S APPLICABLE LICENSE AGREEMENT. The manufacturer of this documentation is CA, Inc. Provided with "Restricted Rights" as set forth in 48 C.F.R. Section 12.212, 48 C.F.R. Sections 52.227-19(c)(1) and (2) or DFARS Section 252.227.7013(c)(1)(ii) or applicable successor provisions.

Data Stack Stacks – a method to store data in memory without using variables. Notice the difference between stack and queue: stack works as LIFO, queue works as FIFO.

Data Stack - Manipulating with data PARSE PULL PARSE EXTERNAL Use PARSE EXTERNAL to read from terminal.

QUEUE Queue will put the data in the stack in FIFO order. This course has been prepared by Milos Forman for MCoE needs only!

QUEUE example PARSE PULL will remove the data from the stack one line at a time. The data will be pulled into a variable. It can be useful under TSO to only use EXTERNAL instead of PULL when working with stacks, PARSE PULL will go to a stack for data before the screen. See ‘MCOE.REXA.REXX(RX201114)’ This course has been prepared by Milos Forman for MCoE needs only!

PUSH PUSH will put the data in the stack in LIFO order. This course has been prepared by Milos Forman for MCoE needs only!

PUSH example There is a mistake in this slide. It is just copy/paste from the previous one. Here should be PUSH instead of QUEUE. I prefer to use QUEUE - see ‘MCOE.REXA.REXX(FTPCOM)’ See ‘MCOE.REXA.REXX(RX201116)’ This course has been prepared by Milos Forman for MCoE needs only!

QUEUED() This course has been prepared by Milos Forman for MCoE needs only!

QUEUED() Example The QUEUED() function will return how many items are in the stack, and can be used to loop until the stack is empty. See ‘MCOE.REXA.REXX(RX201117)’ This course has been prepared by Milos Forman for MCoE needs only!

QUEUED() Example (cont.) This course has been prepared by Milos Forman for MCoE needs only!

Multiple Buffers and Stacks More than one stack can be used at any time, but you can only access the current stack. The current stack has to be deleted to access the stacks behind it.

MAKEBUF Let us look to some TSO REXX commands working with stacks. This course has been prepared by Milos Forman for MCoE needs only!

NEWSTACK This course has been prepared by Milos Forman for MCoE needs only!

DELSTACK After the DELSTACK the previous stack is accessed. This course has been prepared by Milos Forman for MCoE needs only!

DROPBUF This course has been prepared by Milos Forman for MCoE needs only!

DROPBUF (cont.) This course has been prepared by Milos Forman for MCoE needs only!

QBUF This course has been prepared by Milos Forman for MCoE needs only!

QBUF (cont.) This course has been prepared by Milos Forman for MCoE needs only!

QELEM This course has been prepared by Milos Forman for MCoE needs only!

QELEM This course has been prepared by Milos Forman for MCoE needs only!

QSTACK This course has been prepared by Milos Forman for MCoE needs only!

QSTACK (cont.) This course has been prepared by Milos Forman for MCoE needs only!

Multiple Stacks example “NEWSTACK” creates an additional stack in front of the current stack. The newstack has to be removed before the data on the original stack can be retrieved. “DELSTACK” deletes the current stack. “QSTACK” returns the number of stacks into RC. See ‘MCOE.REXA.REXX(RX20111A)’ This course has been prepared by Milos Forman for MCoE needs only!

Unused Stack Data Putting TSO commands on the stack allows them to be executed on completion of the REXX program. See ‘MCOE.REXA.REXX(RX20111B)’ This course has been prepared by Milos Forman for MCoE needs only!

EXECIO and Stacks The data stack can be used with EXECIO instead of using STEM variables by removing the STEM option and variable. See ‘MCOE.REXA.REXX(RX20111C)’

Work Section 11.1 Write it and test it.

Work Section 11.2 Write it and test it.

Additional Program Write it and test it.