Posted: Thu Jun 09, 2005 8:47 am Post subject: Logging when line shifts in DS ?
Here's the scenario:
I have a dataset: A. It contains multiple lines that are used as a reference in an application. Is it possible to write line (+ maybe timestamp) to another dataset, B, each time the line shifts ?
I cannot alter dataset A, so my options there are limited.
It should work something like this:
(DATASET A)
123
(Write dataset B)
1234
(Write dataset B)
12345
(Write dataset B)
123456
(Write dataset B)
Does it make sense or should I put this in the application itself ?
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
Posted: Thu Jun 09, 2005 9:13 am Post subject:
KM,
Let me get this straight. For every record in dataset A you need to write a new record with timestamp in another dataset B? If so it is very easy. Let us know about the format/layout of dataset B.
That is correct. It was kinda hard to explain the scenario, but yes the record i dataset A is 'used' for minutes, sometime even hrs, so when it shifts it would be nice to be able to see it somewhere (dataset B).
It would make sense to me to copy the line in dataset A and attach a timestamp to it in dataset B.
Both datasets have following attributes: RECFM=FB,LRECL=80.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum