IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

OLQ in batch mode?


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
geekhead83

New User


Joined: 14 May 2007
Posts: 10
Location: india

PostPosted: Thu Dec 17, 2009 1:45 am
Reply with quote

Does anyone have a clue on setting up OLQ in batch mode? I did some googling some time ago and found that the utility is called OLQBATCH.

Found that the utility is not present on our system? It would be great if I could find more information to pass on to our System Admins to have this setup.

Thanks in advance!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Dec 17, 2009 2:20 am
Reply with quote

Hello,

Suggest you talk with the admins again and ask them to open an issue with CA Support.
Back to top
View user's profile Send private message
deepak.kec

New User


Joined: 26 Feb 2007
Posts: 71
Location: bangalore

PostPosted: Thu Dec 17, 2009 2:06 pm
Reply with quote

Try this Job,copy it and edit it as per your dictionary and load library:-
//Jobcard
//*
//***********************************************
//OLQBATCH EXEC PGM=OLQBATCH,REGION=1024K
//STEPLIB DD DSN=LOAD.TO.BE.SEARCHED,DISP=SHR
// DD DSN=SYS3.IDMS.LOADLIB,DISP=SHR
//SYSLST DD SYSOUT=*
//SYSIDMS DD *
DMCL=DMCL000
DICTNAME=D222EE
DBNAME=D222EO
XA_SCRATCH=ON
/*
//SYSIPT DD *
SIGNON SS=IDMSNWKA DBNAME=D222EO
SELECT UNIQUE -
MOD-NAME-067 AS MODUL -
MOD-VER-067 AS VERSJON -
IDD-SEQ-088 AS SEQ -
SOURCE-088 AS SOURCE -
FROM MODULE-067,TEXT-088 -
WHERE MODULE-TEXT -
AND (SOURCE-088 CONTAINS 'XXXXXX') -
ORDER BY MODUL, SEQ
DISPLAY SPREAD 1 COLS=(MODUL(20) VERSJON SEQ SOURCE)
/*
/*

Here 'XXXXXX' is the search field.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Dec 17, 2009 8:21 pm
Reply with quote

Hello,

I suppose that is ok jcl but
Quote:
Found that the utility is not present on our system?
If the module is not on the system it won't be much use. . .

One needs to read carefully what has been posted. . .
Back to top
View user's profile Send private message
geekhead83

New User


Joined: 14 May 2007
Posts: 10
Location: india

PostPosted: Thu Dec 24, 2009 4:00 am
Reply with quote

hey Deepak, thanks for replying, but as Dick mentioned, i'm looking for ways to have that utility installed on our system.

From the sample JCL you posted, it seems that a search can be made for some keywords etc.
But can the OLQ batch utility be used to save results of IDMS commands (using the OLQ syntax ofcourse), to a dataset?
Like conditional extract of database records and stuf??
Back to top
View user's profile Send private message
deepak.kec

New User


Joined: 26 Feb 2007
Posts: 71
Location: bangalore

PostPosted: Thu Dec 24, 2009 12:56 pm
Reply with quote

Hi,
Just give the dataset name in place of below mentioned code and try it out.
//SYSLST DD SYSOUT=*

Hope it will work.

The search can be made to all the online modules[dialogs] with any keyword.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top