AS400

Tags:
Application development
AS/400
Backup & recovery
CLP
DataCenter
DB2 Universal Database
Printing
RPG
RPGLE
Security
hi, i want to know about the answers of these questions.. 1.) If any data has been deleted from the PF then how can we recover that and what are the limitiations for that. 2.) If in run time user want to choose the Access Path of a PF then how can it be possible.

Answer Wiki

Thanks. We'll let you know when a new response is added.

re question 1: if you journal the PF, you can determine what was deleted and restore the data.

re both questions: you really need to provide more information if you expect to get a reasonable answer. Try to include OS version, language(s) being used, and if possible samples of code causing the problem. Also, be sure to include enough code to see the problem line in context, as many times problem at point a causes line at point b to fail.

hope this helps some — BigKat

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Knowledgeseekerone
    The access path is created when you do an opnqryf for your file in cl. Not sure if you can choose between access paths at run time
    30 pointsBadges:
    report
  • kevleemor
    Within the RPG program you can specify user open on each access path (USROPN) then within the program you can use logic to control the open and close of the access path you require. Some utility packages allow deleted records to be recovered, I haven't had any reason to do this outside of journalling.
    605 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following