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 Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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