🔍

CA Train - Thematically Grouped Rules

A dual-persona matrix designed specifically for Development scoping. Requirements are hierarchically structured by Epic → Module Program → Business Theme.

Unmapped Subprogram

Module Tracker: GCCIH

21 Validations & Rules
Module Objective: No description provided from architecture analysis.
⚙️ General Logic & Formats 1 logic blocks
R-GCCIH-cbl-00006 5:Write Message Log
Action Rules
📊 Business Logic Narrative
When the process '5:Write Message Log' is invoked, and assuming that a message has been processed through initial ims processing, when the message logging is performed, the desired outcome is that the writmsgl service is invoked with message code, content, length, and module name for complete audit logging.
💻 Technical Criteria
Given A message has been processed through initial IMS processing
When The message logging is performed
Then The WRITMSGL service is invoked with message code, content, length, and module name for complete audit logging

🏷️ CCN & Waybill Identification 12 logic blocks
R-GCCIH-cbl-00003 3:Format CCN Status Message
Definitional Rules
📊 Business Logic Narrative
When the process '3:Format CCN Status Message' is invoked, and assuming that ih notification data is prepared with security controls, when the ccn status message is being formatted, the desired outcome is that the 91-byte input data is moved to positions 2-91 of the message structure and the formatted input is copied to the message area.
💻 Technical Criteria
Given IH notification data is prepared with security controls
When The CCN status message is being formatted
Then The 91-byte input data is moved to positions 2-91 of the message structure and the formatted input is copied to the message area
R-GCCIH-cbl-00004 3:Format CCN Status Message
Process Rules
📊 Business Logic Narrative
When the process '3:Format CCN Status Message' is invoked, and assuming that a ccn status message is formatted and ready for processing, when the message is prepared for transmission, the desired outcome is that the accept status is set to spaces to indicate a cleared/ready state.
💻 Technical Criteria
Given A CCN status message is formatted and ready for processing
When The message is prepared for transmission
Then The accept status is set to spaces to indicate a cleared/ready state
R-GCCIH-cbl-00005 4:Send Initial IMS Message
Action Rules
📊 Business Logic Narrative
When the process '4:Send Initial IMS Message' is invoked, and assuming that a formatted ccn status message with cleared accept status, when the message is sent for initial processing, the desired outcome is that the cims service is invoked with change operation parameters to process the message.
💻 Technical Criteria
Given A formatted CCN status message with cleared accept status
When The message is sent for initial processing
Then The CIMS service is invoked with change operation parameters to process the message
R-GCCIH-cbl-00010 Clear Input Structure
Process Rules
📊 Business Logic Narrative
When the process 'Clear Input Structure' is invoked, and assuming that a ccn status notification needs to be processed, when the system begins preparing the ih notification data, the desired outcome is that the gcx153-input structure is initialized to clear any previous data.
💻 Technical Criteria
Given A CCN status notification needs to be processed
When The system begins preparing the IH notification data
Then The GCX153-INPUT structure is initialized to clear any previous data
R-GCCIH-cbl-00011 Set Security Parameters to High Values
Policy Rules
📊 Business Logic Narrative
When the process 'Set Security Parameters to High Values' is invoked, and assuming that the input structure has been initialized for ccn status notification, when security parameters need to be established, the desired outcome is that the gcx153-security-byte is set to high-values to enforce maximum security level.
💻 Technical Criteria
Given The input structure has been initialized for CCN status notification
When Security parameters need to be established
Then The GCX153-SECURITY-BYTE is set to HIGH-VALUES to enforce maximum security level
R-GCCIH-cbl-00012 Input Structure Ready for CCN Status
Process Rules
📊 Business Logic Narrative
When the process 'Input Structure Ready for CCN Status' is invoked, and assuming that the input structure is initialized and security parameters are set, when ccn status data needs to be loaded into the notification structure, the desired outcome is that 91 bytes of gcwih data are moved to positions 2-91 of gcx153-input structure.
💻 Technical Criteria
Given The input structure is initialized and security parameters are set
When CCN status data needs to be loaded into the notification structure
Then 91 bytes of GCWIH data are moved to positions 2-91 of GCX153-INPUT structure
R-GCCIH-cbl-00013 Extract CCN Data from GCWIH
Definitional Rules
📊 Business Logic Narrative
When the process 'Extract CCN Data from GCWIH' is invoked, and assuming that gcwih input structure contains ccn data in positions 1 through 91, when ccn data extraction is initiated, the desired outcome is that 91 bytes of ccn data are extracted from gcwih starting at position 1.
💻 Technical Criteria
Given GCWIH input structure contains CCN data in positions 1 through 91
When CCN data extraction is initiated
Then 91 bytes of CCN data are extracted from GCWIH starting at position 1
R-GCCIH-cbl-00014 Move CCN Data to Input Structure Position 2-92
Process Rules
📊 Business Logic Narrative
When the process 'Move CCN Data to Input Structure Position 2-92' is invoked, and assuming that 91 bytes of ccn data have been extracted from gcwih, when ccn data is moved to the input structure, the desired outcome is that ccn data is placed in positions 2 through 92 of gcx153-input structure.
💻 Technical Criteria
Given 91 bytes of CCN data have been extracted from GCWIH
When CCN data is moved to the input structure
Then CCN data is placed in positions 2 through 92 of GCX153-INPUT structure
R-GCCIH-cbl-00015 Move CCN Data to Input Structure Position 2-92
Policy Rules
📊 Business Logic Narrative
When the process 'Move CCN Data to Input Structure Position 2-92' is invoked, and assuming that a ccn status message is being prepared, when security initialization is performed, the desired outcome is that the security byte is set to high-values indicating maximum security level.
💻 Technical Criteria
Given A CCN status message is being prepared
When Security initialization is performed
Then The security byte is set to HIGH-VALUES indicating maximum security level
R-GCCIH-cbl-00016 Transfer Formatted Input to IH Message Structure
Process Rules
📊 Business Logic Narrative
When the process 'Transfer Formatted Input to IH Message Structure' is invoked, and assuming that gcx153-input structure contains properly formatted ccn data with security byte, when message structure transfer is initiated, the desired outcome is that the complete formatted input is transferred to gct1531e-msg for ih processing.
💻 Technical Criteria
Given GCX153-INPUT structure contains properly formatted CCN data with security byte
When Message structure transfer is initiated
Then The complete formatted input is transferred to GCT1531E-MSG for IH processing
R-GCCIH-cbl-00018 Prepare Log Parameters
Process Rules
📊 Business Logic Narrative
When the process 'Prepare Log Parameters' is invoked, and assuming that a ccn status notification message needs to be logged, when the system prepares logging parameters, the desired outcome is that the message code, message content, message length, and module name are made available for the logging operation.
💻 Technical Criteria
Given A CCN status notification message needs to be logged
When The system prepares logging parameters
Then The message code, message content, message length, and module name are made available for the logging operation
R-GCCIH-cbl-00019 Call WRITMSGL Program
Action Rules
📊 Business Logic Narrative
When the process 'Call WRITMSGL Program' is invoked, and assuming that all logging parameters are prepared for the ccn status message, when the system calls the writmsgl program with message code, message content, message length, and module name, the desired outcome is that the writmsgl program is invoked to log the ccn status notification message.
💻 Technical Criteria
Given All logging parameters are prepared for the CCN status message
When The system calls the WRITMSGL program with message code, message content, message length, and module name
Then The WRITMSGL program is invoked to log the CCN status notification message

