OBTAIN is strictly for DASD non-VSAM. Instream, and anything else with an ACB behind the scenes, needs RDJFCB but not OBTAIN. For VSAM you should be able to retrieve with CSI.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Monday, February 3, 2025 12:22 PM To: [email protected] Subject: Re: Dynamic information text retrieval info for dataset dcb External Message: Use Caution On Mon, 3 Feb 2025 16:54:15 +0000, Seymour J Metz wrote: >For an allocated dataset you may need RDJFCB and OBTAIN. If it's not allocated >then just OBTAIN. > Does hat work for instream data sets? Facing that question once, I OPENed the file and inspected the DCB. It's probably documented somewhere I don't know about. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
