{"id":48577881,"url":"https://github.com/jonathanprince/racf-listdsds","last_synced_at":"2026-04-08T16:03:46.634Z","repository":{"id":343420203,"uuid":"1174279385","full_name":"JonathanPrince/RACF-LISTDSDs","owner":"JonathanPrince","description":"Simple job to iterate over a list of datasets to run listdsd and capture the output","archived":false,"fork":false,"pushed_at":"2026-03-10T09:49:46.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-10T15:59:41.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JonathanPrince.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-06T09:06:33.000Z","updated_at":"2026-03-10T09:49:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/JonathanPrince/RACF-LISTDSDs","commit_stats":null,"previous_names":["jonathanprince/racf-listdsds"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/JonathanPrince/RACF-LISTDSDs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanPrince%2FRACF-LISTDSDs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanPrince%2FRACF-LISTDSDs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanPrince%2FRACF-LISTDSDs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanPrince%2FRACF-LISTDSDs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonathanPrince","download_url":"https://codeload.github.com/JonathanPrince/RACF-LISTDSDs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanPrince%2FRACF-LISTDSDs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-08T16:03:46.434Z","updated_at":"2026-04-08T16:03:46.629Z","avatar_url":"https://github.com/JonathanPrince.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RACF LISTDSD Batch Runner\n\nThis repository contains a basic batch pattern for running RACF `LISTDSD` for many dataset names/patterns on z/OS.\n\n## Files\n\n- `LSTDSD.jcl`: JCL that runs `IKJEFT01` and invokes the REXX exec.\n- `LSTRACF.rexx`: REXX exec that reads input DSNs and runs:\n  - `LISTDSD DA('\u003cdsn\u003e') ALL GENERIC`\n- `DSNLIST.txt`: Example input list format (one dataset or pattern per line).\n\n## How It Works\n\n1. `IKJEFT01` starts a TSO batch environment.\n2. `EXEC 'YOUR.REXX.EXEC.LIB(LSTRACF)'` is called from `SYSTSIN`.\n3. `LSTRACF` reads `DD INLIST`.\n4. For each entry, it runs `LISTDSD`.\n5. Output is trapped with `OUTTRAP` and written with `SAY` to `DD SYSTSPRT`.\n\n## Prerequisites\n\n- RACF command authority to run `LISTDSD` for target profiles.\n- A REXX library (PDS/PDSE) containing member `LSTRACF`.\n- Input dataset allocated and referenced by `INLIST`.\n\n## Setup\n\nUpdate these DSNs in `LSTDSD.jcl`:\n\n- `SYSTSIN` command: `EXEC 'YOUR.REXX.EXEC.LIB(LSTRACF)'`\n- `INLIST DD DSN=YOUR.INPUT.DSN.LIST`\n- `SYSTSPRT DD DSN=YOUR.OUTPUT.LISTDSD.REPORT`\n\nCopy the REXX source into your exec library as member `LSTRACF`, and reference that fully-qualified member DSN in `SYSTSIN`.\n\n## Input Format\n\n`INLIST` should contain one value per line, for example:\n\n```txt\nHLQ.APP.FILE1\nHLQ.APP.**\nSYS1.PARMLIB\n```\n\nNotes:\n- Blank lines are ignored.\n- Comment lines are not currently handled specially.\n- Optional surrounding single quotes are not currently removed.\n\n## Run\n\nSubmit `LSTDSD.jcl` after updating DSNs.\n\n## Output\n\n- Primary report and runtime messages: `SYSTSPRT` dataset (`YOUR.OUTPUT.LISTDSD.REPORT`).\n\n## Analysis\n\nExample PowerShell to get a list of all IDs that have ALTER/UPDATE accesss:\n```\nsls -Path .\\records.txt -Pattern \"^(\\S+)\\s+(ALTER|UPDATE)\" | % { $_.Matches.Groups[1].value } | sort -u\n```\nTo get the records for any IDs that are questionable use listdsd-parser.ps1:\n```\n.\\listdsd-parser.ps1 -InPath records.txt -OutPath output.txt -IDs USER01,GROUP3,USER04\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanprince%2Fracf-listdsds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanprince%2Fracf-listdsds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanprince%2Fracf-listdsds/lists"}