• QMQRY not a valid Query Management variable.

    Hi there, I am trying to pass parameters to QMQRY but get the following error. CALL PGM(JCCSTREP2) PARM(C165) 'C165' is not a valid Query Management variable. Error found on STRQMQRY command. CPF0001 received by JCCSTREP2 at 2800. (C D I R) the CL pgm that call the query is as follows: PGM...

    NormFeile25 pointsBadges:
  • Trace Job (TRCJOB)

    One of my old CL Prog uses this cmd TRCJOB MAXSTG(1024) EXITPGM(LIB/MYPGM) after migrating to V5R4 it is not working can anybody tell me how to use in V5R4.

    Wasifzaheer35 pointsBadges:
  • clearing multple members in a physical file

    Does anyone know of a way (or utility) to clear multiple members in a physical file ? i create multiple members for the file on the fly based upon date/time in a cl program. the file is a weekly archive of data from a transaction processor, and i want to clear it and start over on a weekly basis. i...

    Lacag100 pointsBadges:
  • Check expiry date of tape (using iSeries and BRMS)

    I am chasing a simple CL program to check if the currently loaded tape has the data as *expired so it can be written to under BRMS. It shouldn't be that hard but I've searched for literally days and can't find anyone to help.

    GarryS15 pointsBadges:
  • AS/400 CL Auto Reply to “Load Next Tape messages”

    Would like to auto reply to this message without amending the system reply list entries, rather just from within the Backup CLP itself.

    Techman965 pointsBadges:
  • Unable to over ride a PF member

    Hi, I made a cl program and in it I over ride a pf member, clrpfm then call my rpgle program. I can't write on my member but instead it writes on the primary member and reads it. seems the member that is used is the the primary member and not the member that I over rides.

    Ayterrobias5 pointsBadges:
  • Cl program that reads a datafile for ftp

    i need an example of cl program that reads a file containing ftp commands and executes the commands in their arrival sequence. thanks.

    Lacag100 pointsBadges:
  • CL/400 command for Exit Point or Exit Programs

    please advice any CL command is there for finding the information regarding exit points and exit programs.

    Askt1140 pointsBadges:
  • How to add CRLF to a CL Message

    I would like to add a CRLF so part of a message in a CL command will go to a new line.

    Tw65 pointsBadges:
  • CL/400 – How to convert Spool file to Notepad

    Hello Friends, I have a question. In my current project, I have to covert a spool file to notepad and this notepad I have to send it as an attachment to one email address. Question 1: How can I convert spool file to notepad? Question 2: How can I send a notepad as attachment to one email address?...

    BibinGeorge130 pointsBadges:
  • How to check if email option is enabled on a AS/400 server

    How to check if email option is enabled on a AS400 server

    Askt1140 pointsBadges:
  • Send a break message to multiple users

    How to send a break message to multiple users.SNBRKMSG has the option to send it only to worksations.

    Askt1140 pointsBadges:
  • RPG/400 – How to check if record is reaching end of the file in CL

    Please advice me how to chck record is reaching end of the file in CL.

    Askt1140 pointsBadges:
  • Not able to override a database file in CL

    Hi, I am trying to override a physical file using CL. But,when I go and delete the override, I get an exception that it was never overriden. :( Any help will be highly appreciated

    Prabhjot8515 pointsBadges:
  • CL problem with purge

    The below code was written to automatically purge files once in 2 months.The problem here is that there are months with 30,31 and 28 days so while deletion some files may be left out.Can this be rectified. CHGVAR VAR(&PYD) VALUE(&PYC) CHGVAR VAR(&PMD) VALUE(&PMC) CHGVAR VAR(&PDD) VALUE(&PDC) CHGVAR...

    0 pointsBadges:
  • MSGW

    Thank You for your reply But I need the process how I can write a program in order to get all the process to be done that is, giving opt7 & reply 'G' for a MSGW job. Or can I have any other process to do the same that means sending a reply to a MSGW job in RPGLE or CLLE or by any other process in...

    Kothamasusitaratnam5 pointsBadges:
  • CL Program

    Hello, Where do I write a CL Program in the iSeries? step by step. thanks

    Querys100 pointsBadges:
  • ftp in As400

    OVRDBF FILE(OUTPUT) TOFILE(*LIBL/FTPSRC) + MBR(FTPLOG) FTP RMTSYS('123.4.5.678') DLTOVR FILE(INPUT OUTPUT) Can you let me know if the above code would write the FTP transmission details to file ftplog.

    0 pointsBadges:
  • ftp rpg

    Hi I have called a program which would read the contents of the FTPLOG file member for successful transmission and sets an error flag ERR accordingly.Now i need to pass this value from the RPG to CL and use it to send a notification CALL PGM(FTPLOG) IF COND(&ERR *EQ 'Y') SNDUSRMSG MSG('FTP...

    0 pointsBadges:
  • CL AND RPGLE

    can i call an rpgle prog from a cl by passing parameters from cl. Also how do i debug these two sources which are of different types.I am not able to use strisdb to link the modules.

    0 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.

Following