Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 17 Mar 2006 @ 18:00:26 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   JCL sample code to move MLoad log file
 
From:   cesar

Hi,

I am new to MVS JCL programming. What I want to do is get the multiload log file and move it to a permanent file. I've always done that in UNIX like this:

     # mload -b log_file

I have tried something like this in the IBM mainframe:

     //DBRDJCL JOB (BRDJC),'BRDJC',
     //            CLASS=D,
     //            NOTIFY=BRDJC,
     //            MSGCLASS=X
     //JOBLIBS INCLUDE MEMBER=JOBLIBS
     //MLOAD0  EXEC PGM=MLOAD,REGION=4096K
     //STEPLIB   DD DSN=NCR.TUF61.APPLOAD,DISP=SHR
     //          DD DSN=NCR.TUF61.TRLOAD,DISP=SHR
     //SYSUDUMP   DD SYSOUT=*
     //SYSOUT     DD SYSOUT=*
     //SYSPRINT   DD SYSOUT=*DSN=DC.DW.MLOAD.PROCESS1
     //SYSIN     DD DSN=ETI. EXECJCL CARDLIB (DWEVNTPP1D),DISP=SHR
     //INDATA1   DD DSN=DC. DHDW.ETI.IFILE.EVNTQ0 AA01,DISP=SHR
     //INDATA2   DD DSN=DC. DHDW.ETI.IFILE.EVNTQ0 AB02,DISP=SHR

but it generates an empty log file. JCL experts, please help me on this one.


Regards

Cesar Ureta



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016