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

Drop building Alternate Index for a particular key


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bhavin.mehta

New User


Joined: 25 Jun 2012
Posts: 34
Location: India

PostPosted: Mon Jul 04, 2016 3:47 pm
Reply with quote

i have unique case where we drop building AIX for a particular key in batch. I want this to happen during online as well. Is this possible?

e.g. I have an AIX for phone number, I don't want to build AIX if its zeros.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jul 04, 2016 4:30 pm
Reply with quote

What do you mean by "I want this to happen during online as well. Is this possible?"
The cluster either has an AIX or it doesn't.

"e.g. I have an AIX for phone number, I don't want to build AIX if its zeros."
AFAIK,You can't build an AIX for selected records only.
The cluster either has an AIX or it doesn't.
Back to top
View user's profile Send private message
bhavin.mehta

New User


Joined: 25 Jun 2012
Posts: 34
Location: India

PostPosted: Mon Jul 04, 2016 5:01 pm
Reply with quote

In batch, we use GVBLDIX (CA Faver product) to build the AIX, there we use DROP statement for the keys we don't want the AIX.

sample code below
Code:
MSGLEVEL=1                 
BASE=USER.BASE.CLUSTER   
AIX=USER.BASE.AIX   
DROP=X'40404040404040'     



In this way we stop building AIX for fields like spaces or all zeros, etc. Can this type of filtering be achieved while the file is open in CICS?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jul 04, 2016 5:11 pm
Reply with quote

OK, so you drop records from an AIX under conditions - never had to do that before.

Once the AIX is built, it is built and associated with the base cluster, containing the data that it contains.

Do you mean - can you rebuild the AIX while the file is open and allocated to CICS ?
Back to top
View user's profile Send private message
bhavin.mehta

New User


Joined: 25 Jun 2012
Posts: 34
Location: India

PostPosted: Mon Jul 04, 2016 5:13 pm
Reply with quote

yes, I want to rebuild the AIX (drop those records) while the file is still open in CICS.
Back to top
View user's profile Send private message
bhavin.mehta

New User


Joined: 25 Jun 2012
Posts: 34
Location: India

PostPosted: Mon Jul 04, 2016 6:26 pm
Reply with quote

Or, can I delete particular records from AIX while the file is open in CICS?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Tue Jul 05, 2016 10:15 pm
Reply with quote

Please ask CICS System Programmer at your shop if that is possible Or give a try and see what happens.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DROP & ALTER PARTITION-PBR DB2 0
No new posts building java class with zip4j.jar on... Java & MQSeries 0
No new posts Cobol file using index COBOL Programming 2
No new posts DL/I status code AK for GU call using... IMS DB/DC 1
No new posts Add column to existing records using ... JCL & VSAM 2
Search our Forums:

Back to Top