This video explains the logic of single page sub file. You can understand the logic of it by debugging a existing program .
Пікірлер: 33
@yusy4code6 жыл бұрын
The source code is available here for reference. Do let me know if we can make another video to write the code from scratch. drive.google.com/uc?authuser=0&id=1VHeohKiGEqNPyEyuQHjrdoFSoEehIgOU&export=download
@Jimi-bx3xf4 жыл бұрын
Hello but your code lack of explanation... only two files i suppose the dspf and the rpgle... where is studpf ?
@rutnaja72723 жыл бұрын
love you Yusuf
@sbmahapatra4 жыл бұрын
Excellent video Yusuf. No words. Thank you very much!!!
@brijeshroy31825 жыл бұрын
Sir why are you running for loop in pageup from 1 to sflpag+1 , in this manner it will load 9 values ??
@ARVINDKUMAR-sn7kv3 жыл бұрын
Very useful Video.
@sbmahapatra4 жыл бұрын
Hello Yusuf, Thank you for the very helpful video. Any idea why are you using *IN in this line "0009.01 D IndAddress S * INZ(%Addr(*IN))"? Thank you again!
@yusy4code4 жыл бұрын
In our program we use indicators. We have 1-99 indicators in RPG program and that can be accessed via syntax *IN01 to *IN99. Here we are pointing to the memory location of the indicator. These indicators memory location are sequentially located in IBMi memory. So %Addr(*IN) will give us the first address of the indicatory (which is *IN01) and we assign that value to our variable IndAddress pointer variable. Then we created another data structure based on this pointer variable so that this data structure can contain fields inside which can be mapped to the indicator based on the position. more info: www.itjungle.com/2012/09/19/fhg091912-story01/
@tanujmayank85296 жыл бұрын
thanks very useful . Can you please give some example when to use which type of subfile , I mean when to use single page subfile or when to use load all subfile etc .
@anjitsingha5 жыл бұрын
What is INPSTUD in the program? I know its a silly question but I am very new to RPGLE and Subfile.
@yusy4code5 жыл бұрын
It’s input field name in our DSPF. Whatever user enter on that , the value will be available in our program for accessing.
@anjitsingha5 жыл бұрын
@@yusy4code Thanks Yusuf. A big thums up👍
@siliverusatyanarayana2042 Жыл бұрын
Very useful if it possible please make a video from scratch
@sbmahapatra4 жыл бұрын
Guys, could you please provide the link for Single Page Subfile from scratch?
@SanojKumar-iq9xm2 жыл бұрын
Hi Yusuf your all videos lecture is awesome , could you please make video on expandable subfile ?
@yusy4code2 жыл бұрын
Will plan for it. Thanks
@Prirowdy6 жыл бұрын
Hey Yusuf great work!! It helped in understanding single page subfiles ...But if you make another example from scratch that would be more helpful.
@yusy4code6 жыл бұрын
Thanks for your feedback. I will try to make a video soon on single page subfile from scratch.
@sanalmoh3 жыл бұрын
@@yusy4code Could you please provide the Video link for single page subfile from scratch ?
@vandana97386 жыл бұрын
If we want to display more than 9999 records then which subfile we should use?
@yusy4code6 жыл бұрын
We can use single page subfile for this.
@kaattupoochi59926 жыл бұрын
What if the First_rec value is all same...say example....I read a logical file based on student id...I retrieve 100 records for that student id and do page down for 5 times...in that case how will I do setll student_id studfile; in page up section...it will automatically point to very first record of the file....pls help with this.
@yusy4code6 жыл бұрын
In single page subfile, we do not need to setll student_id for page up. For page up and page down we need to use ReadP and Read. Setll will come into picture only if we have position to or search by student option. So if i want to position to particular student then setll student_id will be used and it will point to very first record of that student is correct.
@priyanka26535 жыл бұрын
Thank you for this video..Can we write single page in sqlrpgle? If yes can you please guide me how ?
@balachandrann81405 жыл бұрын
Great Yusuf
@yogmahirazz6 жыл бұрын
Hi Yusuf...Is there any trail version of as400 software available where we can practice code at home ??? ...please suggest
@yusy4code6 жыл бұрын
There is a option of getting 3 month subscription for 25$ from TexAS400 texas400.com/as400account.html
@salmanbagwan67465 жыл бұрын
T U sir, Can you please give videos related to message subtile and windows subfile.
@GutchAlex6 жыл бұрын
I enjoyed the session, can you in the future export the code to GITHUB so we can download thanks
@yusy4code6 жыл бұрын
Thanks for the suggestion. I will post the codes in Git for future reference.
@carefree_ladka3 жыл бұрын
Can you write from scratch Yousuf? Thanks btw for all videos 🙂