Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by KiwiREXXDude

  1. KiwiREXXDude

    How to use IBM Utilities in REXX

    You need to use the ALLOC command to define the datasets you use and write to. This is some code I use to copy to a temporary ISPF profile to pre-allocated ISPTLIB (obviously you'll need to allocate it and change the data-class and sysout class); "Alloc Fi(SYSPRINT) Sysout(Z) Reu" "Alloc...
  2. KiwiREXXDude

    Rexx and ISPF panels

    I have done things like that, and recommend calling it as a protected subroutine.
  3. KiwiREXXDude

    Return code position in storage

    That's exactly what I wanted thanks!
  4. KiwiREXXDude

    Return code position in storage

    Thanks Frank. I made a job that set a highest return code of 12 and then ran the code after that step then as part of it and didn't get the result I wanted.
  5. KiwiREXXDude

    Got a problem with ISPT036 with ISPSPROF?

    This is a known problem in batch ISPF where you try and access the ISPSPROF from the ISPTLIB and other jobs are using it even though the disp is share. See http://www-1.ibm.com/support/docview.wss?uid=isg1II02949 for details. What you can do is allocate ISPTLIB to a temporary dataset then use a...
  6. KiwiREXXDude

    Return code position in storage

    Does anyone know the offsets of the highest return code in a job that can be accessed using the storage function? I have written a mini batch scheduler using REXX and it's basically a step that runs at the end of a job and sets a completed flag in a dataset. I was hoping to use storage to...
  7. KiwiREXXDude

    Need VOLSERs from output tape

    Well it looks like the problem is the dataset level you are listing doesn't exist. If you don't use quotes the ListC lists datasets prefixed with your userid, e.g. MYID.XXXX.XXXXDS47.IOFLIST as Frank mentioned. However, you need to bear in mind that ListC lists dataset levels - if you are...
  8. KiwiREXXDude

    Shrink a dataset to smaller column length

    Frank, wouldn't Space do it regardless of the position of the blank? line = Space(line, 0)
  9. KiwiREXXDude

    Need VOLSERs from output tape

    I took did a cut and paste of your code and it works for me. Maybe you need a REXX identifier or are trying to run this as a CList? You are using the right dataset qualifier (please don't consider this insulting - just covering all bases). You should show what error you received.
  10. KiwiREXXDude

    ISPF tables

    You need to remember that the difference is that data in a table is structured in rows and not data like in ISPF edit. Because each row contains data in keys or names, it's not such a simple task as you need to look for the string in either a specific key or name, or all. I would use something...
  11. KiwiREXXDude

    Need VOLSERs from output tape

    You need to use the ALL operand to get the volume. In REXX it would look something like this; Call Outtrap 'OUT.' "ListC Lev('MY.DSN') All" Call Outtrap 'OFF' do i = 1 to OUT.0 select when index(OUT.i, 'NONVSAM') > 0 then , say 'Dataset - 'word(OUT.i, words(OUT.i)) when...
  12. KiwiREXXDude

    Calling VB DLL From REXX

    Have you tried using RXSUBCOM? I haven't done OOREXX for years, but I found this in the help files; RXSUBCOM LOAD loads a subcommand handler dynamic-link library. >>-RXSUBCOM---LOAD---envname---+---------+--------------------->< '-dllname-' Parameters...
  13. KiwiREXXDude

    How to code a rexx exec to display mvs commands using IOF panel

    NewBee, from your original post I get the impression you are trying to display a panel (as Frank explained) but also trying to do IOF work (from the title and the 'address iof' line). IOF has a REXX interface but I haven't been inclined to find out how it works so maybe if you explain what...
  14. KiwiREXXDude

    Grab info from mstr Console

    Hi. Upone reflection I realised that you are trying to run this from a rule. OPS/MVS has 3 area's of execution - from a RULE (what you're doing), from OPSOSF (a TSO address space started task that runs alongside OPS/MVS), and from TSO itself. From memory you can't make the RULE execution too...
  15. KiwiREXXDude

    Grab info from mstr Console

    I assume you're talking about an OPS/MVS rule and it's been a while since I had the pleasure of using it, but I believe you can trap the messages with an output trap if it doesn't queue the results. Something like; Call Outtrap 'RESP.' Address 'OPER' "D J,L" Call Outtrap 'OFF' Do i = 1 to...

Part and Inventory Search

Back
Top