Page 1 of 1

read and display data from IMS DB.

PostPosted: Thu May 28, 2015 11:13 pm
by divya_sharma
Hi,

I am working in mainframe testing for a banking project. I have a requirement where i have to find accounts in my database.
Below is a JCL that we normally use for updating something in our IMSDB but now i need only the accounts to be displayed ..can someone please help me with that?

//WBYSECOM JOB(21765,UNKN),'BTS', CLASS=7,LINES=99999,SCHENV=DET1,MSGCLASS=T
//PROCS JCLLIB ORDER=(WBYSTE.SHOT2.JOBPDS,
                                      SOME OTHER LIBRARIES)
//INCLUDE MEMBER=JOBLIB
//S01DADJ EXEC IMSBATCH, MBR = KGPXDAP0,PSB=KGZXDAPE,NBA=30,OBA=25
//SMFCIVE DD DUMMY
//DDPRT01W DD SYSOUT=*
//DDSEQ01W DD SYSOUT=*
//DDRDR01R DD *
RUN UPDATE
DBID BASE
GU SGNPBRT0(FGNBRKE0EQHEX'MY KEY')
GHNP SGNPBDY0
DATA SGNPBDY0  00022  002  X  A35B
REPL SGNPBDY0
SYNC
*

coded

Re: read and display data from IMS DB.

PostPosted: Fri May 29, 2015 3:05 am
by NicC
As you only show that the job executes a procedure and you do not show what program(s) that procedure executes we have no dea as to what control cards should be used. If that is an in-house utility then no one out in the rest of the world will be able to help you. You should have documentation for that program available to you so use it and use your IMS support people.

Also, in future, please use the code tags to present data and code in your posts.