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 strongm 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 oucheeeeee

  1. oucheeeeee

    Read a value from a JCL Stream

    Hi Rexhead, thanks for taking a look. It'd be nice if I could check sysout as I think I could pretty much use my same REXX that reads a line from the INPUTDD. No, this one is simply a JCL stream that runs for numerous processes. ONE of these processes is a prefix file (which has an altidx)...
  2. oucheeeeee

    Read a value from a JCL Stream

    Er.... after seeing previous post..... Full code example NOT required thx, just point and shoot ;-)
  3. oucheeeeee

    Read a value from a JCL Stream

    Hi Folks, Wrote the following code to check the contents of a one line dataset and dependent on what it finds, sets a RC= "EXECIO" 1 "DISKR INPUTDD" 000011 pull line 000012 parse var line drop 115 extract 126 000013 say extract 000014 Select 000015 when extract = 'PTLF_EXTRAC'...
  4. oucheeeeee

    Creating an allocation with variable DSN (on zOS)

    RxUSR certainly DID nail it - When I went back in to check (must admit, I sort of benched this as I thought my other plan would work perfectly well) the allocation error was my own fault as I was trying to copy a VB file into an FB backup. As soon as I rectified this, the routine worked a...
  5. oucheeeeee

    Clean-up the unwanted datasets

    I think more importantly, you need to stop this from getting worse by ensuring your GDG definitions are specifying SCRATCH instead of NOSCRATCH. When you specify SCRATCH on your GDG definition, as soon as a generation rolls off the end (dependent on LIM=) it scratches the catalog entry as it...
  6. oucheeeeee

    Creating an allocation with variable DSN (on zOS)

    Many thanks for the response. I tried the code this morning and although i couldn't get it to create the correct GDG (dynamic allocation wouldn't allow for anything than ABSOLUTE generation) it did lead me further down the path to glory (well - to appease my jefe). As of right now - the...
  7. oucheeeeee

    Creating an allocation with variable DSN (on zOS)

    Hi, I'm trying to find out if it is possible to create a DSN allocation dependent on a variable? I need to backup a VSAM file but want to back it up to it's own GDG not just a generic GDG. IE I have a ring of journals that cycle round each day. The files are called, let's say ABC.P40JRx...
  8. oucheeeeee

    Some simple REXX - Print a VSAM file then check a column (on ZOS)

    Hi, Unfortunately, I hadn't noticed the lack of support for VSAM files at the time I wrote the initial question. I did find that out around 30 minutes later - I have repro'd the file to a flat file. How would I read that file and set a return code dependannt on the value in col 105. I can do...
  9. oucheeeeee

    Some simple REXX - Print a VSAM file then check a column (on ZOS)

    Hi, I'm trying to write a rexx routine (and I've never used REXX before)to simply check col 105 in a one line VSAM file. If col 105 contains a 'P' then end with RC = (say) 01 If col 105 contains 'T' then end return code = 02 This needs to run in JCL so I'm using IKJEFT01 I'd be gratefull if...

Part and Inventory Search

Back
Top