Job Control Language

Thank you and have a Terrific day!

Jonathan Goossen, ACS, CL
Tape Specialist
ACT Mainframe Storage Group
651-361-4541

IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu> wrote on 07/12/2011 
02:08:22 PM:

> From: Cris Hernandez #9 <hernandez...@yahoo.com>
> To: IBM-MAIN@bama.ua.edu
> Date: 07/12/2011 02:08 PM
> Subject: Re: JCL Question
> Sent by: IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu>
> 
> contrary to popular misconceptions, JCL is not a programming 
> language, meaning it's not used to manipulate data.  To append data 
> onto any existing file, code disp=mod instead of shr/new/old and use
> appropriate pgm/util to read in & write out what you want. 
> 
> 
> --- On Tue, 7/12/11, Mosley, George <george.mos...@icbc.com> wrote:
> 
> > From: Mosley, George <george.mos...@icbc.com>
> > Subject: JCL Question
> > To: IBM-MAIN@bama.ua.edu
> > Date: Tuesday, July 12, 2011, 1:27 PM
> > Hello All.
> > 
> > We're trying to set up a batch job that will append a
> > datestamp to a dataset name.
> > For example:
> > 
> > //S0     EXEC PGM=EMCSRDF
> > //SYSPRINT DD DSN=STRG.SRDF.INVTRKS.JUL09.@1408,
> > //           
> > STORCLAS=BASE,MGMTCLAS=MEDIUM,
> > //            DISP=(,CATLG),
> > //           
> > SPACE=(TRK,(15,15),RLSE),
> > //           
> > DCB=(RECFM=FBA,LRECL=133,BLKSIZE=0)
> > //SYSIN    DD *
> > EMC-SQ VOL,44FA,INV_TRKS
> > /*  
> > 
> > When we run this job, we hard code JUL09.@1408 to the end
> > of the SYSPRINT dataset name.
> > Is there a way to have the JCL automatically add the
> > datestamp?
> > 
> > George (ICBC) 
> > ------------------------------------------------------------
> > This email and any attachments are intended only for the
> > named
> > recipient and may contain confidential and/or privileged
> > material.
> > Any unauthorized copying, dissemination or other use by a
> > person
> > other than the named recipient of this communication is
> > prohibited.
> >  If you received this in error or are not named as a
> > recipient,
> > please notify the sender and destroy all copies of this
> > email
> > immediately.
> > 
> > ----------------------------------------------------------------------
> > 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
> > 
> 
> ----------------------------------------------------------------------
> 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 and all attachments transmitted with it may
contain legally privileged and/or confidential information intended
solely for the use of the addressee(s). If the reader of this
message is not the intended recipient, you are hereby notified that
any reading, dissemination, distribution, copying, forwarding or
other use of this message or its attachments is strictly
prohibited. If you have received this message in error, please
notify the sender immediately and delete this message and all
copies and backups thereof. Thank you.

----------------------------------------------------------------------
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

Reply via email to