Subfile with CL/400

5 pts.
Tags:
CL/400
Subfile
How can I declare a file in the CL/400?

Answer Wiki

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

CL, as provided by IBM, only supports message subfiles. The PowerCL: CL for Files product allows full support for subfiles. The display file containing the subfile record formats can be declared with either the Declared File using CLF (DCLFCLF) command or the File Description Specification (FILE) command.

Bruce Vining
(one of the PowerCL: CLF developers)

————————————-

Hi,

You can declare a Physical, Logical or Display file in CL/400 using the DCLF statement. You can read a Physical or Logical using the RCVF statement. You can write a Display file record using the SNDF command or read one using the RCVF command, you can write and read a Display file record using the SNDRCVF command.

CL/400 (to my knowledge) does not support subfile display formats. For subfile processing you will need to use a HLL such as RPG or COBOL.

Regards,

Martin Gilbert.

Discuss This Question:  

 
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

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