Re: symbolic date parameter (EZACFSM1)

2010-09-21 Thread Walter Marguccio
 Have you considered the system symbol interpreter called EZACFSM1?  I 
 checked to make sure it was available in Comm Server 1.7.  This is what your 
 sample job will turn into:

I've followed the old, frequent thread about variables in JCL for ages,
and it never occurred to me that this program was able to did the trick.
For trivial things like create a SYSIN-type dataset for FTP or IDCAMS,
where date and time within a dataset name is required, EZACFSM1is perfect,
instead of creating, say, an ad-hoc REXX which does the same.
However, it doesn't look to me as the solution IBM recommends to solve
the 'system variable in jcl' issue, otherwise the use and scope of this pgm
would have been more widely published, and not only on a single, spare page in 
the
z/OS x.yy IP Configuration Guide.  
So my question(s) to this forum are what other mates sysprog do with this 
program.
Do you use it ? Did you widespread the use to programmers or other staff who 
use 
jcl ?
Do you see any remarkable drawbacks which I don't see ?
Are there any statements of direction from IBM ? 

TIA.

Walter Marguccio
z/OS Systems Programmer
BELENUS LOB Informatic GmbH
Munich - Germany




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: symbolic date parameter (EZACFSM1)

2010-09-21 Thread Peter Nuttall
We use it here to transfer files (reports) to the server on a weekly basis 
as follows :

//STEPRPL  EXEC PGM=EZACFSM1 
//SYSOUTDD DSN=FILEN,DISP=(NEW,PASS),SPACE=(TRK,(1,1)), 
// LRECL=80,RECFM=FB,DSORG=PS 
//SYSIN DD * 
  WINDSN=\'PFILE002\\ADSHARE\\10.METHODS\ !! - 
  \\\06 MEASUREMENTS\\G DATA COLLECTION\\LOC\ !! - 
  \\\COUNTS_WKLYRUN_DYYMMDD_THHMMSS..TXT'\ - 
/* 
//** 
//* C:D TO TRANSFER FILE COMING FROM MAINFRAME * 
//** 
//DMBATCH  EXEC PGM=DMBATCH,REGION=1024K,PARM=(YYSLYNN) 
//*INCLUDE MEMBER=CDISLIB 
//DMNETMAP  DD DISP=SHR,DSN=SYSTEM.NETMAP.FILE 
//DMMSGFIL  DD DISP=SHR,DSN=SYSTEM.MSGFILE  
//DMPUBLIB  DD DISP=SHR,DSN=SYSTEM.CDPROCES 
//NDMCMDS   DD SYSOUT=* 
//DMPRINT   DD SYSOUT=* 
//SYSPRINT  DD SYSOUT=* 
//SYSIN DD * 
  SIGNON 
  SUBMIT PROC=CPY2WIN - 
//  DD DSN=FILEN,DISP=(OLD,DELETE,DELETE) 
//  DD * 
  SNODE=PCDCRP01 - 
  DISP=NEW - 
  SYSOPTS='DATATYPE(TEXT) STRIP.BLANKS(NO)' - 
  MFDSN='DATASET.PRJSTAT.COUNTS.WKLYRUN(0)' 
  SIGNOFF 
/* 

Must admit, I had not seen it before coming here . (am in the 
Configuration Management team) 

Kind regards,
Peter
 
 



Walter Marguccio walter_marguc...@yahoo.com 
Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu
21/09/2010 10:31 AM
Please respond to
IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu


To
IBM-MAIN@bama.ua.edu
cc

Subject
Re: symbolic date parameter (EZACFSM1)








 Have you considered the system symbol interpreter called EZACFSM1?  I 
 checked to make sure it was available in Comm Server 1.7.  This is what 
your 
 sample job will turn into:

I've followed the old, frequent thread about variables in JCL for ages,
and it never occurred to me that this program was able to did the trick.
For trivial things like create a SYSIN-type dataset for FTP or IDCAMS,
where date and time within a dataset name is required, EZACFSM1is perfect,
instead of creating, say, an ad-hoc REXX which does the same.
However, it doesn't look to me as the solution IBM recommends to solve
the 'system variable in jcl' issue, otherwise the use and scope of this 
pgm
would have been more widely published, and not only on a single, spare 
page in 
the
z/OS x.yy IP Configuration Guide. 
So my question(s) to this forum are what other mates sysprog do with this 
program.
Do you use it ? Did you widespread the use to programmers or other staff 
who use 
jcl ?
Do you see any remarkable drawbacks which I don't see ?
Are there any statements of direction from IBM ? 

TIA.

Walter Marguccio
z/OS Systems Programmer
BELENUS LOB Informatic GmbH
Munich - Germany


 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



This e-mail message, including any attachments transmitted with it, is 
CONFIDENTIAL and may contain legally privileged information. This message is 
intended solely for the use of the individual or entity to whom it is 
addressed. If you have received this message in error, please notify us 
immediately and delete it from your system. Please visit our website to read 
the full disclaimer: http://www.euroclear.com/site/public/disclaimer