Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
OLQ in batch mode?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
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    Post subject: OLQ in batch mode?
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

Site Director


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

PostPosted: Thu Dec 17, 2009 2:20 am    Post subject:
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    Post subject: Batch OLQ
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

Site Director


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

PostPosted: Thu Dec 17, 2009 8:21 pm    Post subject:
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    Post subject: Reply to: OLQ in batch mode?
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CA Intertest Batch 555shanth CA Products 0 Tue Nov 28, 2017 11:10 am
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 6 Fri Sep 15, 2017 9:20 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 1 Tue Sep 12, 2017 1:42 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us