Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Passing Data From JCL to DB2

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vijayk_hr

New User


Joined: 05 Jul 2005
Posts: 3

PostPosted: Wed Jul 06, 2005 1:30 pm    Post subject: Passing Data From JCL to DB2
Reply with quote

Hi all..

I need some input from your side.....

HOW TO PASS DATA FROM JCL TO DB2 DIRECTLY WITHOUT USING COBOL?


waiting for your help...


Vijay
Back to top
View user's profile Send private message

withnams

New User


Joined: 06 Jul 2005
Posts: 26
Location: Chennai

PostPosted: Wed Jul 06, 2005 6:22 pm    Post subject: Re: Passing Data From JCL to DB2
Reply with quote

That's where IBM utilities come handy.
Please refer to IBM utility reference.

Also Using IKJEFT01 you can select, update etc in the JCL itself
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Tue Sep 19, 2006 12:23 pm    Post subject:
Reply with quote

Hi withnams..

its really a new message.

but i cant get the clear idea about how to use..
Can u explain little more with example..

Thanks
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Tue Sep 19, 2006 12:47 pm    Post subject:
Reply with quote

Hi,

IJKFT01: Here we used it to extract the data of ilf028vw in to
flat file.
Code:
//STEP010 EXEC PGM=IKJEFT01,DYNAMNBR=20                             
//STEPLIB  DD  DSN=SYS1.DSNDB2A.SDSNLOAD,DISP=SHR                   
//SYSTSIN  DD DISP=SHR,DSN=DB26.CARDLIB(RUNTIAUL)                   
//SYSTSPRT DD SYSOUT=*                                             
//SYSPRINT DD SYSOUT=*                                             
//SYSUDUMP DD SYSOUT=*                                             
//*                                                                 
//SYSPUNCH DD DSN=RV01.ILF028VW.INPUT.DATA,                         
//            DISP=(,CATLG),UNIT=3380,SPACE=(TRK,(2,1),RLSE)       
//*                                                                 
//SYSREC00 DD DISP=(,CATLG),UNIT=3380,SPACE=(TRK,(100,100),RLSE),   
//            DCB=(RECFM=VBA,LRECL=12030,BLKSIZE=12034),           
//            DSN=RV01.LOAD.ILF028VW.LIST                           
//*                                                                 
//SYSIN    DD *                                                     
DB26.ILF028VW;                                                     
/*   

You can also use DXTERM Utility
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting group data rajella DFSORT/ICETOOL 3 Sun Jan 22, 2017 11:32 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us