CL/400 Questions and Answers

Recent IT Questions

41 - 60 of 63

AS/400 CL program - MSGW status

My requirement is I want to ensure that CL program enter into MSGW status after processing all the statements. What are the easiest ways to achieve this? (Without calling any programs from the CL)

View Answer   |  Nov 30 2008  6:54 PM GMT
CL, CL/400, AS/400 Control Language
asked by KumarPhani25

  5 pts.

Data Area in CL?

How to get data from Data Area using CL program code?

View Answer   |  Nov 28 2008  4:41 PM GMT
CL, CL/400, RTVDTAARA
asked by 6r

  155 pts.

TXT file naming using CL

Hi I hve created a txt file from a pf using cpytoimpf.The name of the txt file should have ccyymmddhhmmss in its name.I can retreive the date and time parameters from qdate and qtime.How do i name the txt file using a CL.

View Answer   |  Nov 25 2008  11:16 AM GMT
CPYTOIMPF, CL, CL/400
asked by Anderson123

  840 pts.

CL/400

can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value...

View Answer   |  Nov 10 2008  5:36 AM GMT
CL, CL/400, AS/400 Control Language
asked by As400venkat

  20 pts.

To use Arithmetic operations in Cl program

Hi, i am fresher for AS400.I dont know how to retreive a sysval using arithmetic operations in cl programming and too storing in a dataarea and displaying the result through msg

View Answer   |  Oct 14 2008  12:56 AM GMT
CL/400, CL programming
asked by S85

  5 pts.

Convert date to match database field with L data type?

The field in file is defined with data type L (2008-09-29). My date range in display file is MMDDYY. How do I convert prompt date so I can opnqryf on field in data base file?

View Answer   |  Sep 29 2008  2:12 PM GMT
CL, CL/400, CVTDAT
asked by Sue

  5 pts.

CL/400

I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B. if date type is M,now i want to convert date to *JUL format C. sending a Program message with the value of converted date.(With use of CVTDAT in cl coding)Please give me...

Answer Question   |  Sep 17 2008  11:40 AM GMT
CL, CL/400, CVTDAT
asked by Thara

  15 pts.

rpg/400

Hi, Im fresher for as/400.Actually im facing the interview on as/400.in one of the interview interviewer asked one question like what is rpg/400 and cl/400 life cycle.But i can not able to tell answer for this question.can any body tell me what is rpg and cl life cycle in real time cenario?

View Answer   |  Aug 20 2008  12:46 AM GMT
CL/400, RPG/400
asked by Smart

  95 pts.

cl/400

Im kuppi.im working as a software trainee on AS/400 technology.i have also joined with ibmi5 team.im trying to convert date with cl/400 coding.I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B. if date type is M,now i want...

View Answer   |  Aug 18 2008  10:18 AM GMT
iSeries, CL/400
asked by Smart

  95 pts.

All MONMSG's against a particular Command

Is is possible to know all the monitor messages that are available against a particular command in one go

View Answer   |  Aug 12 2008  11:58 AM GMT
CL/400
asked by JohnsonMumbai

  380 pts.

QCMDEXC

Hi, i have built a small application using CL to convert date to required format. When i want to accomplish the same from RPGLE program with a display file to input date i wanted to call CVTDAT command from the RPG program. But i am geting error saying this command can't be issued in this set...is...

View Answer   |  Aug 12 2008  10:39 AM GMT
RPG, RPGLE, CL/400
asked by Ten2008

  725 pts.

Read a message Queue without loosing messages

I have developed a CL pgm, which monitors a message queue and in case a job ended abnormally message appears on that message queue, the system sends a email message to certain users. This is working fine, however the user whose message queue i monitor does not receive any message as my program...

View Answer   |  Aug 4 2008  12:01 AM GMT
CL, CL/400
asked by JohnsonMumbai

  380 pts.

cl/400

Hi, Good morning my experts.Im kuppi.im working as a software trainee on AS/400 technology.i have also joined with ibmi5 team.im trying to convert date with cl/400 coding.I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format...

View Answer   |  Jul 31 2008  5:37 AM GMT
CL, CL/400, CVTDAT
asked by Ibmi5

  125 pts.

%SST

Hi, Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the...

View Answer   |  Jul 30 2008  10:06 AM GMT
RPG, AS/400 Client Access, CL
asked by Ibmi5

  125 pts.

version

HI, This is ibmi5 fresher team.Please tell me what is difference between cl and rpg

View Answer   |  Jul 30 2008  4:57 AM GMT
RPG, CL, CL/400
asked by Ibmi5

  125 pts.

RPG/400 ,CL/400 lifecycle

Hi, Very good morning my friends.Can any body tell me rpg/400 and cl/400 life cycle.please

View Answer   |  Jul 30 2008  4:54 AM GMT
RPG, SDLC, CL
asked by Ibmi5

  125 pts.

to read a record RPG 400

Hi, Im learning AS/400 technology.Now im in RPG/400.Actuall my doubt is if suppose i used SETGT with *HIVAL,Which opcode is used to read a record (I think readp.But i have litle bit doubt).please clarify my doubt. ...

View Answer   |  Jul 29 2008  12:24 AM GMT
CL/400, SETGT, RPG/400
asked by I6

  195 pts.

Obtain member list RPG 400

can any body tell me is there any opcode to obtain a list of members in a file

View Answer   |  Jul 29 2008  12:17 AM GMT
DB2/400, CL/400, RPG/400
asked by I6

  195 pts.

Display from CL command?

What is the command to display something from CL?

View Answer   |  Jun 26 2008  6:56 PM GMT
CL, CL/400
asked by AS400 - Ask the Expert

  395 pts.

CL/400 - I want to know about QRYSLT(Please see below explanation)

Hi, I am not well versed with code in CL/400, i know the concepts. I want to know what is he doing in the below code. e.g usibng the symbols '|>' and '||' and '<|' IF COND(&TODUE7 *NE '0000000') THEN(DO) CHGVAR VAR(&QRYSL) VALUE(&QRYSL |> ' *AND (ODUDT *GE + ...

View Answer   |  Jun 5 2008  3:45 PM GMT
OPNQRYF, QRYSLT, CL
asked by Svankipu

  50 pts.

41 - 60 of 63