Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 10th, 2006, 09:35 AM
Aanand
Guest
 
Posts: n/a
Default DB2 on Z/OS - SQL w/o SPUFI / QMF kinda tool

Hi all,

A crazy thought just popped up into my head.
Supposing your site didnt have SPUFI / QMF / Candle / Platinum or any
tool that would let u create and run your SQLs, which would be the best
way to get your data?

(fyi we use SPUFI, CANDLE and PLATINUM)

I think there is a method to use IKJEFT01 and the DSN SYSTEM / some
such command with the SQL in a JCL to retreive the data in either a
dataset / SYSOUT.

Could somebody let me know how i could go about doing this?

Searching around on google isnt giving me much to go with.


-Aanand

  #2  
Old November 10th, 2006, 11:45 AM
nesans
Guest
 
Posts: n/a
Default Re: DB2 on Z/OS - SQL w/o SPUFI / QMF kinda tool


Aanand wrote:
Quote:
Hi all,
>
A crazy thought just popped up into my head.
Supposing your site didnt have SPUFI / QMF / Candle / Platinum or any
tool that would let u create and run your SQLs, which would be the best
way to get your data?
>
(fyi we use SPUFI, CANDLE and PLATINUM)
>
I think there is a method to use IKJEFT01 and the DSN SYSTEM / some
such command with the SQL in a JCL to retreive the data in either a
dataset / SYSOUT.
>
Could somebody let me know how i could go about doing this?
>
Searching around on google isnt giving me much to go with.
>
Here is houw you can get the same results as SPUFI, QMF etc..

//SYSPUNCH DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(?????) (your subsystem)

RUN PROGRAM(DSNTEP2) PLAN(DSNTEP71) -
LIB('SYS2.DB2.????.RUNLIB.LOAD') (your runlib library)

END
//SYSIN DD *
SELECT (your select, update, delete statements)
//*

Hope this helps, I've used this before so many times
Quote:
>
-Aanand
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles