Using VCS with IBMi
Posted: Mon May 29, 2017 11:15 am
This may also be a way around Joes issue (forum topic: SQL Server Express Limits).
Scenario:
Server Modules need to access RPG programs on the IBMi in order to get certain pieces of data (ie. not all data is accessible through data files).
Problem:
Testing on a PC wont allow for this without 'Delivering' the Server Module to the IBMi.
1. use the web administrator so that Server Modules are automatically executed against the IBMi. Yes - you will need to 'Deliver To' the IBMi for each Server Module you are using, but if you are the sole developer working with that Server Module, then this will not be a problem.
2. if more than 1 developer will need to make changes to the Server Module, the solution is to use different 'developer partitions' on the IBMi, such that each developer can 'Deliver To' their own partition (meaning multiple developers can work on the same Server Module).
3. the build machine will be used to Deliver the 'merged' Server Module to the main Development partition.
This slightly complicates the VCS setup, as you must use the partition directory (usually something like 'Partition (DV1)') as the working folder for VCS. The build machine will have the 'real' partition (ie. Partition (DEV) ), whilst each developer has their own partition on the IBMi. LANSA Export/Import can be used when setting up the developer partitions (to ensure that they all start with the same code base), but the tricky part will be managing library lists so that data files are shared.
This would seem to bypass the 'SQL Server Express Limit' that Joe ran into, as well as providing for situations where developers need to test against the IBMi directly (RPG calls, SQL Stored Procedures etc) that cannot be replicated to a PC.
I would be curious how many people are using VCS with an IBMi, and what your chosen VCS software is.
Brendan.
Scenario:
Server Modules need to access RPG programs on the IBMi in order to get certain pieces of data (ie. not all data is accessible through data files).
Problem:
Testing on a PC wont allow for this without 'Delivering' the Server Module to the IBMi.
1. use the web administrator so that Server Modules are automatically executed against the IBMi. Yes - you will need to 'Deliver To' the IBMi for each Server Module you are using, but if you are the sole developer working with that Server Module, then this will not be a problem.
2. if more than 1 developer will need to make changes to the Server Module, the solution is to use different 'developer partitions' on the IBMi, such that each developer can 'Deliver To' their own partition (meaning multiple developers can work on the same Server Module).
3. the build machine will be used to Deliver the 'merged' Server Module to the main Development partition.
This slightly complicates the VCS setup, as you must use the partition directory (usually something like 'Partition (DV1)') as the working folder for VCS. The build machine will have the 'real' partition (ie. Partition (DEV) ), whilst each developer has their own partition on the IBMi. LANSA Export/Import can be used when setting up the developer partitions (to ensure that they all start with the same code base), but the tricky part will be managing library lists so that data files are shared.
This would seem to bypass the 'SQL Server Express Limit' that Joe ran into, as well as providing for situations where developers need to test against the IBMi directly (RPG calls, SQL Stored Procedures etc) that cannot be replicated to a PC.
I would be curious how many people are using VCS with an IBMi, and what your chosen VCS software is.
Brendan.