clist

How do I copy a member with a REXX/CLIST batch program (no ISPF)?

Under z/OS, I want to write a REXX or CLIST script to copy one sequential data set to another and then run another script (REXX). The other script expects a specific SDS to exist and I want to be able to copy one of many options to that member before running the second script. This is from TSO so I don't have access to any of the fancy I...

What are the relative merits of REXX and CLISTs under z/OS?

What are the advantages and disadvantages of using either REXX or CLISTs in TSO for z/OS? My understanding is that CLISTs are just an older command language but we seem to receive a lot of new software using them, even though REXX is now standard with the operating system. Is there some reason why CLISTs are preferred, especially given...

Is there a TSO command written in REXX or CLIST that can determine WHO has enqueued a dataset?

I need to write a REXX Exec or Clist to identify WHO has enqueued a Dataset and display a user friendly message on an ISPF dialog application. Due to system configuration issues, the %WHOHAS command is not available. However I also know that ISPF itself (Option 3.4) has proprietary hooks into the zos mainframe to display the enqueued r...

Can CLIST access PDS member and GDG file?

I need to check a string in a GDG file, for example, to check 'ABCDEFG' in file : AAA.BBB.CCC.DDD(0). IF YES, append this string 'ABCDEFG' to the bottom of a PDS member: ABD.EFG.HIG(NAMES). IF BOTH FILES ARE PSD FILES, there is no problem, while I changed to GDG and PDS member, it didn't work. My Clist program can not allocate a ...