Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us