CLLE Questions


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?

Answer Question   |  September 16, 2008  6:10 AM
Batch job, CL, CLLE
asked by:
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 remote IP, and the application does [...]

Answer Question   |  September 2, 2008  7:29 PM
CL, CLLE, iSeries networking, RPGLE, TCP
asked by:
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?

Answer Question   |  March 22, 2012  3:53 PM
AS/400, CLLE, RPGLE
asked by:
30 pts.

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

Answer Question   |  June 7, 2010  5:02 PM
AS/400 date format, CLLE
asked by:
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 [...]

Answer Question   |  October 17, 2009  6:30 AM
AS/400, CL, CLLE, RPGLE
asked by:
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 [...]

Answer Question   |  April 23, 2010  7:44 PM
CLLE, CLP, SNDPGMMSG, Status message
asked by:
5,005 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?

Answer Question   |  April 21, 2010  2:43 PM
Binary, CL, CLLE, CLP, EBCDIC, Hex, RPG, RPGLE
asked by:
685 pts.

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 prepared from [...]

Answer Question   |  May 5, 2008  2:05 AM
cannot resolve object, CL, CLLE, RPGLE
asked by:
10 pts.

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

Answer Question   |  April 11, 2008  4:05 AM
CL, CLLE, FNDSTRPDM
asked by:
85 pts.

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.

Answer Question   |  April 24, 2008  12:24 PM
CLLE, FNDSTRPDM
asked by:
85 pts.

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 that [...]

Answer Question   |  April 8, 2008  6:45 AM
CLLE, DSPFD, RCVF
asked by:
85 pts.

CLP to CLLE
How can I conver a CLP progra to a CLLE program

Answer Question   |  April 13, 2010  2:52 PM
CLLE, CLP, iSeries development
asked by:
5 pts.

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 furthermore, if there [...]

Answer Question   |  March 28, 2008  1:09 PM
CLLE, DSPLNK, iSeries
asked by:
420 pts.

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

Answer Question   |  January 31, 2008  11:00 PM
CLLE, OPTIONS(*NOPASS)
asked by:
420 pts.

Daily Job Suddenly Disappeared
Hello, We have job that runs in overnight batch Mon-Friday. The users access the reports the next morning. Suddenly, on 1/18/2008 the spooled reports for the job are no longer on the system. All previous jobs are there, but since this day the job has ran daily but none of the reports are kept-users cannot [...]

Answer Question   |  March 9, 2010  3:10 PM
AS/400, CLLE, CLP, iSeries, parameter, RPG
asked by:
10 pts.

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

Answer Question   |  January 11, 2008  11:30 PM
CLLE, IFS, RPG
asked by:
15 pts.

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

Answer Question   |  March 8, 2010  2:43 PM
AS/400, CLLE, RPGILE
asked by:
420 pts.

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

Answer Question   |  December 31, 2007  3:57 PM
Activation Groups, CLLE, OPNQRYF, SHARED DATA PATHS
asked by:
20 pts.

Nested Selects in CLLE
I am attempting to palce Nested Select Statements within a CLLE program and it will not accept the process. ie: SELECT wHEN a=B THEN(DO) PROCESS…. ENDDO WHEN C=D THEN(DO) PROCESS eNDDO WHEN (X=Y) tHEN(DO) select wHEN X1 = A tHEN(dO) PROCESS eNDDO wHEN X1 = b THEN(DO) PROCESS eNDDO eNDselect wHEN X=z tHEN(DO) ENDDO ENDSELECT [...]

Answer Question   |  October 24, 2007  7:11 PM
CLLE, NESTED, SELECT statement
asked by:
20 pts.