• CPD0304 when using SUBR and ENDSUBR in CLLE

    I know I've run into this the past, but I can't remember the fix.  I am using V5R4 and trying to use CALLSUBR in my CLLE.  I end my mainline with a RETURN, then I have a SUBR/ENDSUBR... and a 2nd SUBR/ENDSUBR.. then a ENDPGM.  When the compiler hits the 2nd SUBR I get a CPD0304 and it rejects...

    JamesR90 pointsBadges:
  • QHSMMOVL API in a CLLE program

    I am trying to use QHSMMOVL API in a CLLE program to move libraries between ASP's (1-32) and iASPS(33-256). I keep getting the error CPFB79E -  Auxiliary storage pool does not exist or CPF3C3C Value for parameter not valid. I think it has something to do with the Target auxiliary storage pool...

    Jpjawili75 pointsBadges:
  • In a single CL Program, can we read a database file more than once?

    In a single CL Program, can we read a database file more than once

    Chraghuveer25 pointsBadges:
  • Summary in English: Converting the AS/400 code to summary in English like langauage

    Hi ALL, For every new requirement or changes in RPGLE/CLLE/RPG/SQLRPGLE/RPT code I need to write program flow after making the changes. I will include these program synopsis in Requirement Analysis Document(RAD). So it takes much time to write synopsis. Is there any chance to convert AS/400 code to...

    RPOOJA125 pointsBadges:
  • Writing record to a file through CLLE

    Can we write a record to the physical file using CLLE?

    Anisanju5 pointsBadges:
  • Passing Parameters into a clle program from a Menu.

    Hello I am wondering if there is a way to pass parameters from a menu into a CLLE program, whereby the parameter list could be variable. Most Menu options will pass one parameter to the CLLE program; namely the program name that will be called if security is passed. (PARM 1) But, there are some...

    Piano520 pointsBadges:
  • Writing the output of qshell(qsh) command to local data area

    I want to write the output of a qshell command to local data area so that it could be globally used by programs. Is there some way to write from stdout file to local data area I want it to be done through CL. It's urgent. Thanks!

    munduuu435 pointsBadges:
  • Last Day of Month

    Is there a routine to arrive at the exact last day of the month? *Month doesn't do it.

    Djomay5 pointsBadges:
  • Housekeeping Stream Files

    I am working on a utility program to housekeep stream files based upon how many days ago the file was created. I checked the DSPLNK command, but, this command does not provide the creation date. Does anyone happen to know if there is such a command that would provide this information, and...

    Piano520 pointsBadges:
  • CLE v/s CLP

    What is the difference between CLE and CLP ?????

    R085 pointsBadges:
  • Convert FTP to SFTP using CLLE

    I am currently using FTP to transfer a file and now need to use a file transfer that is more secure. How best to convert over to secure FTP. Is that SFTP or FTPS?

    MrLewis5 pointsBadges:
  • FTP transfer to a local server

    I am trying to FTP a spreadsheet to a local server but I can't seem to get the put CLLE right. Can you help?

    rharvey25 pointsBadges:
  • Read a file in 2 times in CLLE using POSDBF

    I want to read a file 2 times in CLLE.When I'm using POSDBF to read a file in 2nd time, I got the error. Please look into the below code and help me guys. PGM DCLF       FILE(CHOW12011/EXAM) OPNID(A) READ:       RCVF       RCDFMT(EXAMR) OPNID(A) MONMSG     MSGID(CPF0864)...

    chowas400615 pointsBadges:
  • Determine TCP port used by a connection.

    We have an application that has our iSeries (AS/400) connect to a remote IP address and port. If we have to end the application and restart it (IPL, error, end/start subsystem) the iSeries keeps the connection open. After the application is restarted, the TCP connections show two connections to the...

    LHrabar95 pointsBadges:
  • Daily Job Suddenly Disappeared

    Hello, We have job that runs in overnight batch Mon-Friday. The users access the reports the next morning. Suddenly, on 1/18/2008 the spooled reports for the job are no longer on the system. All previous jobs are there, but since this day the job has ran daily but none of the reports are kept-users...

    Turing200810 pointsBadges:
  • I Put a HEX on youuuuuuuu……

    Does anyone have any suggestions as far as reference material that would help me understand EBCDIC Character sets, Hex, Binary, and how you can tie them into CL's & RPGLE's, and whatnot?

    Eric Witham690 pointsBadges:
  • Convert iSeries spool file to TIFF document

    How can I convert a spool file on the iSeries to a TIFF format and export it to an external server?

    LarryL707830 pointsBadges:
  • Learn AS/400 development

    I want to know sources (site/ document) for learn RPG, RPGLE, CL & CLLE . Its hard to learn those from IBM documents and the sites which I referred.

    Anshan85 pointsBadges:
  • CMD bound with CL program

    If I use CRTCMD command and bound it with some CLLE program then later after command creation, how I come to know with which CLLE it is bound to?

    hunshabbir72,805 pointsBadges:
  • File Pointer in CLLE

    Hi,How to set a file pointer using CLLE. My Records are 10,20,30,40,50. I want to set a file pointer at 30 to read records using CL/CLLE.Thanks

    HABBIE895 pointsBadges:

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.