TechieBlog:

AS/400

May 1 2008   10:13AM GMT

FTP



Posted by: Siddharth
AS/400

I want to transfer number of members from one system to another system. I am trying this using FTP command but m not able to do .

Can anyone tell me the whole procedures from creating a save file , saving objects and then FTP the files to another System.

Apr 18 2008   11:41AM GMT

Switch got me ON



Posted by: Siddharth
AS/400

Now this is what you call a real discovery you can make(Atleast for me). last month we had to create some Adoption Programs due to some ‘Authority Problems’. So We created around 3 new adoption programs.

Now in my CLLE programs(which call these Adoption programs), the concept of switch is used. We had used this switch as a condition to jump to Command Label ‘END’ and then throw some Database error. I tried calling my CLLE program but this error was coming like anything.   The reason being the Switch was gettin ON due to one of the Adoption program we were using in our CLLE. So me and my colleague, we looked into the adoption program through DEGUG and then we exclaimed…….’Yes!!!!’ we got it…….the reason was the authority problem in one of the Component and hence the switch was getting ON. This resulted in showing database error although the RPGLE was running perfectly ok. 

Now lets see what happens…..bye for now……need to look for some valid data.


Apr 18 2008   3:38AM GMT

Standard Creation Parameters



Posted by: Siddharth
AS/400

Finally for the concept of standard creation parameters. I compiled my sources(RPGLE) and then in debug mode could not see the source so that i can debug it. This made me sick. Then one of my colleague told me to add the library(Where my RPGLE sources are Located) that has standard creation parameters which create your modules.

Now i can happily debug my codes and see what errors i had commited.


Apr 17 2008   3:44AM GMT

AS/400 Commands



Posted by: Siddharth
AS/400

Finally got some time to write something in here. For the Last two months, It  was like hell to me. Never got chance to open the IE also(Just Imagine how busy i was).

For the last two months i was in support phase for my previuos Development Project and it was like Hell…….Ohh Damn!!   As i am new to this ‘Support’ Phase and really took time to understand the basic concepts of Support and Bug Fixing.

But during this BUG fixing phase i had the best exprience in AS/400 field as well as in interacting with the Client. I learnet many new commands but i cant write all of them as i cant remember all of them now.

Some new AS/400 commands i learnt were:

1. DSPMODSRC(Display Module Source)

2. Creating new Access Objects and then defining their parameters in RPGLE correctly.

3. RCLSRC(Reclaim Resources)

4. Difference between option number ‘14′ (for creating Bound RPG Program) and ‘15′(for   creating  RPG Module)

5. Learned how to Tag the BUGID properly in RPGLE and CLPS and DDS.(This depened on project requirement)

6. Got the Basic Idea on ‘CALL’, ‘CALLB’ and ‘CALLP’

7. Learnt to understand the DSPJOGLOB and WRKSPLF .

This for all now folks, i think got a mail from My colleague. He is also very busy with this BUG fixing phase and wants me to analysis on some BUG reported Just now.


Mar 11 2008   6:13AM GMT

Got some information ,,,,,,finally



Posted by: Siddharth
AS/400

Phew , finally my Team leadet taught me the basic concepts of COPYBOOK that we were using on out Development project. I (as usual )neglected that piece of code during testing and development phase but during my support phase i happen to see that 1 line of code…..huh…..took almost 1 day that day to understand and then  left that “1 piece of line”. Then realised that i should not neglect that code….i went to my Team Leader.She taught me how to use and showed me the variables defined in Copy Book statement…..

That line of code actually worked like an “inline function” . Only required when the same piece of code is required by number of API’s.