• Did anyone use DATA structures In CL

    As of V5R4 it is possible to use Data structures in CL similar to RPG. The most useful thing to use is for qualified commands where the qualifie parameter is a File and Libraray. but itl looks to me that it does not work when the parameter is a data structure and the program is CLLE. in CL it works.

    77060 pointsBadges:
  • How to FTP a FILE.savf from PC to AS400 as FILE

    Can someone explain how to FTP from a PC, using a AS400 program (RPGLE or CLLE), a pc file (FILE.savf) to a AS400 savefile (FILEA) in library (LIBA). The only way I know is using a DOS window and entering commands. But I would like to use a program on AS400 to do this FTP. Can someone help?

    Rick53110 pointsBadges:
  • Why doesn’t the substring of a large field in CLLE program work correctly?

    I have a CLLE program in which I pass two parameters, the first is a one character field, the second is a 600 character field. When run, the parameters come in correctly. But when I substring the second parameter into 40 fifteen character pieces it gives me a CPF0804 error half way through the...

    Rick53110 pointsBadges:
  • MQ depth through CLLE Or RPGLE programs.

    I am trying to search is there a way to know the MQ depth in RPGLE or CLLE programs using some set of MQ API's or MQ command. It will be a great help for me if some one suggest a way out.

    Samar5 pointsBadges:
  • How to change status line (24) from CL?

    I'm trying to leave a status message on line 24 when my CL(LE) program is done. Unfortunately, as soon as the message appears, it vanishes! This CL submits a batch process, and my goal is to notify the user that they submitted it so that they don't just keep doing it because they have seen no...

    Koohiisan5,020 pointsBadges:
  • Change attribute for CLLE program object

    HI can i change the object attribute for a CLLE program to CLP (as in the case with a CLP we can change it to CLLE). SOmebody plz tell me how we can do that?

    ten20081,150 pointsBadges:
  • CLP to CLLE

    How can I conver a CLP progra to a CLLE program

    Sarit5 pointsBadges:
  • remove a trigger file record lock

    I have a CLLE trigger program that is trying to set a job environment. I am manipulating the LIBL on the fly based on the location of the order and if it's TEST or LIVE. I get the info from the trigger input parms which has the order#, location, TEST or LIVE, order# and order status which is blank...

    ToddN200015,605 pointsBadges:
  • AS400 menu opton security

    Hello I need to be able to set up security at the menu and menu option level so that I can limit users to specific menus and menu options based upon their user id. I would like to be able to do this thru a custom program written in CLLE or RPGILE. This program would be interfaced when the user...

    Piano520 pointsBadges:
  • OVRPRTF not chaning OUTQ

    I have a program where the OVRPRTF command does not seem to be taking affect.  The output is going to the job's default outq and not the overridden outq.  The following are consecutive lines from the job log:

    ElTerrifico620 pointsBadges:
  • Email message sent is printing 2 pages

    I have written a process where a salesrep remotely orders a special item that we don't normally carry and it signals the buyer to order it.  When the item is ordered the system emails the salesrep. I use SNDDST with *LMSG with a short note stating the item has been ordered with item, vendor,...

    filuphaze475 pointsBadges:
  • 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:
  • Rename the uploaded file….

    hi all i want to rename the just uploaded file to a PC from AS400. Like what happening is that i have used some commands to upload a PF to a .txt file to a PC that are written in CLLE. now i just want to rename the file name with a longer name that is not supported in that CLLE commands..... How...

    Karank55 pointsBadges:
  • writing record to a file through CLLE

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

    Anisanju5 pointsBadges:
  • how to create new result field by concatinating two or more fields in OPNQRY.

    Hi All, i want to create a new result field by concatinating two or more fields in OPNQRY for comparision. In detail: I have one tranaction file having millions on records however i want only records which were trasacted in last twodays. I have 3 seperate fields in trans file as TRYEAR, TRMONTH,...

    Mohan K695 pointsBadges:
  • Omitting parameters in CLLE

    I was adding a couple of parameters and monmsg mch3601 to a CLLE function called from many and unspecified programs. To avoid it falling over I was being careful to ensure that the first executable code was a Chgvar / monmsg mch3601 of the parameter which may have been omitted on a call from an...

    Yorkshireman5,580 pointsBadges:
  • How to print a Spool File?

    Hi guys, Actually i'm stuck with printing the spool file. I've done a simple Screen(DSPF), Printer File(PRTF). For example: i have a screen then press any function key, eg:F9. When pressing the F9 it will call my program that generate a report which is store in Spool File(WRKSPLF). I'm just...

    SoulReaper20 pointsBadges:
  • CLLE File Declaration

    Can display File and PF be declared in a CLLE program

    VPAIS5 pointsBadges:
  • How to end a batch job in CLLE program?

    I tried to end a batch job in CLLE by retreiving the job attributes through RTVJOBA and ENDJOB,but it doesn't work.Can anyone tell me what is the other procedure?

    SamTheBest15 pointsBadges:
  • Nasty bug on new function of V5R4

    as of V5R4 - DCL supports the STG (storage) keyword, which lets you designate how a variable's storage is to be allocated. STG(*DEFINED) tells the compiler that a variable overlays all or part of another variable. You'll also need to use the DEFVAR (defined on variable) keyword to tell which...

    77060 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