Mark,
We're not a Synon shop but its possible that the software company is.
The CRTOBJ is in their main system lib.
We only use it on a few of their programs because theres are alot of CPYSRC
and funky IO routines within their programs, OPT 14 compile will fail.
The program does contain a CPYSRC of the procedures and the module has the
PI's.
Heres a small snap shot of the extras that get brought in..
D*/COPYR C##DS && PS
D*/DCLF PS
D*/COPYR C##DS && PM
D*/DCLF PM
D*/COPYR C##DS && O6
D*/DCLF O6
D*/COPYR C##DS && 1O
D*/DCLF M1O
D*
D*/DCLDS ROLKY
D*/DCLDE RF$M1 M1PNON RLPNON
D*/DCLDE RF$M1 M1ON RL1ON
D*/DCLDS SVM12
D*/DCLDE RF$M1 M1PNON SVPNON
D*/DCLDE RF$M1 M1ON SV1ON
D* Data structure with lot# and wh to be passed to CFWD
D*
D*/DCLDS SNDDS
D*16448*/DCLDE RF$CF CFEFLG SNDFLG
D*/DCLDE *LEN SNDFLG 001A0
Regards
Michael Lange
From: Mark S Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Date: 10/13/2017 03:14 PM
Subject: Re: Module question
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Michael,
The command "CRTOBJ" is not an IBM-supplied command, AFAIK ...
Issue:
WRKOBJ *ALL/CRTOBJ *CMD
and report back to indicate what library(s) you find this command
located in.
Also, Synon/2E has a "CRTOBJ:" command -- is it possible your shop is a
SYNON shop (aka. CA-2E)? If so, is the program WS27 a SYNON program?
Also, you should be able to issue:
UPDPGM OBJLIB/WS27 MODULE(CFG_M01)
to replace the existing module CFG_M01 with the new version in the
existing bound *PGM object (WS27).
Hope that helps,
Mark S. Waterbury
On 10/13/2017 3:13 PM, MichaelLange@xxxxxxxxxx wrote:
Sys Ver. 7,2
Have a question using modules.
I have a pgm that calls a PR 'CFG_OpenDrawingFile' in CFG_M01.
I made changes to this mod and the RPGLE, then did CRTRPGMOD on CFG_M01
and
it compiled fine.
For the RPG we have to do a CRTOBJ because thats the way we have to
create
some of this companies programs.
CRTOBJ OBJECT(OBJLIB/WS27) OBJTYPE(RPGLE)
DEBUGVIEW(*ALL) TGTRLS(V7R2M0) SRCFILE(SRCLIB/QRPGLESRC)
So that compiled fine.
When I ran the program through debug and stepped into the module it
wasn't
the one that I had made changes too, it was still the original version.
I worked on this Module before but can't remember how we got it working
at
that time.
What am I missing.
Regards
Michael Lange
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
http://amzn.to/2dEadiD
This e-mail message, including any attachments, is for the sole use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Loewen makes no warranty that this e-mail is error or virus free.
Please think green before printing this email.
As an Amazon Associate we earn from qualifying purchases.