The problem is you cannot use it in batch job. The documentation is *incorrect* - among many "working" symbols it provides few actually not working. Simple test: copy all of the symbols to a job, make DSN=&S1..&S2..&S3..  etc. Don't worry about DSNname syntax. Then submit the job with TYPRUN=SCAN and watch the output. You will see which symbols were substituted and which symbols left unrecongnized.

--
Radoslaw Skorupka
Lodz, Poland






W dniu 2018-06-06 o 16:26, Sean Gleann pisze:
Can anyone point out what I'm doing wrong here, please?


I'm trying to create a file with a name that features today's date.
My statement is:
//OUTFILE DD   DSN=BACKUP.USERDALY.D&LYYMMDD.TER,
//          DISP=(NEW,CATLG,DELETE),SPACE=(TRK,(600,600),RLSE),
//          DSORG=PS,RECFM=FB,BLKSIZE=27648,LRECL=1024

When I submit the job to the system, I get:

IEFC627I INCORRECT USE OF AMPERSAND IN THE DSN FIELD

I've tried numerous variants of this statement, but I always get the same
failure.
I'm almost certainly doing something stupid, but right now I can't see the
wood for the trees...


Help...  Please...

======================================================================


       --
Treść tej wiadomości może zawierać informacje prawnie chronione Banku 
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie 
jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem 
niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania 
adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne działanie o podobnym charakterze jest prawnie zabronione i może być 
karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie 
zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość 
włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is 
intended solely for business use of the addressee. This e-mail may only be 
received by the addressee and may not be disclosed to any third parties. If you 
are not the intended addressee of this e-mail or the employee authorized to 
forward it to the addressee, be advised that any dissemination, copying, 
distribution or any other similar activity is legally prohibited and may be 
punishable. If you received this e-mail by mistake please advise the sender 
immediately by using the reply facility in your e-mail software and delete 
permanently this e-mail including any copies of it either printed or saved to 
hard drive.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, 
www.mBank.pl, e-mail: kont...@mbank.plsąd Rejonowy dla m. st. Warszawy XII 
Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców 
KRS 0000025237, NIP: 526-021-50-88. Według stanu na dzień 01.01.2018 r. kapitał 
zakładowy mBanku S.A. (w całości wpłacony) wynosi 169.248.488 złotych.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to