Recent IT Questions

1 - 13 of 13
<<PREVIOUS 1 NEXT>>

Best way to retrieve values, SQL or Queries and how?

Hello everybody, my problem is, in a iseries i have ia file and in this file exist one field with 10000 lenght (character) and i want retrieve a value like (  60F: ) but i don´t know in what position, after i find this value i need the follow values. ex: this is a part of one record  {4: ...

View Answer   |  Oct 1 2009  10:33 AM GMT
SQL, Query/400, CLP
asked by BUG68

  80 pts.

Finding Files used by Query/400

Somewhere I know I had notes and maybe code to do this, but the clock is ticking, so does anyone have the way to extract what files are being used in exisiting (old!) queries - *QRYDFN type I have an extract utility written, but it's old stuff, and iteratively prints and reads the output. this...

View Answer   |  Jul 7 2009  2:05 PM GMT
*QRYDFN DB2UDB, Query/400, *QRYDFN
asked by Yorkshireman

  3200 pts.

Using 'IF' statements in query/400

I need to create a work field that will be populated differently, dependin on a series of 'If' statements. Ex: If TMRPER = 'M', use TMRFRQ value. If TMRPER = 'D', then use TMRFRQ divided by 30, rounded to the nearest whole number. Any idea how to do this?

View Answer   |  Jun 24 2009  8:02 PM GMT
Query/400, IF statement
asked by HTLFTMP

  5 pts.

Auto-Generated Serial Numbers?

I want to know that how do i generate serial numbers by using Query/400.For eg a database named employlist having name,address and phno.Now i want to add one another column which is serial. How???????? Can anyone please tell me the solution by using Query/400. I've done it from SQL. Name Address ...

View Answer   |  Jun 4 2009  11:16 AM GMT
Query/400, AS/400 queries
asked by Ria

  15 pts.

subtotal and average

Can anyone tell me how/if I could using query400 take a list of records, subtotal and create a file with only the subtotals for export to excel? My file is all orders, with line items and $$ for each line. I need to subtotal the orders by order # and create a file listing only the customer #,...

View Answer   |  Mar 12 2009  3:48 PM GMT
Query/400, AS/400 Query
asked by Amaries

  45 pts.

How do I print dates in range selection on headings?

Have query setup for user to enter selection date range when running query...how do I print the date range selected by the user on the headings?

View Answer   |  Mar 12 2009  3:30 PM GMT
Query/400, AS/400 printing
asked by Bplocki

  35 pts.

prob with sndbrkmsg

Hi I need to send a failure notice to a user.I have used the SNDBRKMSG for this but the problem is if the user is that the job is scheduled to run in the night and if the user has logged of his session he may not be able to view it the next day. The basic purpose is to alert the user the moment...

View Answer   |  Jan 23 2009  1:23 PM GMT
Query/400, SNDBRKMSG
asked by Anderson123

  840 pts.

Userprofiles with creation date

Please can any one provide me the information how to get the report the list of all userprofiles with creation date. Thanks

View Answer   |  Dec 17 2008  4:25 PM GMT
AS/400 user profiles, Query/400
asked by Syedm

  70 pts.

OPNQRY and WRKQRY

In wrkqry there is an option to save the selected records to an output file.Similarly is there a way to use OPNQRY in a CL or in an SQLRPG to directly move the selected records to another file?

View Answer   |  Dec 13 2008  1:11 PM GMT
CL, SQLRPG, OPNQRY
asked by Anderson123

  840 pts.

AS400 Query Dates

How do you computed dates in Query

View Answer   |  Nov 26 2008  1:43 PM GMT
AS/400 Query, Query/400
asked by Philip9

  15 pts.

iSeries RPG Embedded SQL Performance

Hi, I'm trying to replace some long running Query/400 jobs with RPG and embedded SQL. Some of the existing jobs run for almost 24 hours on our machine. I've already successfully managed to reduce a few of these jobs to a matter of minutes using embedded SQL. So far, so good. My problem is when...

View Answer   |  Nov 12 2008  2:17 PM GMT
iSeries, SQL, RPG
asked by Gilly400

  23625 pts.

How do I parse out a timestamp ISO format into a date field

How do I parse out a timestamp ISO format into a date field? This is how the field looks: Timestamp ISO Format 2008-10-08-12.13.52.412000 Here is the description of the field: Field From To Length Type Description XXXXXXX 57 82 0 Z ...

View Answer   |  Oct 21 2008  5:20 PM GMT
ISO, Query/400, Timestamp ISO Format
asked by SaraP

  5 pts.

I want to reterive all users list with last logon date inculuded(help me with the query)

am running with AS400 iseries system V4R5.

View Answer   |  Sep 30 2008  4:46 PM GMT
V4R5, AS/400 queries, Query/400
asked by Janand

  5 pts.

1 - 13 of 13
<<PREVIOUS 1 NEXT>>