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

Using Ca-Culprit and IDMS


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
martinc

New User


Joined: 14 Sep 2015
Posts: 2
Location: Australia

PostPosted: Mon Sep 14, 2015 9:12 am
Reply with quote

Hi folks,
Looking for some direction here.

Using Ca-Culprit and IDMS.

I'm looking to develop a job along the following lines..

1. Get R-100-userid
2. Where (subset) record R200-user-perks has more than 299 database records in the (Subset) for that user-id.
3. Display R100-userid that satisfy the condition.

Problem is there's no DB element counter record in R200-user-perks that i can use as a condition.
I need to use culprit to count the number of records in the set and use the count to only extract the records with more than 300 "perks" records.

I know i could simply dump the lot to a file and use ICETOOL. I already do that for some smaller extracts, but there set are pretty chunky and i'd rather keep it in one place.

I thought about a db-exit, but not sure how to code it so it counts the records.

Any thoughts would be appreciated.

MAC
Back to top
View user's profile Send private message
martinc

New User


Joined: 14 Sep 2015
Posts: 2
Location: Australia

PostPosted: Fri Sep 18, 2015 7:22 am
Reply with quote

mmm, ok lets simplify the problem.

Is there a way to count the number of members in s set, using Culprit and then do something with the count ?.
Back to top
View user's profile Send private message
Kryptster

New User


Joined: 16 Sep 2010
Posts: 1
Location: India

PostPosted: Fri Oct 14, 2016 10:50 pm
Reply with quote

Hi Martin,

Is the query resolved?
If so can you pls let me know how?
I am facing the similar issue.
Also I need to know if there is a way to get the DB-Key of the Records.

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

Global Moderator


Joined: 03 Oct 2009
Posts: 1787
Location: Bloomington, IL

PostPosted: Fri Oct 14, 2016 11:04 pm
Reply with quote

Do you really expect an answer after more than a year?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts IDMS record copybook IDMS/ADSO 3
No new posts Can records in IMS/DB be related usin... IMS DB/DC 2
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... IDMS/ADSO 2
No new posts IDMS/DC-COBOL program - SNAP error wh... IDMS/ADSO 5
No new posts ADS 3270 Batch simulator for IDMS rel... IDMS/ADSO 1
Search our Forums:

Back to Top