Welcome to Yusuf's Blog

Hello Friends,

I tried to consolidate some of the interesting stuff which I have come across in my experience. I hope it helps and saves some time for you..!!!


Latest Articles:



AWS Certification Notes:


Others:

  1. Brick Game using JavaScript - Tutorial*new
  2. Coding basic calculator using Python Tkinter*new
  3. Basic Excel Tricks for ALL
  4. How to handle PF Triggers using RPGLE


IBM i (AS400) Web Options:


Here I have discussed some of the Web options available w.r.t AS400 (IBM i). We shall discuss more offering an AS400 RPGLE program as a web service, how to invoke CGI which enables you to communicate your RPGLE with web browser etc step by step.

I will be adding the link to my posts here for easy access. Alternatively, you can also check it out in my blog archive.

Topics:

  1. AS400/HTML Intro
  2. Introducing CGI Programming in AS/400 IBM i
  3. How to create Dynamic HTML with CGI Programming
  4. Handling external HTML, CSS & Forms with CGI
  5. Introducing CGIDEV2 for easy CGI handling
  6. Combining AJAX, JavaScript & JSON with CGI
  7. Creating REST based Web service using Node JS in IBM i (AS400)

AS400 Tips:



Execute CL command from Windows




Time Zone conversion in AS400



Await for more...!!! Have Fun..!!! Happy coding...!!!

