i just started my new job and doing the specs for JCL codes

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
Posts: 1
Joined: Sun Oct 12, 2008 11:45 am

i just started my new job and doing the specs for JCL codes

Post by Dupree » Sun Oct 12, 2008 12:06 pm

Hi There

I want to kno the meaning of this command as is my first time seeing them....Convertion of this into English

1. %%SET%%A = 01
2. %%SET%%B = %%$OYEAR.%%OMONTH.%%A -10
3. %%SET%%YY = %%SUBSTR%%B 1 4

I basically unloading DB2 tables and just doing the EBI migration of the table...

Thank you!!!

User avatar
Site Admin
Posts: 1052
Joined: Fri Jan 27, 2006 7:50 am

JCL SET command

Post by Krishna » Mon Oct 13, 2008 10:57 am

SET command used in your JCL.

SET command will set the value to JCL variables. Nothing but assigning the value to variables.

Post Reply


Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Mainframe Interview questions

Other References
Mainframe Tools and others