Skip to content

References view - is it working? Or, how to use #1373

Answered by Gregory1701
Gregory1701 asked this question in IBM i
Discussion options

You must be logged in to vote

I found the difference. It works if the program is **FREE. No references found if the RPG is not **FREE.

   Ctl-Opt Main(Proc_Name);
   Ctl-Opt Debug Option(*SrcStmt:*NoDebugIO);
   Ctl-Opt ActGrp(*Caller);
   Ctl-opt ExtBinInt(*Yes);

   Dcl-ds pgm_sts psds;
    thisPgm *proc;
   End-ds;

   Dcl-Proc Proc_Name;

   Dcl-Pi Proc_Name;

   End-Pi;

   Dcl-s abnormal_End Ind Inz(*Off);

   Return;

   On-Exit abnormal_End;

    If abnormal_End;
      DSPLY (thisPgm + 'Errored out.');
    Endif;

   End-Proc Proc_Name;

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Gregory1701
Comment options

Answer selected by worksofliam
@worksofliam
Comment options

@Gregory1701
Comment options

@worksofliam
Comment options

@Gregory1701
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants