• Help with CL to answer MSGW on printer WTR

    I have been out of programming for a few years, and am pretty rusty. We run a system that the end users have no command line access. Their printers have occasion to go into MSGW status (ie out of paper, etc.). They then have to call to get support to answer the MSGW on the WTR. I am hoping to be...

    pcoffin75 pointsBadges:
  • Difference between CRTPGM command and CRTBNDRPG

    Hi, Can any one please tell me what is the difference between CRTPGM command and CRTBNDRPG command and what is the appropriate use of these commands ?

    Mohan K695 pointsBadges:
  • AS/400 monitor out queue

    We have set up an out queue which is used strictly to email reports. As a result there should never be a lot of reports in the out queue. If there are a lot of reports, this means there is a problem and our reports are not emailing. Is there a way to monitor this queue? I would like a message sent...

    GHENDER250 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:
  • Trap decimal data error in COBOL/400

    I mean how to trap decimal data error in COBOL\400 as we do monmsg command in cl. Is there any same way in COBOL\400?

    Kapiltiwari350 pointsBadges:
  • Setting lower limits In CL

    I know how to declare a file and read through the data in CL....but how can you reset it? Like setll in CL. I have searched and searched but nothing works. I have closed opend...etc.. Any ideas? Example: PGM DCLF FILEA Loop: RCVF FILEA If %EOF ne '0' DO Goto Loop: Enddo. Now I want to read through...

    RonKoontz1,810 pointsBadges:
  • List out only lckw jobs from the active job list

    Hello, Does anyone have any ideas on how I can list out only the active jobs that have a status of lckw. It would be great if I could get that list sent to a physical file. Any suggestions are welcome. Thanks all.

    bp01442105 pointsBadges:
  • Can Synon create a CL code?

    How is CL code implemented in Synon?

    Devanand051015 pointsBadges:
  • Retrieving system name using a CLP

    How to retrieve the iseries or AS400 SYSTEM NAME USING A clp program?

    MELINDAD5 pointsBadges:
  • Executing PHP script from CL using qp2shell and php-cli

    I have a PHP script on the IFS which I need to call from a CL program using qp2shell and php-cli. I have the following code which works: CALL  QP2SHELL  PARM('/usr/local/zendsvr6/bin/php-cli' '/stuff/phpEmailer/index.php') However, I need the path to the PHP script ('/stuff/phpEmailer/index.php')...

    jailall101785 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 retrive only MSGW status in AS/400 through CL?

    How can I retrive only a MSGW status in AS/400 through CL?

    perkaravi1235 pointsBadges:
  • Spool file Exist in a CL program

    How do I check in CL to see if a spool file exists? I am using IEFFECT (PDF creation software) to create PDF's, but I only want the IEFFECT job to run if a relevant spool file exists.

    ITDavid180 pointsBadges:
  • Trace Job (TRCJOB) in CL program

    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:
  • RPG/400 and CL/400 lifecycle

    Hi, Very good morning my friends.Can any body tell me RPG/400 and CL/400 life cycle? Please!

    AnonymousUser49,520 pointsBadges:
  • How to convert spool files to DPF?

    I am trying to convert spool files to PDF format and I'm having trouble with special Arabic characters. Can anybody help?

    Aq15 pointsBadges:
  • OPNQRY and WRKQRY

    In WRKQRY, there is an option to save the selected records to an output file. Similarly is there a way to use OPNQRY in a CL or in an SQLRPG to directly move the selected records to another file?

    AnonymousUser49,520 pointsBadges:
  • Recieving a diagnostic message in AS/400 program

    Hi, I want to receive message text of diagnostic message that encounters in program. I want it in a variable so that I can write it into a error log file. Please suggest a way to trap them and to have the text. I tried using RCVMSG but it didn't work out. Thanks!

    munduuu435 pointsBadges:
  • Reading IFS file from CL program

    I have a requirement of reading a IFS file from CL program. As far as I know there is no direct way of achieving this. I am planning ot use CPYFRMSTMF followed by CPYF to copy the IFS file first as a memeber and then as a database file. Is there any better way to achieve this? Regards Sudip

    Raju40060 pointsBadges:
  • What is the difference between CPF0000 and CPF9999?

    Can someone tell me what is difference between CPF0000 and CPF9999?

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

Thanks! We'll email you when relevant content is added and updated.

Following