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
 

 

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 HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 5 Tue Nov 29, 2016 9:25 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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