DYNALLOC can return ddname and dsname information for your own job but not for another job. For a different job you need SSI.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Rupert Reynolds <[email protected]> Sent: Friday, August 1, 2025 5:41 AM To: [email protected] <[email protected]> Subject: Re: Where to find DDnames to match JES DSNAME External Message: Use Caution A bit of a guess here (long time since I did this kind of thing), but can SVC 99 return the associated dataset name for these temporaries? Roops On Fri, 1 Aug 2025, 05:53 salva, <[email protected]> wrote: > Brian, > > If you're going to use the Spool Dataset Browse interface, you must define > your SYSOUT of interest like this: > > //SYSOUT DD SYSOUT=*,DSNAME=&&MYOUT > > Then, you can use wildcard characters to access it: > > USERID.JOBNAME.JOBnnnnn.*.MYOUT > > Hope this helps. > > El vie, 1 ago 2025 a las 4:01, Brian Westerman (< > [email protected]>) escribió: > > > Hi, > > > > Does anyone have assembler code to figure out the DDNAME to JES DSNAME > > match under JES2? > > > > For instance, the JES DSNAME for a DD is built under the format of: > > USERID.JOBNAME.JOBnnnnn.D000nnnn.? > > > > > > If I have the UserID, JOBNAME and JOBnumber, and know that I want to get > > the SYSPRINT from STEP01 of a job, is there a table that is kept somwhere > > that puts the STEPNAME|PROCSTEP|DDNAME together with the JES2 dataset > name > > so that I can pull it up via spool browse? > > > > I know it must be there somewhere because SDSF seems to know it, i just > > can't figure out where that type of information is kept in a format that > i > > can query, so that if I want to pull up the SYSPRINT output from STEP01 > of > > a job, that I can use that to create the D000nnnn number to get taht > > particular DD and only that one. > > > > I know that some of the JES DD's have specific numbers like for JESJCL, > > etc. But the rest of the DD's are not static, at least they don't appear > > to be. > > > > Thanks for any help you can provide. > > > > Brian > > > > ---------------------------------------------------------------------- > > 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 > ---------------------------------------------------------------------- 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
