AS/400 Development Questions and Answers

Recent IT Questions

41 - 60 of 60
<<PREVIOUS 1|2|3 NEXT>>

Search for text within a string in CL/400

Wath function can I use to find a text into other? I mean how caon I find the Position for -B- in the text -AABAA-

View Answer   |  Dec 11 2008  0:28 AM GMT
CL, CL/400, AS/400 development
asked by Estebanguevara

  5 pts.

How to access all records in RPGILE

hi all, suppose i have a report with input criteria 'machine code' and requirement it that if i input a perticular 'machine code' then it should COME only that , otherwise all records of all 'machine codes' should come , in clp i use %WLDCRD for that. but i need to do it in rpgile , is there any...

View Answer   |  Dec 10 2008  5:21 AM GMT
RPG, RPG ILE, SETLL
asked by Ambrish 82

  275 pts.

How to get the row count of a PF with RPG ILE?

Hello, I'm looking for an example of how to get a row count of a PF from a ILE rpg program. Thanks everybody.

View Answer   |  Dec 10 2008  2:10 AM GMT
RPG, RPG ILE, RPGILE
asked by Mariodlg

  210 pts.

RUMBA macro to append data

Hello, I am a new user to the RUMBA AS400 client. I am trying to make a macro that appends all the data that is copied. But i can not find an option for it. I have found copy all but i can not make the keystrokes to use the append data feature. If someone knows the answer i would greatly...

Answer Question   |  Dec 7 2008  4:48 PM GMT
RUMBA Software, AS/400 development, AS/400 macros
asked by Markmark

  10 pts.

Make history of stream files in AS/400

Hi, I want to make a history of a Directory in AS400. (Command WRKLNK) for example like this: /EMAIL/WORK Directory WORK consists of stream files (type STMF) organized like this: WRK.001 WRK.002 WRK.003 Etc. On a monthly base I want to move all the stream files older than 1 month to ...

View Answer   |  Dec 5 2008  9:50 AM GMT
Stream files, AS/400 development, WRKLNK
asked by Jerry5

  20 pts.

Changing system request

I wanted to change the system request option 5 from SNDMSG to a command line. So i created a new message file and changed the text in CPX2313 and then i used the command to CHGSYSLIBL to put my lib on top of the libl. But still when i take option 5 on system rqs i get the following error "Command...

View Answer   |  Nov 25 2008  7:07 AM GMT
AS/400 development, AS/400 error messages, Send Message
asked by Arigekarthik

  20 pts.

Receiving an XML file to RPG

HI, I need to receive xml files ( of fixed format ) to my rpgle progrm ( not free format RPG ) and do some calculations. Can i do this without purchasing any tools ( free tools can be used). Please let me know if anyone has done something similar Regards, Kiron

View Answer   |  Nov 4 2008  7:35 AM GMT
RPG, XML, RPGLE
asked by Kiron

  5 pts.

Haversine formula in RPG or SQL

I need to put the haversine formula in an sql or rpg function on the as400 to calc the distance between to zip codes. I do not have much experience with sql. can anyone give me some help?

View Answer   |  Oct 31 2008  10:01 PM GMT
SQL, RPG, AS/400 development
asked by Brenger

  165 pts.

AS/400 macro

How to write Macro in AS/400?

View Answer   |  Oct 22 2008  10:08 AM GMT
OS/400, AS/400 development, AS/400 macros
asked by Gka

  70 pts.

Find source member

I am new to as400 i having one object(qap)But i having seven source member.Each source member having more than 500 program. My question how will i find in which source member i having that object(qap).plz answer my question

View Answer   |  Oct 22 2008  9:55 AM GMT
AS/400 development, AS/400 source member
asked by Fvg

  5 pts.

Decimal Value as a Date

I have an AS/400 field called ADMIT_DATE that is typed DECIMAL(8,0). It contains values such as 20061031. (including the decimal point). I would like to convert that field to an AS/400 DATE field such that the resulting values look like 2006-10-31. Can someone provide an example using the AS/400...

View Answer   |  Oct 21 2008  9:05 PM GMT
Data Type conversion, AS/400 development
asked by Nmolley

  5 pts.

Grouping the records in RPG

How to I group the records in the database based on one particular field?? When i try using a group by clause in the embedded SQL, it give me a 'SQL precompile failed' error. How do I handle this?? And i have to display the employee records grouped by their locations... how can this be done??

View Answer   |  Oct 21 2008  4:39 AM GMT
RPG, Report Program Generator, RPG/400
asked by Shwesmile

  20 pts.

Enforce only alphabets in a particular field of physical file

what is the keyword to enforce entry of only alphabets in a particular field of physical file??? for ex: NAME field of EMPLOYEE MASTER.

View Answer   |  Oct 15 2008  9:20 AM GMT
Data Types, AS/400 development
asked by Shwesmile

  20 pts.

How to display the SQL query results on SDA screen?

I got an answer for how to embed the SQL statements in RPG program. Can you please help me with how to use these values in the program, or display them on the SDA screen??? Thank you. :)

View Answer   |  Oct 14 2008  8:58 AM GMT
RPG, SQL/400, AS/400 development
asked by Shwesmile

  20 pts.

Debug an AS/400 program called from Java

Hi, Is there any way i can hold an AS400 job triggered from java. I need to debug a program which is interactively called from java.

View Answer   |  Oct 9 2008  11:32 AM GMT
Java, AS/400 development, AS/400 debugging
asked by ARJEN

  85 pts.

numeric operation is too small to hold the result (C G D F)

HOW TO REMOVE THIS ERROR-"The target for a numeric operation is too small to hold the result (C G D F)"?

asked by 03

  15 pts.

How to mirror two databases (PRD to DEV)?

HI, I am trying to mirror my DEV box data lib with Production box. Currently i am creating a save file and then i FTP it to DEV box and restore lib. Any other way to do this? FTP takes a lot of time to transfer so, any suggestions on fast transfers would also be helpful. thanks

View Answer   |  Oct 1 2008  3:26 AM GMT
AS/400, iSeries, Data mirroring
asked by Rockleadme

  385 pts.

AS/400 - OCL procedures

How to compile an OCL Procedure and debug the same in AS/400

View Answer   |  Sep 26 2008  10:07 PM GMT
AS/400 development, OCL procedure
asked by Horro

  5 pts.

DML

What is DML.How to use DML in AS400. What is the advantage of using it?

View Answer   |  Aug 29 2008  10:18 AM GMT
DML, Data Manipulation Language, AS/400 development
asked by Rajeshece

  440 pts.

DDL

What is the difference between DDL and DDS. How to use DDL in AS400

View Answer   |  Aug 29 2008  10:16 AM GMT
Data Definition Language, DDL, AS/400 development
asked by Rajeshece

  440 pts.

41 - 60 of 60
<<PREVIOUS 1|2|3 NEXT>>