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

How to save the results of endevor queries?


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sundeep_rajasekaran
Warnings : 1

New User


Joined: 18 Feb 2005
Posts: 14

PostPosted: Fri Mar 04, 2005 2:09 pm
Reply with quote

I would like to get the compile JCL from the endv processor group. I am able to see the processor group listing(which is none other than the JCL used to compile a pgm, moving elements into endv etc). These are listed in the screen in browse mode. Is there any way i can save this JCL in a pds member, so that i can use this JCl for further processing? Kindly get back ASAP.
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Fri Mar 04, 2005 2:42 pm
Reply with quote

Hi Sundeep,

You can retrieve the element from the Endevor into your own PDS thru foreground or background.
Back to top
View user's profile Send private message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Fri Mar 04, 2005 4:31 pm
Reply with quote

Hi sandeep,

What is Background what is fore ground i dont know in this context. But as I understood your problem....

I think you need the JCL generated by Endevor in to a PDS member. If i am right, Please follow these steps to do that......

- After submitting the job go to spool
- Type SJ opposite to job name
- It will open the job in edit mode
- copy complete document using CC (start position) CC (at end position).
- type CUT in command line
- come out and create a new member using =2 option
- type PASTE at command prompt.
- It will copy entire JCL into new member

Try this and ask me if you have any problems. If required I will send screen shots to do this.

Thanks,
Reddy.
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Fri Mar 04, 2005 5:32 pm
Reply with quote

Hi Sundeep,

It seems i overlooked your question. I thought you need element of type JCL from Endevor.

You can follow the steps what OVReddy has suggested to get the JCl generated by Endevor.
Back to top
View user's profile Send private message
sundeep_rajasekaran
Warnings : 1

New User


Joined: 18 Feb 2005
Posts: 14

PostPosted: Fri Mar 04, 2005 5:51 pm
Reply with quote

Thanks for your replies.



Actually when i try thru background, i had to create SCL first for compiling a program and submit thru background option in endv. After i submit the job, if i sj it in spool, it shows the jcl with SCL Statement and not the compiler JCL which i wanted.



Thru endv,i was able to see the Compiler jcl by getting into processor group option. But as it is in browse mode, i couldn't save it in a member. only way is to manually copy and paste the content, and of course is a painful excercise. Is it anyother way i could get the compile jcl for a particular processor group, so that i can use it offline and i need not rely on endv for compilation on testing purposes.
Back to top
View user's profile Send private message
Harihar

New User


Joined: 31 Mar 2005
Posts: 7

PostPosted: Thu Mar 31, 2005 10:26 am
Reply with quote

Hi Sandeep,

Please note that the Processors have certain utilities that only Endevor can understand, so there is no way that you can copy the same & run the same out of Endevor.

In case you want it, you can use the retrieve option. For that you need to know the Environment/System/Subsystem where the Processor is & retrieve the same onto your dataset.

Please let me know in case of any doubts that you may still have.

Thanks
Back to top
View user's profile Send private message
ak_mainframe

New User


Joined: 29 Apr 2005
Posts: 9

PostPosted: Fri Apr 29, 2005 11:38 am
Reply with quote

Hi Sandeep,

If you go to the option 4(Environment)-->6(Processor Group), and choose the type(such as Cobol, Cobol & DB2 etc ), then you can see the processor name, which is not but an jcl that is submitting during adding the element to the development region. Usually the jcl is in HLQ.Endevor.process PDS. If it's not there just have a search for it and can check the jcl having so many steps. Each step excutes depending upoon the type you have selected.

Regards,
AK
Back to top
View user's profile Send private message
Harihar

New User


Joined: 31 Mar 2005
Posts: 7

PostPosted: Fri Apr 29, 2005 11:44 am
Reply with quote

Hello AK,

Please note that the optin "4" (Environment) is not available for all the users. It is supposed to be meant only for the administrators. You can always do the dsiplay by 1 (Display) & then 8(Processor Group).

Regards,
Hari
Back to top
View user's profile Send private message
Harihar

New User


Joined: 31 Mar 2005
Posts: 7

PostPosted: Fri Apr 29, 2005 11:50 am
Reply with quote

Hello Sunddep,

For saving the Processor JCL onto your private dataset the best option is to go to 1 Display & then 8 (Processor Group). Enter all the required information & press Enter. In the next Screen you will get the Processor Group information of the System/Element type/Processor that you have selected. In this screen you would get 3 Processors (Gen/Del/Move). Now, you need to do a "L" in front of the Processor that you want to retrieve. Once you give a "L" please look at the top of the screen where in you get the ENV, SYS, SUBSYS, ELMENT NAME, Element Type. You can then use this informtion to retrieve that particular processor to your dataset.

Hope this information helps. if not, please feel free to email me & I would be glad to help you out.

FYI: I have been an Endevor admin for the past 7-8 years. So, in case of any doubts on Endevor please feel free to get in touch with me.

Regards,

Harihar
Back to top
View user's profile Send private message
muraliksnv

New User


Joined: 07 May 2005
Posts: 3

PostPosted: Sun May 08, 2005 3:33 pm
Reply with quote

suppose program A calls program B .ONLY PROGRAM IS APPEARING ON SCREEN.HOW TO SET BREAKPOINTS FOR PROGRAM B FROM PROGRAM A USING ENDEAVOR TOOL.

please help me.
Back to top
View user's profile Send private message
swapnil.wagh
Currently Banned

New User


Joined: 29 Mar 2007
Posts: 1
Location: INDIA

PostPosted: Fri Mar 30, 2007 12:21 pm
Reply with quote

hi muraliksnv,

well my understanding of ur problem is dat u want to set a break in the called prog(B)...

to do this you need to do:
1>move both elements with smarttest option
2>start smarttest for prog A.
3>when 'A' calls 'B',you move in smarttest for program 'B'
4>Now set break in prog 'B'.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts Infosphere Optim - unable to save Col... IBM Tools 0
No new posts Updating endevor JCLs CA Products 5
No new posts COBOL NOADVANCING strange results in ... COBOL Programming 4
Search our Forums:

Back to Top