Teradata scripts in jcl- Automation

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
madhulatham
Member
Posts: 2
Joined: Sat Jan 25, 2014 9:58 pm

Teradata scripts in jcl- Automation

Post by madhulatham » Sat Jan 25, 2014 10:07 pm

I have a scenario where I have to load 20yrs of data and the sourcefile is mainframe sequential file like gdg's. I am using teradata multioload to load the data. We are writing 1program for each month file. I am stuck up in writing an automation script which will take all the gdg's and load into the same table. Please suggest
Thanks,
Madhu

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Sun Jan 26, 2014 5:11 am

I am not quite clear as to what you are requirements are. Are you saying that you have 240 generation datasets to be loadedusing 240 programs to 240 tables - one gdg to one table? What sort of 'script' are you writing? Scripts do not run on mainframe. Do you mean you are trying to write something that will create the JCL in a semi-automatic manner?
Regards
Nic

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon Jan 27, 2014 4:10 am

Why does someone believe there needs to be a separate program for each month? Why can one program not load all of the months?

Please post whatever JCL is used by some other load.
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
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.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others