💰 Bond & Financial Auth 1 logic blocks
R-GCCIH-cbl-00002 2:Prepare IH Notification Data
Policy Rules
📊 Business Logic Narrative
When the process '2:Prepare IH Notification Data' is invoked, and assuming that a new ih notification needs to be processed, when the notification data structure is being prepared, the desired outcome is that the input structure is initialized and security byte is set to high values for maximum security.
💻 Technical Criteria
Given A new IH notification needs to be processed
When The notification data structure is being prepared
Then The input structure is initialized and security byte is set to high values for maximum security

🔁 EDI, Status & Database 7 logic blocks
R-GCCIH-cbl-00001 1:Initialize Program Control
Process Rules
📊 Business Logic Narrative
When the process '1:Initialize Program Control' is invoked, and assuming that a message processing operation is initiated, when the system begins message processing, the desired outcome is that the current program name is saved and the module name becomes the active program identifier.
💻 Technical Criteria
Given A message processing operation is initiated
When The system begins message processing
Then The current program name is saved and the module name becomes the active program identifier
R-GCCIH-cbl-00007 6:Purge IMS Message
Action Rules
📊 Business Logic Narrative
When the process '6:Purge IMS Message' is invoked, and assuming that a message has been processed and logged successfully, when the cleanup operation is performed, the desired outcome is that the cims service is invoked with purge operation to remove the processed message from the system.
💻 Technical Criteria
Given A message has been processed and logged successfully
When The cleanup operation is performed
Then The CIMS service is invoked with purge operation to remove the processed message from the system
R-GCCIH-cbl-00008 Save Current Program Name - CC-PROG → PROG-NAME-SAVED
Process Rules
📊 Business Logic Narrative
When the process 'Save Current Program Name - CC-PROG → PROG-NAME-SAVED' is invoked, and assuming that a program control initialization process is starting, when the system needs to track the current program context, the desired outcome is that the current program identifier must be saved to preserve execution context.
💻 Technical Criteria
Given A program control initialization process is starting
When The system needs to track the current program context
Then The current program identifier must be saved to preserve execution context
R-GCCIH-cbl-00009 Set Module Name for Tracking - MODULE-NAME → CC-PROG
Process Rules
📊 Business Logic Narrative
When the process 'Set Module Name for Tracking - MODULE-NAME → CC-PROG' is invoked, and assuming that the current program context has been preserved, when the system switches to module execution mode, the desired outcome is that the module name must be assigned as the current program identifier for tracking purposes.
💻 Technical Criteria
Given The current program context has been preserved
When The system switches to module execution mode
Then The module name must be assigned as the current program identifier for tracking purposes
R-GCCIH-cbl-00017 Execute CIMS Call with CHNG Function
Action Rules
📊 Business Logic Narrative
When the process 'Execute CIMS Call with CHNG Function' is invoked, and assuming that message input data has been prepared in gcx153-input structure and accept status is cleared, when system calls cims program with chng function using cccom, alt-pcb, and gct1531e parameters, the desired outcome is that ims message processing is initiated for the prepared message.
💻 Technical Criteria
Given Message input data has been prepared in GCX153-INPUT structure and accept status is cleared
When System calls CIMS program with CHNG function using CCCOM, ALT-PCB, and GCT1531E parameters
Then IMS message processing is initiated for the prepared message
R-GCCIH-cbl-00020 Execute PURG Function
Action Rules
📊 Business Logic Narrative
When the process 'Execute PURG Function' is invoked, and assuming that message processing has been completed and logged, when system initiates message cleanup process, the desired outcome is that cims program is called with purg function to purge the message.
💻 Technical Criteria
Given Message processing has been completed and logged
When System initiates message cleanup process
Then CIMS program is called with PURG function to purge the message
R-GCCIH-cbl-00021 Complete Message Processing
Process Rules
📊 Business Logic Narrative
When the process 'Complete Message Processing' is invoked, and assuming that message has been processed and purge function has been executed, when all message operations are completed, the desired outcome is that system returns control to the calling program to complete the process.
💻 Technical Criteria
Given Message has been processed and purge function has been executed
When All message operations are completed
Then System returns control to the calling program to complete the process