Hi,
what about this (done under z/OS 2.2):
//jobcard
// SET MYYEAR=&YR4
//STEP EXEC PGM=IEFBR14
//FILE01 DD DSN=&SYSUID..Y&MYYEAR..TEST,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(10,10),RLSE),
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=27920)
//
Greetings,
Andy
Search found 1 match
Search found 1 match
• Page 1 of 1
- by AS@SI
- Fri Jul 08, 2016 3:40 pm
- Forum: JCL - Job Control Language.
- Topic: How to put year as last qualifier of dataset using a job?
- Replies: 8
- Views: 3273
Search found 1 match
• Page 1 of 1
Jump to
- Announcements, Moderators & Guests
- ↳ Site Announcements and Rules.
- ↳ Downloads.
- ↳ Applications
- ↳ You are a Moderator.
- ↳ Website Team
- ↳ You are a Guest.
- Languages
- ↳ IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- ↳ TSO, ISPF & REXX (Do you still do CLIST?!).
- ↳ Assembler & PL/I.
- ↳ C, C++ and Java for Mainframes.
- Databases
- ↳ IBM DB2 and IMS DB/DC
- ↳ Other Databases on zOS.
- Batch and Online
- ↳ JCL - Job Control Language.
- ↳ CICS, Middleware and MQ Series.
- ↳ SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
- Utilities & Tools
- ↳ File-AID and IBM File Manager.
- ↳ IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
- ↳ SyncSort, SyncTool, SyncGener.
- ↳ Testing Tools, Mainframe Application Testing, Abends Solution & QA.
- ↳ Mainframe Performance, Capacity Planning and Software Cost.
- ↳ Application Change Control Software for MVS, OS/390 and z/OS.
- ↳ Scheduling Software for MVS, OS/390 and zOS
- General
- ↳ Introduce Yourself and Share Your IT Experience.
- ↳ IT News.
- ↳ IT Certificates.
- ↳ Other Mainframe Topics, Off-Topics, FAQs.
- ↳ Programming Algorithms.
- ↳ zLinux, USS and other Operating Systems for Mainframes.
- ↳ Suggestions & Feedback : About the website.
- ↳ Polls and Ideas.
- ↳ Personal Computers - Mainframe related tools.
- ↳ Thought of the Day, General Talk & Jokes.
- ↳ Private
- Other Products for mainframes
- ↳ AppStore & Mainframes, Simulators and Emulators.
- ↳ Hercules, z390, zCOBOL, CBT Tape Files.
- ↳ Tip Of the Day.
- ↳ Follow up on Tips
- ↳ Terminology is Important.
- ↳ User Contributions.
- ↳ COBOL
- ↳ JCL
- ↳ DB2
- ↳ IMS DB/DC
- ↳ VSAM
- ↳ REXX
- ↳ SAS
- ↳ Compiler
- ↳ Assembler
- ↳ Miscellaneous
- ↳ The Books and The History.
- ↳ Company Profiles.
- ↳ The People.
- zDigital
- ↳ zCloud Computing and related news
- ↳ SAS & Cloud Computing.
- ↳ DevOps for Mainframes and related news
- ↳ Big Data for Mainframes and related news
- Job Vacancies and Interview Questions.
- ↳ Jobs
- ↳ Jobs for Fresh Graduates.
- ↳ Jobs for Experienced Professionals.
- ↳ Ask for Job Guidance and referrals here.
- ↳ Interview Questions.
- Trash