That ALLOC feels like a CMS FILEDEF:
FILEDEF ddname TERMINAL
...is perfectly valid there. More AI slop.

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Charles Mills
Sent: Thursday, August 28, 2025 12:55 PM
To: [email protected]
Subject: BPXWDYN allocate terminal? Equivalent of ALLOC DA(*)

Is there a BPXWDYN function to allocate a DD to the TSO user's current 
terminal? The equivalent of TSO ALLOC DA(*)?

I don't get any hits on <terminal> or <tso> in the BPXWDYN documentation but I 
think of BPXWDYN being a superset of ALLOC.

Why not just use ALLOC? I'd like to use a generated RTDDN, rather than a 
hard-coded DD name.

Charles

P.S. I don't want this thread to digress into an AI rant but I did find it 
amusing that Google AI (apparently?) hallucinates a "TERMINAL" keyword for 
BPXWDYN and suggests

/* Allocate the terminal as a temporary input data set */ call bpxwdyn "alloc 
fi(sysin) terminal"

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to