• How to get a Lastname from a field that contains the Full Name? (RPG-ILE)

    Hi Guys, I need your suggestions.... I have to extract data from our AS400 box and convert it into text file. For a client's name we have 3 particular fields. 1. FirstName, 2. LastName and 3. FullName. The problem is there are records where First Name and LastName fields are empty. Thats why I have...

    Niel5 pointsBadges:
  • AS400 Profile Change Query

    Hey guys, can anyone provide me with information to query and produce a report that shows the date and time when a user profile was changed.

    Johnb2015 pointsBadges:
  • AS400 Query

    Hello, How can you add a WEEK e,g, . *Monday thru Friday in the DEFINE RESULT FIELDS ?

    Querys100 pointsBadges:
  • seect records for current day

    I want to run a daily job and select records that have been added on current date, field is 6,0 P in YYMMDD format, how can this be accomplished without modifying daily?

    rmb115 pointsBadges:
  • Send Object

    Dear , How i can send one object from One Server to another server please tell me step by step and which command is use Regards, SNK

    RNK5 pointsBadges:
  • who is signed on to the as400

    Having been in unix too long don't have the command to display the active users on the as400, like the who command in unix

    Dlopomo5 pointsBadges:
  • AS/400 object location in library

    Hi, I am a very new user to AS/400. I am using a RUMBA client and part of my "ticket" is entered through a free notes section. I can query other items such as customer name, dates, numbers etc etc, but i do not know how to locate where the object is for the "free notes" section to query this for my...

    Markmark10 pointsBadges:
  • Duplicated Files

    Hi friends, I have a System (AS/400) and on this server i have many and many files with the same name , example: I have the file FILEX on LIB1, FILEX on LIB2, FILEX on LIB3 , etc ..... I Run the command DSPOBJD OBJ(*ALL/*ALL) OBJTYPE(*ALL) OUTPUT(*OUTFILE) OUTFILE(LIBTEST/FILETEST). Now, How can I...

    SILVARB440 pointsBadges:
  • OPNQRY

    Hi ALL, I am trying to pass to variable to the query select. ----------------------------------------------------------------------------------------------- OVRDBF FILE(filename) SHARE(*YES) OPNQRYF FILE((library/filename) QRYSLT('DATE + *EQ "&SATDYYMD"') /*the variable contains the date*/...

    Secskc25 pointsBadges:
  • User Profile Info.

    Hi, I want to write a query that will only pull the following info.: UserID, OutQ, Printer Device. What Library would house this information? Thanks in advance!!

    Rmason335 pointsBadges:
  • Finding newly created objects

    I am trying to define a query to find any newly created objects ona daily basis. I have scheduled a job to run daily that creates a file to display all DSPOBJD which outputs into a physical file. I now want to query this file to find anything created on the previous day (the job runs overnight)....

    Gross140 pointsBadges:
  • Getting wildcard results from OPNQRYF

    Hi all, I am trying to query a PF to get back all records where fields OWNER1 and OWNER2 have an entered user value (ie; JOHN - I would want to return JOHN, JOHNATHON, JOHNS, ARJOHNS, etc) The best so far I have been able to come up with is: DCL VAR(&CF03) TYPE(*CHAR) DCL VAR(&INOWN) TYPE(*CHAR)...

    Geojf385 pointsBadges:
  • IF statement in AS/400 query

    Can I use an if-type statement to return a different value? For example, i thought i would use define results fields to say if(lnt03=34,"advance","payoff") liek I would in excel. of course this doesn't work...

    KPSTL5 pointsBadges:
  • what is syntax to convert minutes to days in an as/400 query?

    I have a field in an as/400 query that shows minutes and I don't know how to define a result to convert it to days.

    Whois5 pointsBadges:
  • Nested Selects

    A project I am working on requires that I do some stuff on a iSeries/AS400 DB (which I'm accessing through a linked server on a remote machine). I'm trying to build a query, but some of the AS400 syntax is giving me problems, and I was hoping that someone would be able to help me with this. the...

    Andyd2735 pointsBadges:
  • Identifying output files in query definitions

    How can one identify all/only output files in a list of query definitions (the list has over 1000 queries in it)? Executing in batch RUNQRY with parameter PRTDFN(*YES), in a loop for each query, then scanning the collective result, might theoretically do the job but doesn't work for queries in...

    22190165 pointsBadges:
  • New AS400 Query user, some knowledge

    How do I find the library and file name to pull info from?

    Yonext20005 pointsBadges:
  • Editing invalid calculations into zeros

    How do I change a invalid calculated value (due to some zero quantities) into a value of ZERO? I need to save this in a file for later pulling into a spreadsheet.

    ActionMike5 pointsBadges:
  • Profiles not signed on in 180 days

    How do I get a query to show me AS400 profiles not signed on in 180 days?

    0 pointsBadges:
  • Calculate date in future

    How can I ad an day to the current systemdate ? So that I only see the records of tomorrow (for example)?

    Davidfromnetherlands15 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following