CLLE Questions and Answers

Recent IT Questions

1 - 20 of 32
<<PREVIOUS 1|2 NEXT>>

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

View Answer   |  Nov 20 2009  3:16 PM GMT
SNDDST, RPG ILE, CLLE
asked by Filuphaze

  315 pts.

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

View Answer   |  Oct 27 2009  4:10 PM GMT
CALLSUBR, SUBR, ENDSUBR
asked by JamesR

  70 pts.

writing record to a file through CLLE

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

View Answer   |  Sep 8 2009  11:29 AM GMT
CLLE File Declaration, CLLE, Physical Files
asked by Anisanju

  5 pts.

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

View Answer   |  Jul 22 2009  11:41 AM GMT
AS/400, CLLE, OPNQRYF
asked by Mohan K

  470 pts.

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

View Answer   |  May 5 2009  2:37 PM GMT
CLLE, MCH3601
asked by Yorkshireman

  3200 pts.

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

View Answer   |  Mar 12 2009  8:31 AM GMT
Print Spool File, Spool files, CLLE
asked by SoulReaper

  20 pts.

MSGW in WRKACTJOB

How to end a job in MSGW how we can give in a program all the proces to give OPT-7 in front of a job which is in MSGW & giving 'G' to end that in RPGLE /CLLE progrm that too in a scheduled time

View Answer   |  Jan 5 2009  5:46 AM GMT
MSGW, WRKACTJOB in AS400, Message Waiting status
asked by Sitaratnam

  10 pts.

CLLE File Declaration

Can display File and PF be declared in a CLLE program

View Answer   |  Dec 15 2008  2:19 PM GMT
CLLE, PF, CLLE DSPF
asked by VPAIS

  5 pts.

CLLE program

I am new to AS400.I just learnt CLLE and i am facing the problem with the parameter that send from a RPGLE pgm to a CLLE pgm. The first pgm is to prompt the user to key in the date which is a numeic field. The coding for the first pgm is : FWKCFFM CF E WORKSTN * Parameter List...

View Answer   |  Oct 29 2008  4:43 PM GMT
RPGLE, CLLE
asked by Cev

  105 pts.

declare file

Are we still limited to one DCLF within a CLLE program?

View Answer   |  Sep 26 2008  6:54 PM GMT
CLLE, DCLF
asked by Jimnebe

  5 pts.

Is there a way to automate the 'Receive Files from Host' command'?

I need to automatically run the Receive Files from Host command after business hours. Is there a CLP command to accomplish this with an example? Thanks, LWK

View Answer   |  Sep 18 2008  12:31 AM GMT
CLP, RPGLE, VB
asked by Lwk

  25 pts.

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

View Answer   |  Sep 11 2008  7:38 AM GMT
CLLE, CL, Data structures
asked by 770

  60 pts.

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

View Answer   |  Sep 7 2008  10:55 AM GMT
CLLE, CL, V5R4
asked by 770

  60 pts.

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?

View Answer   |  Sep 3 2008  6:10 AM GMT
CLLE, CL, Batch job
asked by SamTheBest

  15 pts.

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

View Answer   |  Aug 25 2008  7:29 PM GMT
TCP, RPGLE, iSeries networking
asked by LHrabar

  95 pts.

Message status

Hi, Can any one please tell me what are all the different job statuses in as400 like MSGW,CNDW,EVTW,DEQW,DLYW and what do they actually stand for?

View Answer   |  Aug 21 2008  3:53 PM GMT
AS/400, RPGLE, CLLE
asked by Knowledgeseekerone

  20 pts.

Last Day of Month

Is there a routine to arrive at the exact last day of the month? *Month doesn't do it.

View Answer   |  Jul 1 2008  5:02 PM GMT
CLLE, AS/400 date format
asked by Djomay

  5 pts.

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

View Answer   |  Jun 11 2008  6:30 AM GMT
AS/400, RPGLE, CLLE
asked by Karank

  55 pts.

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

View Answer   |  Jun 2 2008  7:44 PM GMT
CLP, CLLE, Status message
asked by Koohiisan

  995 pts.

I Put a HEX on youuuuuuuu......

Does anyone have any suggestions as far as reference material that would help me understand EBCDIC Character sets, Hex, Binary, and how you can tie them into CL's & RPGLE's, and whatnot?

View Answer   |  May 21 2008  2:43 PM GMT
RPG, CLP, RPGLE
asked by ShatteredRaven77

  390 pts.

1 - 20 of 32
<<PREVIOUS 1|2 NEXT>>