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

How to know who has updated the CICS / VSAM record


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ykishore

New User


Joined: 12 Aug 2005
Posts: 53
Location: USA

PostPosted: Thu Sep 15, 2005 6:00 pm
Reply with quote

Hi

Here is my requirement!!!

we have some cics online screens....which provides the facility to add,update,delete the records.assume that i've updated the record in VSAM-KSDS file tru that online screen(mentioned above)..is it possible to know who has updated the record. can you guys give me thought on this!!!
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Thu Sep 15, 2005 6:29 pm
Reply with quote

kishore,

In our shop,we update database thru online.In such case we capture timestamp,screen id,user id in the db2 table while there is screen updation.Hence we can find which is the latest record,who updates,which program does that.

Similarly you can check in the layout whether you have such fields in the file.

hope this suggestion helps.
Back to top
View user's profile Send private message
ykishore

New User


Joined: 12 Aug 2005
Posts: 53
Location: USA

PostPosted: Thu Sep 15, 2005 6:38 pm
Reply with quote

Hi

actually in our case, we have some scheduled jobs which produces reports based on the data updated tru online. the VSAM-KSDS has only one column .that is DATE(itz not the date on which user update).so we dont have cols like u mentioned. so is there anyother way to find out !!!!
Back to top
View user's profile Send private message
mallikiran

New User


Joined: 07 Sep 2005
Posts: 49

PostPosted: Fri Sep 16, 2005 8:56 pm
Reply with quote

It would not possible to find out who has updated a record/records unless it has been captured and stored when the update is being made.
Back to top
View user's profile Send private message
ykishore

New User


Joined: 12 Aug 2005
Posts: 53
Location: USA

PostPosted: Sat Sep 17, 2005 5:01 pm
Reply with quote

Hi

though we dont use those fields in our application , I believe system must be tracking all those details rite!!! so is there anyway to get those details from system!! is there any possibility or commands that cics has!!!!
Back to top
View user's profile Send private message
happyend

New User


Joined: 18 Aug 2005
Posts: 10
Location: Bangalore,India

PostPosted: Mon Sep 19, 2005 5:58 pm
Reply with quote

In our shop we used to enter "AFCT" command in the CICS region which used to display the user who had accessed the dataset for the last time.

Regards,
Deepa
Back to top
View user's profile Send private message
ykishore

New User


Joined: 12 Aug 2005
Posts: 53
Location: USA

PostPosted: Mon Sep 19, 2005 6:26 pm
Reply with quote

Hi

Thanx for ur information!!but small doubt , can you provide me how to use that!!! is AFCT is CICS-supplied transaction???
Back to top
View user's profile Send private message
happyend

New User


Joined: 18 Aug 2005
Posts: 10
Location: Bangalore,India

PostPosted: Mon Sep 19, 2005 6:31 pm
Reply with quote

icon_sad.gif . I dont think it is CICS supplied. It used to extract all the details of the Record from the FCT and provide the info. I guess if you are not able to use AFCT then you have to verify the log files. But if someone had edited the file (Not thru online) then it will not be present in your log files.

Regards,
Deepa
Back to top
View user's profile Send private message
happyend

New User


Joined: 18 Aug 2005
Posts: 10
Location: Bangalore,India

PostPosted: Mon Sep 19, 2005 6:32 pm
Reply with quote

For using AFCT just go to the CICS region and Type AFCT and press Enter key.
Back to top
View user's profile Send private message
ykishore

New User


Joined: 12 Aug 2005
Posts: 53
Location: USA

PostPosted: Mon Sep 19, 2005 6:42 pm
Reply with quote

Hi Deepa!!

im not authorised to use AFCT command!!! so as u mentioned abt Logfiles!!! can u give an idea how to get that!!!
Back to top
View user's profile Send private message
happyend

New User


Joined: 18 Aug 2005
Posts: 10
Location: Bangalore,India

PostPosted: Tue Sep 20, 2005 8:43 am
Reply with quote

I think you should check the pgm which does the online updates. Most probably after maintenance the pgm will be using some log files to log the details when a particular field has been changed. and I guess this file might be used in the batch to generate reports.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Using API Gateway from CICS program CICS 0
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top