Hi Shubham,
Based on your post, I did some testing today. If you make the &PH& file a replicated file, then updates done to the &PH& file via ED, AE, or other UV related WRITE operations are replicated to the subscriber system(s).
However, updates to the &PH& output file while the phantom is running do not appear to get replicated. The phantom output file is generated by redirecting the stdout of the phantom process to the file in the &PH&. I suspect that this type of output is not recognized by Replication as the write is not being done via a standard uvsh write process.
Note, if I used ED to read and "FI" the &PH& record after it was created, it was replicated. So reading/writing the records may be a method to get them replicated currently.
I will need to do some research on the current behavior.
Thanks,
Neil
------------------------------
Neil Morris
Universe Advanced Technical Support
Rocket Software
------------------------------
Original Message:
Sent: 10-29-2024 00:38
From: Shubham Nigam
Subject: &PH& logs not replicating
A phantom log is created in &PH& using background processor but I can't see these logs replicated to subscriber from publisher.
Please note every other file which we have created and all it's records are replicated without any issues.
We have commented out EXCLUDE_FILE = &PH& in repacct.def so ideally the logs should be replicated.
Any suggestion would be really helpful.
Regards,
Shubham Nigam
------------------------------
Shubham Nigam
Rocket Forum Shared Account
------------------------------