The ampersand for temporary dataset names is a JCL convention, not a TSO convention.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Support, DUNNIT SYSTEMS LTD. [[email protected]] Sent: Monday, January 17, 2022 10:36 AM To: [email protected] Subject: Re: TSO RECEIVE prompt for output temporary dataset It seems to despise the double ampersand temp DSNAME to begin with: PROF NOPROMPT READY RECEIVE INDA('my.pds(memname)') Dataset DDNAME.TEMP1 from USER1 on N1 Enter restore parameters or 'DELETE' or 'END' + The input file attributes are: DSORG=PARTITIONED, RECFM=FB, BLKSIZE=27920, LRECL... You may enter DSNAME, SPACE, UNIT, VOL, OLD/NEW, or RESTORE/COPY/DELETE/END MISSING DSNAME AND OTHER ALLOCATION KEYWORDS+ MISSING NAME OF DATASET TO BE CREATED EXTRANEOUS INFORMATION WAS IGNORED: &&TEMP2 RECEIVE command terminated. Failure in command syntax checking. + The command was incomplete or in error, but prompting was inhibited. READY END ---------------------------------------------------------------------- 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
