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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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