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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by UAMI

  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...

Part and Inventory Search

Back
Top