Read opcode

1,150 pts.
Tags:
RPG/400
SETGT
SETLL
Hi Can i use the record format in place of a file name for all types of READs available in RPG/400 along with SETLL n SETGT?
ASKED: April 27, 2009  10:30 AM
UPDATED: April 29, 2009  2:00 AM

Answer Wiki

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

Hi Ten2008

Yes, the READ, SETLL and SETGT can use the FileName or the RecordName, when the record is externally defined.
I’m not sure what advantage there would be using the record name.

Updates and writes must be to the record name.

Phil

Discuss This Question: 1  Reply

 
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
  • Sangay
    Hi, If you have two logical files referencing to same Physical file then its a good practise that you rename the record format name in File Specifications and use them in C Specs using READ,SETLL and SETGT. However , Phil's explaination is also right. Thanks Siddharth
    635 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