• 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:
  • 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:
  • I am not able to call CL Programe from within RPG Programme. I am using free as400 connection from pub1.rzkh.de Please Suggest

    when i am calling a clle programe from rpgle it gives cannot resolve object as the caled programme did not found but the called and caling programme bothe are present in the current library, also it gives same error now for RPg called programme. The compilation to form a programme fom the module...

    Agg harish sag10 pointsBadges:
  • How to retrive a perticular string details from all the members of file using FNDSTRPDM

    please send me an example program to retrive a perticular string details from all the members of file using FNDSTRPDM.

    It doubts85 pointsBadges:
  • how to write all the matching records in to antoher file in CL program

    hi, i am having a pf in that pf contain many members, using display file i have to search a perticular string in all the members if it is found these matching records want to write into another file this is my requirement. in CL grogram how to do this? using FNDSTRPDM can we do that, please replay...

    It doubts85 pointsBadges:
  • To get a perticular string details from all the members of a file

    Here i am doing get all the member names from the perticular file. for that use dspfd command and pertilular MBRLST and the output instead of displaying saving in a file and reading that file in aloop CL program using RCVF command and overriding the file with the each memberthen call the program in...

    It doubts85 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 haappen to know if there is such a command that would provide this information, and...

    Piano520 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:
  • rename a file in a loop procedure

    I am writing a pgm that reads a file and outputs a PDF to the IFS. the problem is I need to rename the file for eace splf conversion to pdf; how would I write that in CLLE? or would ir take a RPG pgm to do this? Thank you, Robert

    Rrock15 pointsBadges:
  • Activation Groups and Open Query File use

    I am executing a CLLE program that uses an OPNQRYF to select records from file "FILE1" which is a physical file containing in excess of 1 million records. I only need records with a specific date (about 5000 records) The file is opened for share = *yes and the program calls an RPGLE program that...

    wmfsr20 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