Program Interface(PIF) for Searching a Opearion(job) in TWS



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

Program Interface(PIF) for Searching a Opearion(job) in TWS

Postby Karthik_v » Thu Sep 29, 2011 6:35 pm

Hi All,

I have the below requirement

I have to write one Program Interface(PIF) that takes TWS operation (job) name as input

and searches for that operation(job) in all Applications that exists in

TWS data base AD .It should give a return code zero if the job exists in any of the Applications

I searched Program Interfaces document in that for ADOP Segment I see

ADOPJN as parameter for jobname. But I dont see the segment ADOP listed under LIST or SELECT Action code


Could you please advise under which Action code I need to use ADOP segment to get the required result ?.Thanks
Karthik_v
 
Posts: 1
Joined: Sun Sep 04, 2011 5:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Program Interface(PIF) for Searching a Opearion(job) in TWS

 

Re: Program Interface(PIF) for Searching a Opearion(job) in

Postby sbec » Wed Dec 14, 2011 8:11 pm

Hi,
I face a simular Problem here.
If i LIST or SELECT ADCOM
i only get Segment ADCOM back... I try to loop through all the Segemnts, but the 2nd one is already <BLANK> showing the End the the Data_Area
How do i get ADOP / ADDEP / ADRUN /ADSR Segments ?

Also with LIST ADKEY, i only get the ADKEY Segment back.

Regards
Sbec
sbec
 
Posts: 3
Joined: Wed Dec 14, 2011 7:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Program Interface(PIF) for Searching a Opearion(job) in

Postby sbec » Thu Dec 15, 2011 2:04 pm

Got the Solution:

1.st you do a List of ADCOM ADID .... then you Get VALFROM STATUS.....
2. You SELECT AD for this ADID VALFROM STATUS...in the AD you get all the Segments

Greets
sbec
 
Posts: 3
Joined: Wed Dec 14, 2011 7:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Program Interface(PIF) for Searching a Opearion(job) in

Postby BillyBoyo » Thu Dec 15, 2011 2:23 pm

Thanks for letting us know.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post