59 comments:

  1. Hi Yusuf,

    How to access web service (which is written in .net) from as400.

    Thanks,
    Shameem

    ReplyDelete
  2. Hi Shameem,
    As of now, I haven't started working on IBM i(AS400) as client server. I will keep you posted in future if I did that.

    Thanks

    ReplyDelete
  3. Do you plan on creating some PHP web pages accessing DB2 data....or more modern might be a Javafx front end accessing DB2 data service programs?

    ReplyDelete
  4. Hello Yosuf,
    I am looking for AS400 Rplge training.

    ReplyDelete
  5. Good starting point to understand As/400

    ReplyDelete
  6. sir you videos in you tube is very good, why u not create paid course in udemy.?

    ReplyDelete
  7. Sir
    Kindly provide me the free as400 server ?
    Since pub400 was stopped from Dec 2017.

    Please help

    ReplyDelete
  8. Here are some paid resources.
    http://www.books-software.com/ibm-as400-timesharing-services/

    ReplyDelete
  9. I can understand why you have used the name AS/400, but perhaps you need to switch to using :- IBM i(AS/400)

    ReplyDelete
  10. Hi Yusuf,
    Please help me.
    My project doesn't work microsoft internet expolorer 10 or higher or other web browsers. It doesn't click anything on menu screen. what can I do? have you any Idea?

    ReplyDelete
  11. Hi Yusuf,
    Your YouTube videos are precise & good.
    Can you please share how can I use my PHP code with IBMi(AS400).

    Thanks in advance,
    Praveen

    ReplyDelete
  12. Hi Praveen, Thanks for your feedback.
    Regarding PHP, we can execute it using ZEND server. I personally haven't worked on this. Buy you can find more info from below link.
    https://www.ibm.com/developerworks/systems/library/es-path2php/index.html

    ReplyDelete
    Replies
    1. Thanks for your quick reply, Yusuf. If there are any updates please keep me posted for PHP.

      Delete
    2. Hi...
      Currently it always reads page 1, we need this to read page 1 of 1 as soon as possible. I want display
      (page number of number of pages).
      Count total pages .
      Display accordingly on the left hand corner . Eg : Pg 1of 2 , Pg 2 of 2 in case of 2 pages. Can you please explain it?

      Delete
  13. Yusuf..Plz create a whatsapp or FB group so ppl can help in resolving each other queries regarding AS400

    ReplyDelete
  14. hi Yusuf , please do videos on cobol as400...

    ReplyDelete
  15. Hello ,

    What is the best way to submit a job A only when Job B completes .

    ReplyDelete
  16. Hi Yusuf,

    Your YouTube videos are very help full to beginners like me..thank you!!!

    ReplyDelete
  17. Yusuf,
    AoA,
    Your videos are exellent. Your teaching way is awsome.
    Please share your email or Phone to my email jamilsatti@gmail.com ASAP.
    Please

    ReplyDelete
  18. YUSUF UR DOING VERY GOOD JOB. KEEP IT UP

    ReplyDelete
  19. Hello Yusuf,

    Your Videos are very good, you are covering all small small thing.
    Nice to see that videos.
    Please can you help me - How to reset my PUB400 account password?
    Let me know ASAP.

    ReplyDelete
  20. Hi Guys,
    anyone done page numbering in load all subfile. is anyone have idea how to do it.

    ReplyDelete
  21. Hi Yusuf,
    You have quite a collection of information. I really appreciate your work. I am working recently with display files. Is there a way to have F1 (help) key to show help information based on the cursor position? I do not want to use sda.

    ReplyDelete
  22. Hi Yousuf, Amazing knowledge sharing and I thank you a lot for that.
    Can you make a video on the MSGW and different options/replies user can take on them. when the CL is failed, it gives different options and when RPG is failed, it gives different options. Can you please explain the?

    ReplyDelete
    Replies
    1. Hi Maruthi, Here is the video https://www.youtube.com/watch?v=MeoKQSJAODQ&list=PL-cQM7QhBjZTdriASppXQHNMCsZPMe-QF&index=17

      Delete
  23. Thank you Mohammmed for your help.!! Very important

    Regards, Jhon Alexander

    ReplyDelete
  24. Hi Yusuf,

    I am looking for Rpgle training.

    ReplyDelete
  25. Hi Yusuf,

    I am looking for Rpgle training.

    Tell me how to contact u regarding to Rpgle training.

    ReplyDelete
  26. Hi,Yusuf,
    i need some help on as400, please let me know the contact

    ReplyDelete
  27. This comment has been removed by a blog administrator.

    ReplyDelete
  28. Good Job, this is the only one place for IBM I tutorial videos. Thank you for your efforts to share the knowledge .

    ReplyDelete
  29. Hello Yusuf, I'm using IBM iseries web services and using REST POST method. I want to pass array data structures and one parameter as Header. Any idea how this can be achieved in RPGLE?

    ReplyDelete
    Replies
    1. Please check my YouTube playlist for more details. https://www.youtube.com/playlist?list=PL-cQM7QhBjZQRjoWA_IM4NAc5799nKfP0

      Delete
  30. Hey, I have few questions in python - how do i reach you?

    ReplyDelete
  31. Hello Yusuf, please I need your Help.
    I have to get a file located in the IFS and convert it into a BLOB type, then insert this in a file.
    Did you do something like that before? Can you help me please?

    ReplyDelete
  32. Hello Yusuf,
    Could you help me to solve the folowing issue.
    I call web api using the folowoing code
    /free
    http_debug(*on);
    http_setOption( 'local-ccsid' : '420');
    fromData = ' ';
    Url='http://swagger.drober.co/distributor/pharmacies';
    http_xproc( HTTP_POINT_ADDL_HEADER
    : %paddr(Req_Headers) );
    rc = http_req( 'GET'
    rc = http_req( 'GET'
    : %Trim(Url)
    : 'home/testpost.html' // File to receive
    : *omit // String to receive
    : *omit // File to send
    : fromData );
    if rc <> 1;
    msg = http_error();
    else;
    Var = %SUBST(ResultStr:100:50);
    DSPLY VAR;
    endif;
    /end-free
    C SETON LR
    ***********************************************************************
    P Req_Headers b
    D Req_Headers pi
    D Header 1024A varying
    /free
    Header = 'Content-Type: application/jsonx'
    + x'0d25'
    + 'accessToken: b678c4ea-d519-47d9-9276-08f97916069f'
    + x'0d25';
    /end-free
    P E
    The problem is the response file contains English parts and Arabic parts
    The arabic parts not corect as shown in attachments
    Please help me to parse the arabic parts from response correctly

    ReplyDelete
  33. Hi yusuf,

    I got a requirement that
    One company want to send New year and Christmas Greeting message in PDF format to all of their clients on email. So i should write a RPG program to generate that PDF which will have Logo and Name of the company and client’s company.

    For this the Client name and designation can be taken from master table and the PDF should have the company and client’s Logo and address (which should pick logo from IFS).

    Can you please suggest me the approach which i should follow also how and where should i create the ifs folder in pub400 machine? I tried the CRTFLR command but i received some authority error.

    ReplyDelete
  34. Hi Yusuf,

    I'm trying to create a table q1 in qtemp from the existing table using RUNSQL. While giving commit(*none), command failed with message "uncommitted changes pending for file q1 in library qtemp." Hence, I changed commit(*all) in my runsql command and executed it. Now, I'm receiving "Buffer Length longer than record for member q1". Could u please help me to resolve this.

    Thanks!

    ReplyDelete
    Replies
    1. DDS which I was using is not correct. It worked after changing dds

      Delete
  35. Hi Yusuf,

    I have a debug requirement in RPGLE where I have 2 variables say a and b. I need to break when a = (2 * b). But, debug won't allow arithmetic operation in "break when". Wanted to cross check with you whether there any option in debug. I'm not sure of the replication steps and don't have the option to modify the program as it happens only in live environment.

    ReplyDelete
  36. Hi Yusuf kind request for plz upload tamil video for AS400 tutorial

    ReplyDelete
  37. Hi Yusuf, I’m doing a DSPF and trying to select users from a list. If I use 1 on the user at the top then delete the 1 and try to select the second user it doesn’t select the second user as it’s reading 0 in the first user field. How to be able to select second user?

    ReplyDelete
  38. Hi bro i am a fresher and I was taken in to a project AS400 i need your help i am completely confused with object library object type parameters member like all such things please solve my problem

    ReplyDelete
  39. Hi yusuf,

    Pls help me to replace failed drive in As400

    ReplyDelete
  40. Hi Yusuf, I wanted to download HTTPLIB. But could not find it anywhere. Can you give me the download link

    ReplyDelete
  41. Hi Yusuf thanl you for your job, do you have any guide for developing with RPG Open Access?

    ReplyDelete
  42. Professional railing services in Richmond for homes and businesses. Custom railing installation in Richmond with quality craftsmanship. Upgrade your property with durable and stylish railings in Richmond. Trusted Richmond railing experts for installation and repairs. railing richmondAffordable railing solutions in Richmond for decks, stairs, and balconies. Modern and secure railing designs available in Richmond. Richmond railing services tailored to your style and safety needs. Enhance safety and style with expert railing installation in Richmond. High-quality railing systems in Richmond for residential and commercial use.

    ReplyDelete
  43. the wilson jacket delivers timeless style with premium comfort—perfect for elevating your everyday wardrobe. Discover The Wilson Jacket, designed for modern lifestyles with a sleek fit and durable, high-quality materials. Stay stylish year-round with The Wilson Jacket—crafted for warmth, comfort, and effortless versatility. The Wilson Jacket blends classic design with modern performance for a polished and comfortable look. Elevate your outerwear collection with The Wilson Jacket—where durability meets refined fashion. The Wilson Jacket offers a perfect fit, premium feel, and timeless appeal for every occasion. Experience everyday luxury with The Wilson Jacket—crafted for style, comfort, and long-lasting wear.

    ReplyDelete
  44. Jacketary is your go-to destination for stylish, high-quality jackets designed for comfort, durability, and everyday wear. Discover Jacketary—premium jackets that combine modern style with long-lasting performance for every season. Shop Jacketary for trendy, versatile jackets crafted to elevate your wardrobe with effortless style. Jacketary offers a wide range of fashionable jackets built for comfort, quality, and timeless appeal. Upgrade your outerwear with Jacketary—where premium craftsmanship meets modern fashion trends. Jacketary delivers stylish jackets designed for all-day comfort and a sleek, contemporary look. Explore Jacketary’s collection of high-quality jackets perfect for casual wear and special occasions. Jacketary brings you durable, fashion-forward jackets made to suit every lifestyle and season.

    ReplyDelete
  45. Professional renovation and construction services for homes and businesses. Transform your space with expert renovation and construction solutions. Trusted renovation and construction services delivering quality results. Complete renovation and construction services tailored to your needs. Upgrade your property with reliable renovation and construction experts. Affordable renovation and construction services with top craftsmanship. From design to build, we handle all renovation and construction projects.

    ReplyDelete
  46. Save money with budget-friendly mobile phone plans for calls, texts, and data. Find the best affordable mobile plans that fit your budget and needs. Compare cheap mobile phone plans with unlimited talk, text, and data options. Get reliable service with affordable mobile phone plans at unbeatable prices. Explore low-cost mobile plans with flexible options and no hidden fees. affordable mobile phone plansdesigned for value and performance. Stay connected for less with the best budget mobile phone plans.

    ReplyDelete
  47. Canada’s top moving company offering fast, safe, and affordable moving solutions. Choose the best movers in Canada for hassle-free home and office relocations. Trusted moving company in Canada delivering professional and efficient services. Discover the best moving services in Canada with expert packing and transport. Canada’s leading moving company for local and long-distance moves.
    Move with confidence using the best moving company in Canada. Affordable and reliable moving company across Canada for all your needs. best moving company canada Top-rated movers in Canada ensuring safe and timely delivery. Best moving company in Canada for smooth and worry-free relocation.

    ReplyDelete
  48. Upgrade your windows with stylish and energy-efficient honeycomb blinds. honeycomb blinds for windows offering insulation, privacy, and modern design. Shop honeycomb window blinds to keep your home cool and comfortable. Energy-saving honeycomb blinds designed for superior window insulation. Discover custom honeycomb blinds for windows in various colors and styles. Enhance your home with durable and elegant honeycomb window blinds. Honeycomb blinds for windows that reduce noise and improve comfort. Find affordable honeycomb blinds to upgrade any window space.

    ReplyDelete
  49. Richmond’s trusted millwork experts for custom wood solutions. Enhance your interiors with custom millwork services in Richmond. Millwork services Richmond Professional millwork installation and design services in Richmond. Richmond millwork services tailored to your style and needs. High-end millwork services in Richmond for modern and classic designs.

    ReplyDelete
  50. Find the perfect hotel in Langley with comfortable rooms and great amenities. Book top-rated hotels in Langley for a relaxing and enjoyable stay. Discover affordable hotels in Langley with excellent service and comfort. Stay at a modern hotel in langley offering convenience and style. Explore the best hotel deals in Langley for your next trip. Enjoy a comfortable stay at a centrally located hotel in Langley. Top hotels in Langley offering luxury, comfort, and convenience. Book your ideal Langley hotel near top attractions and shopping.

    ReplyDelete