Hi Denis.
Here's a simple example.
In QSH, cd in IFS to where your source is located in your Orion workspace.
For example, the default location that user workspaces are created under
is:
/QOpenSys/QIBM/UserData/OPS/Orion/serverworkspace
My user directory is:
jl/jlittlej
And I have projects with folders/source under there at:
OrionContent/rpg_01/RPGSHRD/RPGSHRD
So, in my case, the full path is:
/QOpenSys/QIBM/UserData/OPS/Orion/serverworkspace/jl/jlittlej/OrionContent/rpg_01/RPGSHRD/RPGSHRD
In that dir, say I have a source file HLLOSHRD.RPGLE, I can compile it with
the command:
system -i "CRTBNDRPG JLITTLEJ/HLLOSHRD SRCSTMF('$PWD/HLLOSHRD.RPGLE')
DBGVIEW(*ALL) TGTCCSID(*JOB)"
and it will put the compiled program in my JLITTLEJ library.
Note that this command uses the parameter TGTCCSID. So make sure that you
have the PTF installed that provides this parameter. For 7.1, that is
SI62580. There is more information about the PTF here:
http://ibm.biz/RPG_Compile_Unicode_Source
To make things easier, you can always write scripts to automate running the
compile commands, moving files around, etc.
Hope that helps.
James Littlejohn
IBM Canada Limited, Toronto Software Lab
Rational Developer for i
From: Denis Facchino <denis.facchino@xxxxxxxxx>
To: opensource@xxxxxxxxxxxx
Date: 04/05/2017 05:12 PM
Subject: [IBMiOSS] Orion with rpgle. info
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>
Hi,
i'm Denis Facchino, an IBM italian programmer ...
i have got few questions for you if you were pleasent to answer me...
I installed in our 7.1 version machine the last refresh in order to
build rpgle full free format.
I installed open source tr in order to use orion in our machine.
Everything is wonderful and it works.
How can i compile or move my sources from ifs folders from orion shell
or source .sh?
I have to create some plugins to do this?
tks a lot
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/opensource.
As an Amazon Associate we earn from qualifying purchases.