AS/400 and CLLE subfile

225 pts.
Tags:
AS400 iseries
CLLE
Can we load subfile through CLLE?


Software/Hardware used:
i-series
ASKED: February 15, 2012  7:45 AM
UPDATED: June 19, 2013  6:44 PM

Answer Wiki

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

You can use a UIM Panel to display records, which gives a similar effect

I found this ancient example.

Discuss This Question: 8  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
  • philpl1jb
    I do not believe that you can code a Subfile in a CLLE module. Subfiles can be coded in RPGLE and COBOLLE You can, however, code a message subfile in CLLE. Here is an example: http://www.mcpressonline.com/tips-techniques/cl/techtalk-cl-subfiles.html
    48,595 pointsBadges:
    report
  • Yorkshireman
    Sheesh - that url threw the system. just google for WRKPGMREF and follow your nose.
    5,520 pointsBadges:
    report
  • TomLiotta
    There is no direct subfile capability for CL. (It might be available through various calls to C library functions, but seriously why would anyone do that?) UIM list panels are a viable alternative. They're more capable than subfiles as well. However, it does require adding the UIM source language and the experience with UIM APIs to your work. (The source language is a "markup" language similar to HTML. The APIs are perhaps average in difficulty.) DSM (Dynamic Screen Manager) APIs are also possible. They're a step beyond the UIM APIs. One advantage(?) is that they don't require any extra display file not UIM panel group. They're totally "dynamic". Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    ...display file not UIM panel group. I'd edit that if I could -- "nor UIM panel group." Tom
    125,585 pointsBadges:
    report
  • bvining
    CL, out of the box, only supports message subfiles. CL (ILE and OPM), when using Control Language for Files (CLF) has full subfile support. There are both free and charge options of CLF. Using the free run-time support and standard CL you can develop an application utilizing subfiles though you will need to treat the subfile records as if they we program described. Using the CLF precompiler, which is fee-based, you can simply declare the *DSPF. In both cases you then perform I/O against the *DSPF using CLF commands. Using the precompiler is generally the way to go due to productivity gains. Note that I was the developer of CLF and so this should be read as a vendor response.
    6,240 pointsBadges:
    report
  • TomLiotta
    I had hoped Bruce Vining ( Bvining ) would chime in. If his CLF is acceptable for your use, I'll add that I would have no concerns about using anything he makes available. Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    Thanks Bruce.
    48,595 pointsBadges:
    report
  • TomLiotta
    The 'Answer' provides an example of a UIM panel group. But note that it doesn't show it being done with CL; instead, it uses RPG III. . However, I didn't see anything in the RPG code that couldn't be translated fairly directly to ILE CL. And for much of it, it would be easier to read as CL. . Tom
    125,585 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