Look if your jobclass is defined as SYSSYM=ALLOW
Atenciosamente / Regards / Saludos BANCO BRADESCO S.A. 4250 / DPCD Engenharia de Software Sistemas Operacionais Mainframes Ituriel do Nascimento Neto Tel: +55 11 3684-9602 R: 49602 3-1404 Fax: +55 11 3684-4427 Banco Bradesco. Patrocinador oficial dos Jogos Olímpicos e Paralímpicos Rio 2016. -----Mensagem original----- De: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] Em nome de Jerry Whitteridge Enviada em: quinta-feira, 21 de julho de 2016 16:59 Para: IBM-MAIN@LISTSERV.UA.EDU Assunto: Re: EXTERNAL: System symbols in batch JCL Skip - try closing the symbolic with a dot DSN= TSOSKIP.REPORT.D&LDATE..T<IME. Jerry Whitteridge Manager Mainframe Systems & Storage Albertsons - Safeway Inc. 925 738 9443 Corporate Tieline - 89443 If you feel in control you just aren't going fast enough. -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Jesse 1 Robinson Sent: Thursday, July 21, 2016 12:54 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: EXTERNAL: System symbols in batch JCL I'm trying to use system symbols in batch JCL under z/OS 2.1. Specifically, I'd like to create a DSN like this: TSOSKIP.REPORT.D-local-date.T-local-time I've perused KC but still cannot get to work. Now maybe DSN simply does not allow embedded symbolics, but I did not see that prohibition. Here's what I get. 3 // SET D=&LDATE 4 // SET T=<IME //* 5 //TIMETEST EXEC PGM=IKJEFT01 6 //SYSTSIN DD * 7 //SYSTSPRT DD DISP=(,CATLG),SPACE=(TRK,1),RECFM=FB,LRECL=80, // UNIT=SYSALLDA, // DSN= TSOSKIP.REPORT.D&D..T&T IEFC653I SUBSTITUTION JCL - DISP=(,CATLG),SPACE=(TRK,1),RECFM=FB,LRECL=80,UNIT=SYSALLDA, DSN= TSOSKIP.REPORT.D&LDATE.T<IME . MESSAGE 7 IEFC627I INCORRECT USE OF AMPERSAND IN THE DSN FIELD I read that system symbols must be enabled by class, which I did for class A: $HASP837 JOBCLASS(A) SYSSYM=ALLOW But it looks like my job is failing at conversion and never getting to execution. Shouldn't this be easy? ;-) . . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 323-715-0595 Mobile 626-302-7535 Office robin...@sce.com<mailto:robin...@sce.com> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ________________________________ Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately. ________________________________ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN AVISO LEGAL <br>...Esta mensagem é destinada exclusivamente para a(s) pessoa(s) a quem é dirigida, podendo conter informação confidencial e/ou legalmente privilegiada. Se você não for destinatário desta mensagem, desde já fica notificado de abster-se a divulgar, copiar, distribuir, examinar ou, de qualquer forma, utilizar a informação contida nesta mensagem, por ser ilegal. Caso você tenha recebido esta mensagem por engano, pedimos que nos retorne este E-Mail, promovendo, desde logo, a eliminação do seu conteúdo em sua base de dados, registros ou sistema de controle. Fica desprovida de eficácia e validade a mensagem que contiver vínculos obrigacionais, expedida por quem não detenha poderes de representação. LEGAL ADVICE<br>...This message is exclusively destined for the people to whom it is directed, and it can bear private and/or legally exceptional information. If you are not addressee of this message, since now you are advised to not release, copy, distribute, check or, otherwise, use the information contained in this message, because it is illegal. If you received this message by mistake, we ask you to return this email, making possible, as soon as possible, the elimination of its contents of your database, registrations or controls system. The message that bears any mandatory links, issued by someone who has no representation powers, shall be null or void. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN