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 Unable to copy data from spool in a d... srikant314 JCL & VSAM 2 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts copying data without knowing location Arun Raj DFSORT/ICETOOL 12 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm


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