View previous topic :: View next topic
|
Author |
Message |
geekhead83
New User
Joined: 14 May 2007 Posts: 10 Location: india
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you talk with the admins again and ask them to open an issue with CA Support. |
|
Back to top |
|
|
deepak.kec
New User
Joined: 26 Feb 2007 Posts: 71 Location: bangalore
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
geekhead83
New User
Joined: 14 May 2007 Posts: 10 Location: india
|
|
|
|
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 |
|
|
deepak.kec
New User
Joined: 26 Feb 2007 Posts: 71 Location: bangalore
|
|
|
|
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 |
|
|
|