• 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:
  • CPYSPLF from one profile to another

    Is there a command thru which we can copy the spool file from one profile to other?

    PRIYAS40 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!

    AnonymousUser18,240 pointsBadges:
  • CL/400 command for Exit Point or Exit Programs

    Please advise. Is there any CL command for finding the information regarding exit points and exit programs.

    Askt1140 pointsBadges:
  • Subfile with CL/400

    How can I declare a file in the CL/400?

    Spmkalai5 pointsBadges:
  • List of Outfiles

    I've seen a list of the System Supplied Outfiles in one of the manuals. Can anyone direct me to that manual? Thanks, Bill Poulin

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

    How do I check if email option is enabled on a AS/400 server?

    Askt1140 pointsBadges:
  • File Size in CL/400

    I need to access file size in CL/400. I can't use DSPFD TYPE(*ALL) with OUTPUT(*OUTFILE). Please give the solution.

    NarasimhaReddy225 pointsBadges:
  • Flat file or Physical file in as/400?

    How to know whether a file is physical file or flat file in CL/400?

    Alicsc370 pointsBadges:
  • Inside a running CL program can you find the lib that the program is running from?

    Can you find in a running CL program the lib that it was started from? For example in a C program you can get the library name from argv[0].

    mrlchile50 pointsBadges:
  • Reading records from a file (No Key Field) in reverse order through CL.

    Hi, I just want to know how to read a PF in reverse order through CL. File has no key field. I am trying this using OPNQRYF but I'm unable to get. Kindly let me know the code. Thanks

    HABBIE895 pointsBadges:
  • OVRDBF -POSITION

    Hi,     How to position the record in CL based on the key value? I have tried this.my CL program is as follows... ***************************  PGM                                                    DCLF       FILE(PMS90/EMPMST90)                      ...

    22917560 pointsBadges:
  • STRPCCMD not transfer file into EXCEL

    Here is CL code: DCL VAR(&PATH) TYPE(*CHAR) LEN(110) VALUE('C:\Documents and + Settings\My Documents\QRY result to EXCEL\QRY#2\FILE1.TTO') STRPCO PCTA(*NO) MONMSG MSGID(IWS4010) STRPCCMD PCCMD(&PATH) PAUSE(*NO) Program is running but no file on EXCEL side was updated.

    loveras4005 pointsBadges:
  • Compile all dependent logical files at once

    I would like to convay my Thanks ReshmaG & Gilly400. My main requirement is I have a Physical file called PF1.On this there are 20-logical files are depended . I have changed some attributes on my PF1. Now I want to recompile all the Logical Files , which are depended on PF1. I am writing code...

    Khadar90 pointsBadges:
  • Use CVTDAT to convert date formats

    I have taken 2 parameters(like date and date types). A. If suppose date type is j, now i want to convert date to *MDY format B. If date type is M,now i want to convert date to *JUL format C, sending a Program message with the value of converted date. (With use of CVTDAT in cl coding.) Can anyone...

    Thara15 pointsBadges:
  • Write record value onto DSPF using OVRDBF

    In a single CL/400 program, is it possible to declare physical file File1, then read a record and later writing the record value onto the DSPF using OVRDBF with in a same CLP?

    Kar425 pointsBadges:
  • What is the lifecycle of RPG/400 and CL/400?

    In an interview, interviewer asked me this question: Can anybody tell me what is RPG and CL lifecycle in a real-time scenario?

    Ben Rubenstein11,090 pointsBadges:
  • OPNQRYF problem CPF9899

    DCLF FILE(LIBRARY/DISPLAY) START: SNDRCVF RCDFMT(REC) WAIT(*YES) IF COND(&IN03 *EQ '1') THEN(DO) GOTO CMDLBL(END) ENDDO IF COND(&ENQQUA1 *EQ ' ') THEN(DO) GOTO CMDLBL(START) ENDDO IF COND(&ENQQUA1 *NE *BLANKS) THEN(DO) OPNQRYF FILE((SARKNS/ENQP002)) OPTION(*ALL) + QRYSLT('&ENQQUA...

    Khadar90 pointsBadges:
  • OPNQRYF query not working to filter pfdiv records

    I have 4-fileds on Display File like frdiv(zoned),todiv(zoned),frpr(char),topr(char). All the fields are of size 2 only. I am using a "OPNQRYF" to filter the records from a Physical file (pfdiv), it contains 1,25,000 records . Through this openqryf all the selected records I will copy to a file...

    Khadar90 pointsBadges:
  • OPNQRYF error in QRYSLT

    PGM DCLF FILE(LIBRARY/DISPLAY) START: SNDRCVF RCDFMT(REC) WAIT(*YES) IF COND(&IN03 *EQ '1') THEN(DO) GOTO CMDLBL(END) ENDDO IF COND(&ENQQUA1 *EQ ' ') THEN(DO) GOTO CMDLBL(START) ENDDO IF COND(&ENQQUA1 *NE *BLANKS) THEN(DO) OPNQRYF FILE((SARKNS/ENQP002)) OPTION(*ALL) +...

    Khadar90 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