[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 416
  • Last Modified:

Indicators

I am having a real problem with a test program I am writing.  I created a simple screen that takes input from the user and will then search a file for the appropriate record.  I have coded F3=EXIT in the screen file and added the indicator CA03 with a resp of 03 and text of 'F3=EXIT' within the DDS.

I then added the following C spec to my rpg program:

DOW *IN03 = *OFF
   ...
ENDDO

However when I compile the program it keeps telling me that I am using an operand that is not defined.

Suggestions?
0
dpalme
Asked:
dpalme
1 Solution
 
daveslaterCommented:
in the dds you need

CA03(03 'Exit')
otherwise RPG assigns *INKC

Dave
0
 
dpalmeAuthor Commented:
I had that in the DDS but I think I had the response in the wrong position.

Thanks Dave
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now