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:
- Brick Game using JavaScript - Tutorial*new
- Coding basic calculator using Python Tkinter*new
- Basic Excel Tricks for ALL
- 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:
- AS400/HTML Intro
- Introducing CGI Programming in AS/400 IBM i
- How to create Dynamic HTML with CGI Programming
- Handling external HTML, CSS & Forms with CGI
- Introducing CGIDEV2 for easy CGI handling
- Combining AJAX, JavaScript & JSON with CGI
- 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...!!!
Hi Yusuf,
ReplyDeleteHow to access web service (which is written in .net) from as400.
Thanks,
Shameem
Hi Shameem,
ReplyDeleteAs 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
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?
ReplyDeleteHello Yosuf,
ReplyDeleteI am looking for AS400 Rplge training.
Good starting point to understand As/400
ReplyDeletesir you videos in you tube is very good, why u not create paid course in udemy.?
ReplyDeleteSir
ReplyDeleteKindly provide me the free as400 server ?
Since pub400 was stopped from Dec 2017.
Please help
PUB400 is back again.
DeleteHere are some paid resources.
ReplyDeletehttp://www.books-software.com/ibm-as400-timesharing-services/
I can understand why you have used the name AS/400, but perhaps you need to switch to using :- IBM i(AS/400)
ReplyDeleteHi Yusuf,
ReplyDeletePlease 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?
Hi Yusuf,
ReplyDeleteYour YouTube videos are precise & good.
Can you please share how can I use my PHP code with IBMi(AS400).
Thanks in advance,
Praveen
Hi Praveen, Thanks for your feedback.
ReplyDeleteRegarding 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
Thanks for your quick reply, Yusuf. If there are any updates please keep me posted for PHP.
DeleteHi...
DeleteCurrently 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?
Yusuf..Plz create a whatsapp or FB group so ppl can help in resolving each other queries regarding AS400
ReplyDeletehi Yusuf , please do videos on cobol as400...
ReplyDeleteHello ,
ReplyDeleteWhat is the best way to submit a job A only when Job B completes .
Hi Yusuf,
ReplyDeleteYour YouTube videos are very help full to beginners like me..thank you!!!
Yusuf,
ReplyDeleteAoA,
Your videos are exellent. Your teaching way is awsome.
Please share your email or Phone to my email jamilsatti@gmail.com ASAP.
Please
YUSUF UR DOING VERY GOOD JOB. KEEP IT UP
ReplyDeleteHello Yusuf,
ReplyDeleteYour 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.
Hi Guys,
ReplyDeleteanyone done page numbering in load all subfile. is anyone have idea how to do it.
Hi Yusuf,
ReplyDeleteYou 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.
Hi Yousuf, Amazing knowledge sharing and I thank you a lot for that.
ReplyDeleteCan 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?
Hi Maruthi, Here is the video https://www.youtube.com/watch?v=MeoKQSJAODQ&list=PL-cQM7QhBjZTdriASppXQHNMCsZPMe-QF&index=17
DeleteThank you Mohammmed for your help.!! Very important
ReplyDeleteRegards, Jhon Alexander
Hi Yusuf,
ReplyDeleteI am looking for Rpgle training.
Hi Yusuf,
ReplyDeleteI am looking for Rpgle training.
Tell me how to contact u regarding to Rpgle training.
Hi,Yusuf,
ReplyDeletei need some help on as400, please let me know the contact
This comment has been removed by a blog administrator.
ReplyDeleteGood Job, this is the only one place for IBM I tutorial videos. Thank you for your efforts to share the knowledge .
ReplyDeleteThank you
DeleteHello 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?
ReplyDeletePlease check my YouTube playlist for more details. https://www.youtube.com/playlist?list=PL-cQM7QhBjZQRjoWA_IM4NAc5799nKfP0
DeleteHey, I have few questions in python - how do i reach you?
ReplyDeleteYou can reach me via my Facebook page yus4code
DeleteHello Yusuf, please I need your Help.
ReplyDeleteI 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?
Hello Yusuf,
ReplyDeleteCould 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
Hi yusuf,
ReplyDeleteI 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.
Hi Yusuf,
ReplyDeleteI'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!
DDS which I was using is not correct. It worked after changing dds
DeleteHi Yusuf,
ReplyDeleteI 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.
Hi Yusuf kind request for plz upload tamil video for AS400 tutorial
ReplyDeleteHi 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?
ReplyDeleteHi 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
ReplyDeleteHi yusuf,
ReplyDeletePls help me to replace failed drive in As400
Hi Yusuf, I wanted to download HTTPLIB. But could not find it anywhere. Can you give me the download link
ReplyDelete