Coding in RPG (IBM i/AS400). Using UTF8 character strings.

Поділитися
Вставка
  • Опубліковано 1 сер 2024
  • In this video, I’d like to talk about how you can use UTF8 (Unicode) strings in RPG. Not only how you can define tables using SQL, with fields containing information with that CCSID, but also using them in RPG.
    As you know from 7.2 we can define character strings with a concrete CCSID. I show you an example of how you can use them.
    Enjoy!
    #ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #sqlrpgle #sqltraining #as400 #common #modernize #IBMChampion
    0:00 Introduction
    0:38 Creating a table for storing characters in Unicode (UTF8)
    3:24 Inserting data encoded in different CCSID into the table
    5:07 Creating a new program in RPG for showing you how to use fields defined with CCSID
    7:25 Example converting character fields between different CCSIDs in RPG
    8:10 Retrieving the information from the table using SQL into a variable with CCSID UTF8
    9:56 Creating a file in the IFS and inserting the information retrieved from the table into it using SQL
    10:47 Compiling, and testing the program
    11:30 Final comments and ending
  • Наука та технологія

КОМЕНТАРІ • 6

  • @wimjongman
    @wimjongman 24 дні тому

    Thanks Christian. This is a very nice, to the point example on how to use utf8.

  • @ushida100
    @ushida100 12 днів тому

    Thank you! That was very helpful!

  • @josemanuelmunozmanzano4379
    @josemanuelmunozmanzano4379 23 дні тому

    Como siempre, muy interesante.
    Muchas gracias!

  • @higiniofuentes2551
    @higiniofuentes2551 23 дні тому

    Gracias por este video tan útil!

  • @MADHU-s5u
    @MADHU-s5u 21 день тому

    Hii can someone pls help me to fetch data
    from IFS file in to a clp ? Who has AS 400 domain .. plz anybody