Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: UAMI
  • Order by date
  1. UAMI

    Report's

    Openreport I have a form where i introduce the parameter's needed for the execution of a report. However when i do the openreport comand, a new window apear's to obtain the parameter's that i already introduced in my form. I saw in the help that it's possible to put openargs, but i cant's do...
  2. UAMI

    Send a mail in RPGLE

    I experimented the SNDDST, but it doesn't funtion. It gives a message like this: " It was specified an internet address but there is no guiding, to the SMTP linking station, defined in the SMTPRTE parameterof the CHGDSTA." This is the command i executed: ===> SNDDST TYPE(*LMSG)...
  3. UAMI

    Send a mail in RPGLE

    Hi again! I want to send a mail to outlook in rpgle. Is it possible? What must i do?
  4. UAMI

    Caracter order

    Sorry, iseriescodepoet, i expressed myself wrong. When i said i had doubts, i ment, i can't use it very well. One time i made a experience and i had to do a strange thing to put the program function. I mean, after the program run a time, an error message apeared, something like null values...
  5. UAMI

    Caracter order

    Well, i followed the advice from "flapeyre", and construct my own trntbl. wITH THE HELP OF A EBCDIC TABLE (code page 01148) CRTTBL TBL(TEST/XXX_TBL) SRCFILE(*PROMPT) For the caracter â (hex 42) i put (hex 81)= a and for all caracter's with accent i put the code with no accent. In this way...
  6. UAMI

    Caracter order

    AGÊNCIA IMPRENSA NOVOSTI AGGLOCORK-CORTIÇAS LDA ALÍPIO FRANCISCO MORAIS ALBANO FONSECA FRIAS AMÍLCAR SOUSA COELHO ASCENSO AMADEU ARAÚJO SILVA This is the output of the actual subfile, but it should be: AGÊNCIA IMPRENSA NOVOSTI AGGLOCORK-CORTIÇAS LDA...
  7. UAMI

    Caracter order

    The problem of the embended sql is that i have no key. The user will type some letters of the name, like, barba, and program must list all names beginning with barba. It has to apear barba barbara I could create a LF R RECORD1 PFILE(PF1) 00020A CHAR1 I TRNTBL(LIB1/TBL1) How do i define...
  8. UAMI

    Caracter order

    I have a subfile where the user can find register's by name. In the file (ordered by name) some names have accentuation. When the user pretend to find the names begining with AB i wnat to write in the subfile, first the: ABA and then the same but with the accentuation ABB and then the same but...
  9. UAMI

    Convert a alfa filed into date field

    Thank's arrow483, your tip was very important. I had to to some changes: For the eval expression i had to work with a alfa variable (wdtain2, 26) and then move it to the timestamp field dtain, otherwise i could't compile the program. EVAL WDTAIN2=%SUBST(DTAIN:7:4) + '-' +%SUBST(DTAIN...
  10. UAMI

    Convert a alfa filed into date field

    I realy need a timestanp fild, so i done it like you suggested but now i have problem's in compiling the program. I declared a timestamp variable and tain is my alfa field (26 positions). DWDTAIN S Z IF %subst(dtain:5:1) = '-' Eval...
  11. UAMI

    Convert a alfa filed into date field

    Hi! I have a pf file with a alfa field: DTAIN 26 that was bad created, because it supouse to be a date field or a timestamp field, so that was possible to extract register by date. Because it it a alfa field, it isn't possible. This field was being field from a access...
  12. UAMI

    How to convert number's into text?

    I'm doing this statement in the query's of Microsoft Access. I think that i can's do it with string function CStr(number)
  13. UAMI

    How to convert number's into text?

    I want to do a select statement where i want to concatenate 4 fields, 3 are numbers and 1 text. year (number) month (number) sequence (number) flag (text) How can i transform a numbers into a character? In this file i can have many records with the same key (the 4 fields) but i want to...
  14. UAMI

    Get the system date and convert to the same format

    IT is defined like a date/time field. Like you suggested, TF01("DTAIN") = Format("yyyy-mm-dd", Now()) TF01("DTAIN") returned null. Then i inverted the statemente, like this: TF01("DTAIN") = Format(now(), "yyyy-mm-dd") Now i have the error...
  15. UAMI

    Get the system date and convert to the same format

    I understand what you explain, and TF01("DTAIN") = Now() works but, than i have in the save field, this values: 09-01-2004 17:18:27 09-01-2004 17:19:43 20-11-2003 16:34:56 2003-08-28-10.35.51 2003-08-28-10.12.10 05-11-2003 16:31:04 2003-10-13-11.53.20 2003-07-29-08.48.43...
  16. UAMI

    Get the system date and convert to the same format

    Thanks scriverb, but ... Your 1º suggestion, occured and error: "Type mismatch" Your 2º suggestion, the instruction seems to wrong because it's red. I know that the pc where the software works has the dateformat dd-mm-yyyy but i want that the field in the table yyyy-mm-dd. But...
  17. UAMI

    Get the system date and convert to the same format

    Hi! I have a field (DTAIN) in a table(TF01) of type date/time and i want to obtain the system date of the pc and convert it to a date of yyyy-mm-dd TF01("DTAIN") = Year(Now()) * 10000 + Month(Now()) * 100 + Day(Now()) After executing this step, i got an error: Data type conversion...
  18. UAMI

    ADODB Connection with AS400

    Happy New Year, for you to Nicsin! Well, i think i have done the conection string in all ways possible including the one you say. Perhaps this problem it has to do with the kind of mashine (i dont't know). The only way i resolved this problem was puting an SQL after the conection (sql =...
  19. UAMI

    SQL UPDATE

    Thank you, for your help! I got the idea and resolved in this way: UPDATE bibl/FGDVLD001 SET ESCRITORIO = (SELECT DISTINCT A0AREA FROM ACOGISD#E/APOL00 WHERE MOD=A0$RAM AND NAPO=A0NAPO and multi='N' ) WHERE exists (SELECT...
  20. UAMI

    DEbug Vbsript

    Sorry PHV, didn't work. An error message apeared: "Unknown option "//X" specified"

Part and Inventory Search

Back
Top