+ Reply to Thread
Results 1 to 2 of 2

Thread: Creating a command using a Validity Checking Program

  1. #1

    Default Creating a command using a Validity Checking Program

    I created a quick test command which seems to work as expected (see code below). I used a source type of CLLE for the CL's and debugged using STRDBG rather than STRISDB...
    Code

  2. #2

    Default Creating a command using a Validity Checking Program

    I have created a command that uses a validity checking program (VCP) to change the value on one of the parms to an acceptable value. The command runs just fine when I execute it with debug, however, it fails to replace the parm when I run it interactively without using STRISDB. The parm in question is the 4th parm in the command out of a total of 7. Parms 4 through 7 are conditioned using the PMTCTL keyword, which is based on the 3rd parm. The 3rd parm can only have a value of "Y" or "N". If it is "Y", only 5th parm is to appear; if it is "N", then parms 4, 6, and 7 are to appear. I also noticed something unusual when running debug. The validity checking program is run twice before control is passed to the command processing program (CPP). I am to the point where I may need to abandon the command and replace it with new code, but I would very much like to know what is causing the issue, as I would like to use the concept in the future as well. Any suggestions would be greatly appreciated. I am including the command code and the compilation command.
    Code

+ Reply to Thread

Similar Threads

  1. Replies: 4
    Last Post: 06-06-2007, 10:20 AM
  2. Validity Checking Program (VCP) Trouble
    By peterklevy in forum CL
    Replies: 3
    Last Post: 08-31-2006, 10:07 AM
  3. Replies: 1
    Last Post: 11-04-2004, 11:58 AM
  4. Validity checking a command.
    By Guest.Visitor in forum Programming
    Replies: 5
    Last Post: 09-14-2000, 11:15 AM
  5. Password Validity Checking
    By Guest.Visitor in forum Application Software
    Replies: 7
    Last Post: 05-19-2000, 11:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts