CL Questions and Answers

Recent IT Questions

1 - 20 of 199
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>

AS/400 Primary Language

Hi! I developed an application in CL and RPG and I want it to be multilingual. Is it possible to programmatically read the system primary language so I can use the same language for my application?[o:p][/o:p]

View Answer   |  Nov 18 2009  3:05 PM GMT
AS/400 Primary Language CL RPG, CL, RPG
asked by BobIV

  15 pts.

data search using popup window

Is there a sample RPG/CL/SQL code on how to create a popup window to search data from a PF? Software/Hardware used: RPG, CL, SQL, iSeries

View Answer   |  Nov 17 2009  0:44 AM GMT
Physical Files, RPG, CL
asked by Sarapsm

  5 pts.

STRQMQRY in batch on i5

Can STRQMQRY be run in batch? I am getting error message: Global variable prompting is not allowed in batch mode. I am passing 2 parameters from a display screen Software/Hardware used: iSeries, SQL, CL

View Answer   |  Oct 19 2009  4:16 PM GMT
SQL, CL, SQL development
asked by TOASTY

  35 pts.

not a valid Query Management variable.

Hi, can someone please help me, I am trying to use the QMQRY function to run an update statement. I pass it a variable from the program. Get the following error. is not a valid Query Management variable. Error found on STRQMQRY command. Function check. CPF0001 unmonitored by PGMFCTSEC at statement...

View Answer   |  Oct 1 2009  11:32 AM GMT
QMQRY, CL programming, CL variables
asked by Pmh

  5 pts.

CL Program

How to create 'n' number of userprofile from CL Program.

View Answer   |  Sep 26 2009  12:25 AM GMT
CL programming, CL programs, CL
asked by Lsivabe

  40 pts.

RPG Programming Standards

I'M LOOKING FOR RPG PROGRAMMING STANDARDS. We have always had standards example if you create a report the report should have the date, title, program name, page numbers.  Does anyone have a stanards document or is there anything on the web?   I appreciate your help!     Software/Hardware...

View Answer   |  Sep 23 2009  3:51 PM GMT
RPG, CL, AS/400
asked by Superbusy

  15 pts.

Can i declare a display file and a physical file in a single CL

Can i declare a display file and a physical file in a single CL.  Also can u share a sample program, which uses the parameters entered in the display file (using SNDRCV command) and processes records from a physical file.

View Answer   |  Sep 9 2009  12:11 AM GMT
CL programming, AS/400 Display File, Physical Files
asked by JohnsonMumbai

  380 pts.

How to get IP address of as400 machine in CL pgm

Hi CAn any 1 tell me how to get the IP address of the AS400 machine in CL program.Are there any API for this.I need  to pass this IP to run a java program thrugh CL.. Thankx in advance Supriyob   Software/Hardware used: AS400

View Answer   |  Sep 1 2009  11:00 AM GMT
API, CL, CL programs
asked by Supriyob2

  65 pts.

Displaying data through DSPF and CL programm.!

I would like to be able to display one record from my PF with DSP file through a CL program on my screen. I have these sources: CL program: ******************************************** QSYSPRT          1  QPADEV0021  USERNAME      pgm             ...

View Answer   |  Aug 26 2009  2:07 PM GMT
DSPF, CL, PF
asked by Avrelivs

  55 pts.

SNDUSRMSG equivalent in RPG (including VALUES and DFT)

Some time ago I found a piece of code by Scott Klemens regarding the implementation of SNDUSRMSG in RPG using QMHSNDM and QMHRCVPM. I need to do the exact same thing, however I also need to pass the values for the VALUES and DFT keywords used with SNDUSRMSG. Does anybody have an idea on how to do...

View Answer   |  Aug 26 2009  1:19 PM GMT
iSeries, AS/400, CL
asked by Roelpeeters

  5 pts.

IFS File Attributes

How do you retrieve the Creation Date of a link file object (an STMF) into a CL program?

View Answer   |  Jul 28 2009  11:35 AM GMT
IFS, CL, STMF
asked by Ricca

  70 pts.

upload to as/400

hi, my user can only use client access to upload and download file only (please assume there is only this method), is it possible for me to write a batch file to automate the upload and download. just like ftp, i can always write a script to put all the 'GET' command and trigger the FTP in CLP...

View Answer   |  Jul 14 2009  1:35 AM GMT
Client Access, AS/400 FTP, CL
asked by Boulevard

  55 pts.

SAVOBJ with OBJ as variable

Can we use variable in SAVOBJ like SAVOBJ OBJ(&OBJLIST).? I have a file containing list of objects to be saved. I was planning to read and concatenate the object names in &OBJLIST and later use in SAVOBJ. But getting a "Value 'xxxxx xxxxx' for OBJ not a name or generic name. I think the quotes...

View Answer   |  Jul 9 2009  11:46 AM GMT
SAVOBJ, CL, OBJLIST
asked by Raju400

  60 pts.

Save selected files using RSTOBJ

I have written a pgm for our package installation which basically extract the objetcs from a save file shipped to customer along with the pgm. Now, before restoring the objects I need to take backup of the required object from the application lib. I have a PF file shipped with the save file which...

View Answer   |  Jul 9 2009  7:17 AM GMT
CL, RSTOBJ, Restore Object
asked by Raju400

  60 pts.

email from rpg

I want to be able to email from a RPG/CL several .csv files from the IFS

View Answer   |  Jul 9 2009  1:49 AM GMT
Email IFS files, RPG, CL
asked by Joeyski

  15 pts.

SAVOBJ

I am trying to use the SAVOBJ command to copy files to a save file. Is there a way to add to the save file and not write over it with each SAVOBJ call? I know I can create a list of files and send all of them to one save file but I would rather just add to the save file if possible. Thanks

View Answer   |  Jul 8 2009  7:33 PM GMT
CL, CL programming, CL Commands
asked by Nward3

  5 pts.

Calling a procedure from a CL program

Hi, how do we call a procedure, with parameters from a CL program? Does anyone have examples?

View Answer   |  Jul 7 2009  5:01 AM GMT
CL, AS/400 Control Language, CL Procedure
asked by Siri

  35 pts.

how to convert spool files to pdf

I am trying to convert spool files to PDF fromat na d having special Arabic charracters any bod gelp ?

View Answer   |  Jun 27 2009  8:10 AM GMT
CL, Spool files, AS/400 PDF
asked by Aq

  15 pts.

Run SEQUEL Viewpoint Client Report from CL

How can you run a Viewpoing client report from a batch CL job?

View Answer   |  Jun 18 2009  6:02 PM GMT
SEQUEL, Viewpoint, CL
asked by SamH

  5 pts.

Create a Stored Procedure using CL and RPGLE programs

I have an RPGLE program called from a CL program for database files overrides. I want to call the same programs from a stored prodecure on SQL Server from within a Web application. I am brand new to SQL Server but am pretty good on the AS400.

View Answer   |  Jun 12 2009  3:17 PM GMT
RPGLE, CL, Stored Procedures
asked by NCharette

  5 pts.

1 - 20 of 199
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>