The Converter does symbol substitution for JCL.There is more flexibility for in-stream data.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [0000000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, March 2, 2022 9:37 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SDSF Process On Thu, 3 Mar 2022 00:34:24 +0000, Sri h Kolusu wrote: > >You can schedule a job that runs SDSF in batch and then extracts the contents. >I assumed that your systems have SYSSYM=ALLOW so that you can save the >results using the date and time. >Something like this > >// EXPORT SYMLIST=* >// SET CDATE=Y&LYR4..M&LMON..D&LDAY >// SET CTIME=H&LHR..M&LMIN..S&LSEC >/* ... SYSINI DD * generated here?? >//SORTOUT DD DSN=&SYSUID..CPU.&CDATE..&CTIME, >// DISP=(NEW,CATLG,DELETE), >// SPACE=(CYL,(1,1),RLSE) > There are recurrent discussions here of the difficulty of embedding DATE.TIME in a data set name because the initiator must issue ENQs before the first EXEC. Are the symbols above resolved by the converter or the scheduler, avoiding this problem? Also, is there a hazard that if the job runs at midnight (or any lesser boundary) the date may be obtained before midnight; the time the next day, resulting in a DATE.TIME almost 24 hours too small? Rexx handles this right. I suspect that JCL does not. <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fzos%2F2.5.0%3Ftopic%3Dfunctions-date&data=04%7C01%7Csmetz3%40gmu.edu%7Cd1c1b6ea0b9f44bf0ab508d9fcbee34b%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637818719152239973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aupAsMHrlroM7APJW9Y0yvZlPAIkTunMLXUX1Y2mkJY%3D&reserved=0> -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN