Legacy screens · Screen flow · aws-carddemo

User journeys

17 journeys over 21 of 21 screens, grouped by a Claude step per domain and checked by Reframe: every step follows a link in the screen flow, and every capability and requirement cited exists. Model output, for review.

Customer Account Self-Service

J01 View an account

Card services agent · Look up an account by number and see its balances, limits, dates and the customer's profile while the caller waits.

  1. Login Screen COSGN0A: Sign in with user ID and password
  2. Main Menu COMEN1A: Choose option 1, Account View
  3. View Account CACTVWA: Enter the 11-digit account number and press Enter
  4. View Account CACTVWA: Fix the account number if an error is shown, then read the account and customer details
  5. Main Menu COMEN1A: Press F3 to return to the main menu
3 capabilities, 27 requirements
  • Validate and look up an account for viewing rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#16
  • Display account and customer details rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#17
  • Navigate the account view screen rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#18
  • REQ-F-123 When the account number entered on the Account View screen is '*' or blank, the system shall treat the account number as not supplied.
  • REQ-F-124 If no account number is supplied, then the system shall reject the request as an input error without reading any file, set the session account to zero, show 'No input received', and redisplay the account field as '*' in red.
  • REQ-F-125 If the account number supplied is not all digits (including one shorter than 11 digits) or is all zeros, then the system shall reject it as an input error without reading any file, set the session account to zero, show the account field in red and show 'Account Filter must be a non-zero 11 digit number'.
  • REQ-F-126 When the account number is 11 digits and not all zeros, the system shall accept it as the session account and go on to the account lookup.
  • REQ-F-127 When an account number passes validation, the system shall look the account up in the card cross-reference by account number (CXACAIX) and, when it is found, keep that account's customer number and card number for the rest of the session.
  • REQ-F-128 If the account is not in the card cross-reference, then the system shall stop the lookup, treat it as an input error, show the account number in red and show 'Account:<account number> not found in Cross ref file. Resp:<code> Reas:<code>'.
  • REQ-F-129 If reading the card cross-reference fails for any reason other than 'not found', then the system shall stop the lookup, treat it as an input error and show 'File Error: READ on CXACAIX returned RESP <code>,RESP2 <code>'.
  • REQ-F-130 When the account is found in the cross-reference, the system shall read the account master (ACCTDAT) by account number and, on success, mark the account as found so that its details are displayed.
  • REQ-F-131 If the account is not in the account master, then the system shall treat it as an input error, show the account number in red and show 'Account:<account number> not found in Acct Master file.Resp:<code> Reas:<code>', and for any other read failure show 'File Error: READ on ACCTDAT returned RESP <code>,RESP2 <code>'.
  • REQ-F-132 If reading the account master does not succeed, then the system shall still go on to read the customer master, because the stop check after the account read never triggers.
  • REQ-F-133 The system shall read the customer master (CUSTDAT) using the customer number taken from the card cross-reference and, on success, mark the customer as found so that the customer details are displayed.
  • REQ-F-134 If the customer is not in the customer master, then the system shall treat it as an input error and show 'CustId:<customer number> not found in customer master.Resp: <code> REAS:<code>', unless an earlier message is already set.
  • REQ-F-135 If reading the customer master fails for any reason other than 'not found', then the system shall treat it as an input error and show 'File Error: READ on CUSTDAT returned RESP <code>,RESP2 <code>', replacing any earlier message.
  • REQ-F-136 While the program context is re-entry (1), when PF3 was not pressed, the system shall read and validate the entered account number, redisplay the screen with the error on an input error, and otherwise look up the card cross-reference, account master and customer master in turn (stopping at the first not found) and display the screen.
  • REQ-F-137 When the account was found in the account master file, the system shall show the account status, current balance, credit limit, cash credit limit, current cycle credit, current cycle debit, open date, expiration date, reissue date and group id.
  • REQ-F-138 When the account's customer was found in the customer master file, the system shall show the customer id, FICO score, date of birth, first, middle and last name, address lines, city, state, zip, country, both phone numbers, government-issued id, EFT account id and primary card holder indicator.
  • REQ-N-005 When the customer is found, the system shall show the customer's full Social Security number, unmasked, in the form NNN-NN-NNNN.
  • REQ-F-139 When the account view screen is shown with no session data passed (started directly), the system shall show no account or customer details and show the information line 'Enter or update id of account to display'.
  • REQ-F-140 While session data exists, the system shall show the account number the user entered in the account number field, or leave the field empty when no account number was entered.
  • REQ-F-141 The system shall show 'Enter or update id of account to display' on the information line when no information message has been set, and always show the current error message, if there is one, on the error line.
  • REQ-F-142 The system shall place the cursor on the account number field every time the account view screen is shown, whether or not the input had an error.
  • REQ-F-143 When the user presses any key other than Enter or PF3 (PF15 counts as PF3), such as PF7, Clear or PA1, the system shall treat it as Enter.
  • REQ-F-144 When the user presses PF3, the system shall transfer control, with the session data and the program context reset to first entry, to the calling program and transaction, or to the main menu ('COMEN01C', transaction 'CM00') when no caller is recorded.
  • REQ-F-145 When the program starts with no session data, or is entered from the main menu ('COMEN01C') other than as a re-entry, the system shall start a fresh session context, discarding any passed data.
  • REQ-F-146 While the program context is first entry (0), when PF3 was not pressed, the system shall show the empty account search screen and wait for input.
  • REQ-F-147 When the account view screen is sent, the system shall set the program context to re-entry (1) and end the task, keeping the session data, so that the next input from the user starts transaction 'CAVW'.
  • REQ-F-148 If the program context is neither first entry nor re-entry, then the system shall send the plain text 'UNEXPECTED DATA SCENARIO' and end.

J02 Update an account

Card services agent · Change an account's and its customer's details after confirming the caller, saving only valid, confirmed changes.

  1. Login Screen COSGN0A: Sign in with user ID and password
  2. Main Menu COMEN1A: Choose option 2, Account Update
  3. Update Account CACTUPA: Enter the account number and press Enter to fetch the account and customer
  4. Update Account CACTUPA: Type the changes to account and customer fields and press Enter to check them
  5. Update Account CACTUPA: Correct any field the error message points to and press Enter again
  6. Update Account CACTUPA: Press F5 to save the changes, or F12 to cancel them
  7. Main Menu COMEN1A: Press F3 to return to the main menu
15 capabilities, 126 requirements
  • Find the account to update rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#1
  • View account and customer details for update rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#2
  • Capture entered changes rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#3
  • Validate changed account and customer fields rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#4
  • Validate account and customer dates rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#5
  • Confirm and save the account update rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#6
  • Select an account to update rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#7
  • Detect changes before validating rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#8
  • Validate customer name and address rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#9
  • Validate customer phone numbers rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#10
  • Validate identity and credit details rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#11
  • Validate account flags and EFT account rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#12
  • Save confirmed account and customer changes rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#13
  • Navigate the account update screen rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#14
  • Update account details with validation and confirmation rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#15
  • REQ-F-001 When the account update screen is shown on first entry to the function, the system shall set the information message to 'Enter or update id of account to update'.
  • REQ-F-002 When the account update screen is shown, it is not a first entry, and no account details have been fetched yet, the system shall set the information message to 'Enter or update id of account to update'.
  • REQ-F-003 If no update stage matches and the information message is blank, then the system shall default the information message to 'Enter or update id of account to update'.
  • REQ-F-004 When the account is found in the card cross-reference by account ID, the system shall take the customer ID and card number from it for the session and go on to read the account and customer.
  • REQ-F-005 If the account is not in the card cross-reference, then the system shall flag the account as invalid, stop the lookup and show 'Account:<account> not found in Cross ref file. Resp:<resp> Reas:<reason>'.
  • REQ-F-006 If the card cross-reference read fails for any other reason, then the system shall flag the account as invalid, stop the lookup and show 'File Error: READ on CXACAIX returned RESP <resp>,RESP2 <reason>'.
  • REQ-F-007 When the account master read succeeds, the system shall mark the account as found.
  • REQ-F-008 If the account is not on the account master, then the system shall flag an input error, mark the account search invalid and, if no message is already set, report 'Account:<id> not found in Acct Master file.Resp:<resp> Reas:<reason>'.
  • REQ-F-009 If the account master read fails for any other reason, then the system shall flag an input error, mark the account search invalid and report 'File Error: READ on ACCTDAT returned RESP <resp>...'.
  • REQ-F-010 When the customer master read for the account's customer succeeds, the system shall mark the customer as found.
  • REQ-F-011 If the customer is not on the customer master, then the system shall flag an input error, mark the customer search invalid and, if no message is already set, report 'CustId:<id> not found in customer master.Resp: <resp> REAS:<reason>'.
  • REQ-F-012 If the customer master read fails for any other reason, then the system shall flag an input error, mark the customer search invalid and report 'File Error: READ on CUSTDAT returned RESP <resp>...'.
  • REQ-F-013 When the account is found in the card cross-reference, the system shall save the account id, customer id, customer names, account status and card number as the session context.
  • REQ-F-014 When the account is found in the card cross-reference, the system shall copy the fetched account and customer values into the original snapshot, splitting the open, expiry, reissue and birth dates (YYYY-MM-DD) into year, month and day.
  • REQ-F-015 The system shall always show the current information message and the current error or return message in their message lines.
  • REQ-F-016 When the account update screen shows the original values, the system shall clear all field-error flags and set the information message to 'Update account details presented above.'
  • REQ-F-017 When the account update screen is shown after details were fetched and the stage is details shown ('S') or changes not OK ('E'), the system shall set the information message to 'Update account details presented above.'
  • REQ-F-018 When the original values are shown and either the account or the customer was found, the system shall show the stored account status, the current balance, credit limit, cash credit limit and cycle credit and debit as formatted amounts, the open, expiry and reissue dates as year, month and day, and the account group.
  • REQ-F-019 When the original values are shown and the customer was found, the system shall show the stored customer details, with the SSN split into 3-2-4 digits, both phone numbers split into area code, prefix and line number, and the date of birth split into year, month and day.
  • REQ-F-020 When the account update screen is shown on re-entry, the system shall show the entered account id, but leave it blank when the id is zero and the account search is valid.
  • REQ-F-021 When the screen is shown on re-entry and either no details have been fetched or the account id is zero, the system shall show all account and customer fields blank.
  • REQ-F-022 When the screen is shown on re-entry with details shown ('S'), the system shall show the original fetched values, and when changes have been made ('E', 'N', 'C', 'L', 'F'), the system shall show the values the operator entered.
  • REQ-F-023 While account details are shown for editing (state 'S') or shown again with input errors (state 'E'), the system shall let the operator change status, credit and cash limits, balance, cycle credit and debit, open, expiry and reissue dates, group, SSN, FICO score, date of birth, names, address lines, city, state, ZIP, both phones, government ID, EFT account and primary-holder flag.
  • REQ-N-001 While account details are shown for editing (state 'S' or 'E'), the system shall keep the account number, customer number and country protected so they cannot be changed.
  • REQ-N-002 While changes are waiting for confirmation (state 'N') or have been saved (state 'C'), the system shall protect every field.
  • REQ-F-024 While no account is fetched yet or the save failed, the system shall leave only the account number open for entry.
  • REQ-F-025 When the operator submits changes and the account group entry is '*' or blank, the system shall treat the group as not supplied, and otherwise take the entered group as the proposed group.
  • REQ-F-026 When the operator submits changes and the country code entry is '*' or blank, the system shall treat the country code as not supplied, and otherwise take the entered value as the proposed country code.
  • REQ-F-027 When account details are already on the update screen and the operator submits the customer number field as '*' or blank, the system shall treat the customer number as not supplied, and otherwise take the entered customer number as the proposed value to compare with the stored one and write to the customer record on save.
  • REQ-F-028 When account details are already on the update screen and the operator submits the government-issued ID field as '*' or blank, the system shall treat the government ID as not supplied, and otherwise take the entered value as the proposed government ID to compare with the stored one and write to the customer record on save.
  • REQ-F-029 When the operator submits changes to a fetched account and any of the credit limit, cash credit limit, current balance, current cycle credit or current cycle debit is blank or '*', the system shall treat that amount as not supplied.
  • REQ-F-030 When an entered amount reads as a valid currency number (an optional '$', thousands commas, a sign and decimals allowed), the system shall convert it to the proposed new numeric amount with two decimal places.
  • REQ-F-031 When the operator submits the account update screen after the account details are shown, the system shall treat each year, month or day part of the open, expiry and reissue dates entered as '*' or left blank as not supplied, and take any other entry as typed.
  • REQ-F-032 When the operator enters a date of birth part (year, month or day) as '*' or leaves it blank, the system shall treat that part as not supplied, and otherwise take the entered part as the proposed value.
  • REQ-F-033 When account details have been fetched and the entered values differ from the fetched ones, and the changes are not already validated or saved, the system shall check every account and customer field and mark the changes not OK ('E') until all checks pass.
  • REQ-F-034 The system shall require the account status and the primary card holder flag to be Y or N.
  • REQ-F-035 The system shall require the open, expiry, reissue and birth dates to be valid dates, with the birth date passing an extra date-of-birth check.
  • REQ-F-036 The system shall require the credit limit, cash credit limit, current balance, cycle credit and cycle debit to be valid signed currency numbers.
  • REQ-F-037 If an amount is not supplied (blank or '*'), then the system shall reject it with the message '<field> must be supplied.' (for example 'Credit Limit must be supplied.').
  • REQ-F-038 If a supplied amount is not a valid currency number, then the system shall reject it with the message '<field> is not valid', using the names 'Credit Limit', 'Cash Credit Limit', 'Current Balance', 'Current Cycle Credit Limit' or 'Current Cycle Debit Limit'.
  • REQ-F-039 The system shall accept any valid currency number for the five amounts, including negative values and zero, without a range or sign check.
  • REQ-F-040 If the first 3 digits of the SSN are 000, 666 or 900-999, then the system shall reject the SSN with ': should not be 000, 666, or between 900 and 999'.
  • REQ-F-041 The system shall require the FICO score to be 3 digits between 300 and 850, rejecting it otherwise with ': should be between 300 and 850'.
  • REQ-F-042 The system shall require the first and last names (25 characters), city (50) and country (3) to be letters only, allow the middle name (25) to be blank but letters only, and require address line 1 (50).
  • REQ-F-043 The system shall require the state to be a valid 2-letter US state code (': is not a valid state code'), the ZIP to be 5 digits, the state and ZIP to match each other, both phone numbers to be valid US numbers, and the EFT account id to be 10 digits.
  • REQ-N-003 The system shall show only the first error message found on the screen.
  • REQ-F-044 When all field checks pass, the system shall set the stage to changes validated but not confirmed ('N').
  • REQ-F-045 When the entered values differ from the stored account and are not awaiting or past confirmation, the system shall check the 'Open Date', 'Expiry Date', 'Reissue Date' and 'Date of Birth' in that order with the same date check, prefix each message with the date's name, and show only the first error message found.
  • REQ-F-046 If the year of a date is blank, then the system shall reject the date with '<date name> : Year must be supplied.' and still go on to check the month and day.
  • REQ-F-047 If the year of a date is not a four-digit number, then the system shall reject the date with '<date name> must be 4 digit number.'
  • REQ-F-048 If a numeric year does not start with 19 or 20, then the system shall reject the date with '<date name> : Century is not valid.'
  • REQ-F-049 If the month of a date is blank, then the system shall reject the date with '<date name> : Month must be supplied.'
  • REQ-F-050 If the month of a date is not a number from 1 to 12, then the system shall reject the date with '<date name>: Month must be a number between 1 and 12.'
  • REQ-F-051 If the day of a date is blank, then the system shall reject the date with '<date name> : Day must be supplied.'
  • REQ-F-052 If the day of a date is not a number or is outside 1 to 31, then the system shall reject the date with '<date name>:day must be a number between 1 and 31.'
  • REQ-F-053 If the day is 31 and the month is not 1, 3, 5, 7, 8, 10 or 12, then the system shall reject the date with '<date name>:Cannot have 31 days in this month.' and stop checking that date.
  • REQ-F-054 If the date is 30 February, then the system shall reject it with '<date name>:Cannot have 30 days in this month.' and stop checking that date.
  • REQ-F-055 If the date is 29 February and the year is not a leap year (a year ending in 00 must divide by 400, any other year by 4), then the system shall reject it with '<date name>:Not a leap year.Cannot have 29 days in this month.'
  • REQ-F-056 If any of the year, month or day of a date has failed its check, then the system shall stop checking that date without the final date-service check.
  • REQ-F-057 When a date passes all the earlier checks, the system shall confirm it with the date service (CSUTLDTC) in format 'YYYYMMDD' and reject it with '<date name> validation error Sev code: <severity> Message code: <message number>' if the service returns a non-zero severity.
  • REQ-F-058 When the date service rejects a date, the system shall still mark the date's year, month and day as valid, so that only the error message and the screen's input-error state record the failure.
  • REQ-F-059 When the operator presses a key that is not Enter, not PF3, not PF5 while changes are pending confirmation ('N'), and not PF12 after the account details are fetched, the system shall reject the requested key operation and treat the request as Enter, while allowed keys keep their requested operation.
  • REQ-F-060 If any stored account or customer value differs from the value fetched when the details were shown, then the system shall flag 'Record changed by some one else. Please review' and stop the save.
  • REQ-F-061 When a confirmed account update is saved, the system shall rewrite the account record from a layout that has no ZIP field, so that the entered account group ID goes into the stored ZIP position (offsets 103-112) and the stored group-ID position is overwritten with whatever the unset filler area holds.
  • REQ-F-062 When the operator submits the account update screen, the system shall treat an account number of '*' or blank as not supplied and otherwise take the entered value as the account to search for.
  • REQ-F-063 While no account details have been fetched yet, the system shall check only the account number and ignore every other field on the screen.
  • REQ-F-064 If no account details have been fetched yet and the account number is blank or '*', then the system shall show the error 'No input received', set the current account number to zeros and read no account.
  • REQ-F-065 If no account details have been fetched yet and the account number supplied is not numeric or is all zeros, then the system shall show 'Account Number if supplied must be a 11 digit Non-Zero Number', set the current account number to zeros and read no account.
  • REQ-F-066 While no account details have been fetched yet, when the account number is an 11-digit non-zero number, the system shall accept it as the current account and go on to look the account up.
  • REQ-F-067 When account details are not yet fetched, or the operator presses PF12 to cancel changes, and the account number entered is valid, the system shall look up the card cross-reference, then the account, then the customer, stopping at the first one not found, and shall show the details (state 'S') only when all three are found.
  • REQ-F-068 When the operator presses Enter on an account already shown, the system shall compare every entered value with the value fetched, ignoring upper/lower case and surrounding spaces for text fields (status, group, names, address, state, country, ZIP, government ID, primary-holder flag) and comparing amounts, dates, phone parts, SSN, EFT account and FICO exactly, counting any difference as a change.
  • REQ-F-069 When no entered value differs from the fetched values, the system shall show 'No change detected with respect to values fetched.', run no field checks, save nothing and leave the details on screen without asking for confirmation.
  • REQ-F-070 While the update is neither awaiting confirmation ('N') nor completed ('C'), when a change is detected, the system shall mark the changes as not yet accepted ('E'), run every field check, and move the update to awaiting confirmation ('N') if all checks pass.
  • REQ-F-071 When no change is detected, or the update is awaiting confirmation ('N') or completed ('C'), the system shall clear all field error flags and skip every field check, including the date checks.
  • REQ-F-072 When several fields fail validation, the system shall flag every invalid field but show only the message of the first failing field.
  • REQ-F-073 When the operator enters '*' or leaves blank the first, middle or last name, address line 1 or 2, city, state, ZIP code or EFT account id, the system shall treat that entry as not supplied, and otherwise take the entered value as the proposed new value, holding the city as address line 3.
  • REQ-F-074 If the first name, last name, city, state or country is not supplied after the operator changes account or customer details, then the system shall reject the input with '<field> must be supplied.' (for example 'First Name must be supplied.') and mark the field blank ('B').
  • REQ-F-075 If a supplied first name, last name, city, state or country contains any character other than the letters A-Z or a-z and spaces, then the system shall reject it with '<field> can have alphabets only.' and mark the field invalid ('0').
  • REQ-F-076 If a supplied middle name contains anything other than letters and spaces, then the system shall reject it with 'Middle Name can have alphabets only.', and the system shall accept a blank middle name.
  • REQ-F-077 If address line 1 is not supplied, then the system shall reject the input with 'Address Line 1 must be supplied.' and mark it blank ('B'), accepting any other content and not checking address line 2 at all.
  • REQ-F-078 If the state is present and passes the letters-only check but is not one of the valid US state codes, then the system shall reject the change, flag the state as in error, and show 'State: is not a valid state code' if no earlier error message has been set.
  • REQ-F-079 If the ZIP code (5 positions) is blank, not all digits, or zero, then the system shall reject it with 'ZIP must be supplied.' (flag 'B'), '<field> must be all numeric.' (flag '0') or '<field> must not be zero.' (flag '0') respectively.
  • REQ-F-080 When both the state and the ZIP code have passed their own edits, the system shall check that the state together with the first two digits of the ZIP code is a known valid state/ZIP-prefix combination.
  • REQ-F-081 If the state and first two ZIP digits are not a valid combination, then the system shall reject the change, flag both the state and the ZIP code as in error, and show 'Invalid zip code for state' if no earlier error message has been set.
  • REQ-F-082 When the operator enters '*' or leaves blank any part of phone number 1 or phone number 2 (area code, prefix or line number), the system shall treat that part as not supplied before validating it.
  • REQ-F-083 When the area code, prefix and line number of a phone number are all not supplied, the system shall accept the phone number as omitted and skip all further checks on it.
  • REQ-F-084 If any part of a phone number is supplied but its area code is not, then the system shall flag an input error with '<Phone Number 1 or 2>: Area code must be supplied.' and go on to check the prefix.
  • REQ-F-085 If a supplied area code is not all digits, then the system shall flag an input error with '<Phone Number 1 or 2>: Area code must be A 3 digit number.' and go on to check the prefix.
  • REQ-F-086 If a supplied area code is 000, then the system shall flag an input error with '<Phone Number 1 or 2>: Area code cannot be zero' and go on to check the prefix.
  • REQ-F-087 If a supplied numeric, non-zero area code is not one of the listed North American general-purpose area codes (410 codes between '201' and '989', not every number in that range), then the system shall flag an input error with '<Phone Number 1 or 2>: Not valid North America general purpose area code'.
  • REQ-F-088 If the prefix of a phone number being checked is not supplied, then the system shall flag an input error with '<Phone Number 1 or 2>: Prefix code must be supplied.' and go on to check the line number.
  • REQ-F-089 If a supplied prefix is not all digits, then the system shall flag an input error with '<Phone Number 1 or 2>: Prefix code must be A 3 digit number.' and go on to check the line number.
  • REQ-F-090 If a supplied prefix is 000, then the system shall flag an input error with '<Phone Number 1 or 2>: Prefix code cannot be zero' and go on to check the line number, accepting any other three-digit prefix (for example 555).
  • REQ-F-091 If the line number of a phone number being checked is not supplied, then the system shall flag an input error with '<Phone Number 1 or 2>: Line number code must be supplied.'.
  • REQ-F-092 If a supplied line number is not all digits, then the system shall flag an input error with '<Phone Number 1 or 2>: Line number code must be A 4 digit number.'.
  • REQ-F-093 If a supplied line number is 0000, then the system shall flag an input error with '<Phone Number 1 or 2>: Line number code cannot be zero', accepting any other four-digit line number.
  • REQ-F-094 When more than one phone number part fails its checks, the system shall flag every failing part in error but show only the first message raised, with no later message replacing one already set.
  • REQ-F-095 When the operator enters a Social Security Number part as '*' or leaves it blank, the system shall treat that part as not supplied, and otherwise take the entered part as the proposed value.
  • REQ-F-096 If the first three SSN characters are blank, not all numeric or zero, then the system shall reject them with 'SSN: First 3 chars must be supplied.', 'SSN: First 3 chars must be all numeric.' or 'SSN: First 3 chars must not be zero.' respectively, and shall not check the other two SSN parts.
  • REQ-F-097 If the first three SSN characters are numeric and equal 666 or fall between 900 and 999, then the system shall reject them with 'SSN: First 3 chars: should not be 000, 666, or between 900 and 999'.
  • REQ-F-098 When the first three SSN characters are numeric and non-zero, the system shall require the 4th-5th characters and the last 4 characters each to be supplied, all numeric and non-zero, giving 'SSN 4th & 5th chars …' or 'SSN Last 4 chars …' with 'must be supplied.', 'must be all numeric.' or 'must not be zero.'.
  • REQ-F-099 If a valid calendar date of birth is today or later, then the system shall reject it, flag the day, month and year fields, and show 'Date of Birth:cannot be in the future ' if no earlier error message is already set.
  • REQ-F-100 If the FICO score is entered as blank or '*', then the system shall treat it as not supplied and reject it with 'FICO Score must be supplied.'.
  • REQ-F-101 If the FICO score is not all three digits, then the system shall reject it with 'FICO Score must be all numeric.', and if it is zero, the system shall reject it with 'FICO Score must not be zero.'.
  • REQ-F-102 If a numeric, non-zero FICO score is below 300 or above 850, then the system shall mark the FICO score in error and reject the input with 'FICO Score: should be between 300 and 850', accepting 300 and 850 themselves.
  • REQ-F-103 When the operator submits account changes and leaves the Account Status or Primary Card Holder entry blank or as '*', the system shall treat that entry as not supplied (low-values) rather than as a value to save.
  • REQ-F-104 If changed account details are validated and the Account Status or Primary Card Holder value is not supplied (blank, low-values or '0'), then the system shall reject the input with '<field> must be supplied.' (e.g. 'Account Status must be supplied.', 'Primary Card Holder must be supplied.') and place the cursor on that field.
  • REQ-F-105 If changed account details are validated and a supplied Account Status or Primary Card Holder value is anything other than 'Y' or 'N', then the system shall reject the input with '<field> must be Y or N.' (e.g. 'Account Status must be Y or N.', 'Primary Card Holder must be Y or N.') and place the cursor on that field.
  • REQ-F-106 If the EFT account id (10 positions) is blank, not all digits, or zero, then the system shall reject it with '<field> must be supplied.' (flag 'B'), '<field> must be all numeric.' (flag '0') or '<field> must not be zero.' (flag '0') respectively.
  • REQ-F-107 When the operator presses PF5 to confirm validated changes, the system shall read the account record and then the customer record for update.
  • REQ-F-108 If the account or customer record cannot be locked, then the system shall stop without saving and show 'Could not lock account record for update' or 'Could not lock customer record for update'.
  • REQ-F-109 When both records are locked and neither was changed by someone else since it was shown, the system shall rewrite the account master (ACCTDAT) with the new status, balance, limits, cycle credit and debit, group and the open, expiry and reissue dates as YYYY-MM-DD.
  • REQ-F-110 If the account rewrite fails, then the system shall not update the customer and shall show 'Update of record failed'.
  • REQ-F-111 When the account rewrite succeeds, the system shall rewrite the customer master (CUSTDAT) with the new name, address, phones formatted as '(aaa)bbb-cccc', SSN, government ID, date of birth as YYYY-MM-DD, EFT account, primary holder indicator and FICO score.
  • REQ-N-004 If the customer rewrite fails, then the system shall roll back the account rewrite (SYNCPOINT ROLLBACK) and show 'Update of record failed'.
  • REQ-F-112 When both rewrites succeed, the system shall mark the change as done and tell the operator the update succeeded.
  • REQ-F-113 If a save fails because the account could not be locked ('L') or the update failed ('F'), then the system shall show the message 'Changes unsuccessful. Please try again'.
  • REQ-F-114 When the operator arrives with no saved context, or comes from the main menu ('COMEN01C') for the first time, the system shall clear any previous update data and show an empty screen asking 'Enter or update id of account to update'.
  • REQ-F-115 When the operator submits the screen with any key other than PF3 after a committed ('C') or failed ('L', 'F') save, the system shall clear the update data and account number and show an empty screen asking for a new account number.
  • REQ-F-116 When the operator submits the screen with any key other than PF3, and it is not a first arrival and not the interaction after a committed or failed save, the system shall read and check the entries, decide the next step from the update state, and show the screen again.
  • REQ-F-117 The system shall accept PF5 only while validated changes await confirmation ('N') and PF12 only once account details have been fetched, and shall treat any other key, or PF5/PF12 outside those states, as Enter.
  • REQ-F-118 While details are shown, when the operator changes one or more values, the system shall check every field and set the state to 'N' with the message 'Changes validated.Press F5 to save' if no check fails, or to 'E' (changes not OK) if any check fails.
  • REQ-F-119 While details are shown, when the operator submits without changing any value, the system shall keep the details shown (state 'S') and report 'No change detected with respect to values fetched.'.
  • REQ-F-120 When the state is changes not OK ('E'), or validated changes ('N') are submitted without PF5, the system shall save nothing and show the details again for correction or confirmation.
  • REQ-F-121 When validated changes ('N') are confirmed with PF5, the system shall save them and set the state to 'L' if the account cannot be locked, 'F' if the locked update fails, 'S' (details shown again) if someone else changed the record since it was read, or 'C' otherwise.
  • REQ-F-122 When a save completes ('C'), the system shall show the message 'Changes committed to database'.

J03 Pay an account balance

Card services agent · Pay off the full balance owed on an account and have the payment recorded as a transaction.

  1. Login Screen COSGN0A: Sign in with user ID and password
  2. Main Menu COMEN1A: Choose option 10, Bill Payment
  3. Bill Payment COBIL0A: Enter the account ID and press Enter to see the current balance
  4. Bill Payment COBIL0A: Type Y to confirm the payment (or N to decline) and press Enter
  5. Main Menu COMEN1A: Press F3 to return to the main menu
2 capabilities, 23 requirements
  • Request a bill payment rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#19
  • Post a full-balance bill payment rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#20
  • REQ-N-006 When the Bill Payment transaction is started with no session data, the system shall transfer to the sign-on program (COSGN00C).
  • REQ-F-149 When the Bill Payment screen is entered for the first time from another screen, the system shall mark the session as re-entered, start with a blank screen with the cursor on the account ID, and display it.
  • REQ-F-150 When the Bill Payment screen is first entered and an account was already selected, the system shall fill in that account ID and process it as if Enter were pressed, before showing the screen.
  • REQ-F-151 When the user presses PF3 on the Bill Payment screen, the system shall return to the screen it was called from, or to the main menu (COMEN01C) when no caller is recorded.
  • REQ-F-152 When the user presses Enter the system shall process the payment request, when PF4 it shall clear all fields, and when any other key it shall show 'Invalid key pressed. Please see below...'.
  • REQ-F-153 If the account ID is blank, then the system shall show 'Acct ID can NOT be empty...', place the cursor on the account ID and make no payment.
  • REQ-F-154 If the account is looked up (confirmation 'Y', 'y' or blank) and does not exist, then the system shall show 'Account ID NOT found...' and make no payment, and on any other lookup failure show 'Unable to lookup Account...' and make no payment.
  • REQ-F-155 While no error has been flagged, when the account balance is zero or less and an account ID was entered, the system shall flag an error and show 'You have nothing to pay...'.
  • REQ-F-156 When an account ID is entered and the confirmation is blank, the system shall look up the account, show its current balance and the message 'Confirm to make a bill payment...', and post nothing (provided the balance is above zero).
  • REQ-F-157 When an account ID is entered and the confirmation is 'Y' or 'y', the system shall look up the account for update, show its balance and go on to post a payment for the full current balance.
  • REQ-F-158 When the confirmation is 'N' or 'n', the system shall clear the account ID, balance and confirmation fields, redisplay the empty screen and post nothing.
  • REQ-F-159 If the confirmation is anything other than 'Y', 'y', 'N', 'n' or blank, then the system shall show 'Invalid value. Valid values are (Y/N)...', place the cursor on the confirmation field and post nothing.
  • REQ-F-160 When the user confirms a bill payment with 'Y' or 'y' and the account has a balance to pay, the system shall look up the card linked to the account and number the new payment transaction as the highest existing transaction ID plus 1.
  • REQ-F-161 When a confirmed bill payment needs a new transaction number, the system shall position at the end of the transaction file, read the last transaction record and take its transaction ID as the latest existing number.
  • REQ-F-162 When reading back from the end of the transaction file finds no transaction, the system shall treat the latest transaction ID as zero, so the payment is given transaction ID 1.
  • REQ-F-163 If a confirmed payment's lookup of the card linked to the account finds no card link, then the system shall show 'Account ID NOT found...', or 'Unable to lookup XREF AIX file...' on any other failure.
  • REQ-F-164 When the user confirms a bill payment, the system shall record a payment for the full current account balance and reduce the account's current balance by that amount, leaving it at zero.
  • REQ-F-165 The system shall record each online payment with type '02', category 2, source 'POS TERM', description 'BILL PAYMENT - ONLINE', merchant ID 999999999, merchant name 'BILL PAYMENT', merchant city and ZIP 'N/A', the account's card number, and the current date and time as both origin and processing time.
  • REQ-F-166 When a confirmed payment is posted, the system shall write a payment transaction for the full current balance, then subtract that amount from the account balance and save the account.
  • REQ-F-167 When the bill payment transaction is written successfully, the system shall clear the account ID, balance and confirmation fields and show in green 'Payment successful. Your Transaction ID is <new ID>.'.
  • REQ-F-168 If the payment transaction ID already exists, then the system shall show 'Tran ID already exist...', and for any other write failure 'Unable to Add Bill pay Transaction...'.
  • REQ-F-169 If the payment transaction cannot be written or the card lookup fails, then the system shall still subtract the payment from the balance and save the account, so the balance is cleared without a payment on file.
  • REQ-F-170 If saving the updated account fails, then the system shall show 'Account ID NOT found...' if the account is not found, or 'Unable to Update Account...' for any other failure, with the cursor on the account ID.

J04 Find and view a transaction

Card services agent · Browse transactions page by page, or look one up by ID, and see its full details.

  1. Login Screen COSGN0A: Sign in with user ID and password
  2. Main Menu COMEN1A: Choose option 6, Transaction List
  3. List Transactions COTRN0A: Optionally enter a transaction ID to start from, then page with F7 and F8
  4. List Transactions COTRN0A: Mark a transaction with S and press Enter
  5. View Transaction COTRN1A: Read the transaction details, or enter another transaction ID and press Enter
  6. List Transactions COTRN0A: Press F5 to go back to the list
  7. Main Menu COMEN1A: Press F3 to return to the main menu
5 capabilities, 47 requirements
  • Browse and page through the transaction list rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#25
  • Select a transaction from the list to view its details rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#26
  • Transaction list access and session handling rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#27
  • Look up a single transaction rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#28
  • View a single transaction rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#29
  • REQ-F-195 When the transaction list is opened from another screen (not a re-entry), the system shall mark itself as re-entered, clear the screen, read the first page of up to 10 transactions from the start of the transaction file and display it.
  • REQ-F-196 The system shall, at the start of every transaction list interaction, clear the message line, reset its error, end-of-file and next-page indicators, set the screen to be fully redrawn, and place the cursor on the transaction ID field.
  • REQ-F-197 When the user presses a key on the redisplayed transaction list, the system shall read the screen input and then run search and selection for Enter, show the previous page for PF7, or show the next page for PF8.
  • REQ-F-198 When the Tran ID filter is blank and the user presses Enter, the system shall show the first page starting from the first transaction on file.
  • REQ-F-199 When the Tran ID filter is numeric and the user presses Enter, the system shall start the list at that transaction ID, or at the next higher ID if it does not exist.
  • REQ-F-200 If the Tran ID filter is not entirely digits across all 16 positions, then the system shall show 'Tran ID must be Numeric ...', put the cursor on the filter, keep the entry, and not build a new page.
  • REQ-F-201 When the user presses Enter without selecting a row, the system shall reset the page number to 0, build the first page (shown as page 1 if any transaction is found), and clear the filter field when no error occurred.
  • REQ-F-202 When the numeric Tran ID filter is higher than every transaction ID on file, the system shall show 'You are at the top of the page...' with no rows and page number 0.
  • REQ-F-203 When a page is built after Enter, PF3 (return from the transaction detail screen) or PF7, the system shall start with the transaction at the starting ID itself (or the next higher ID) without skipping it.
  • REQ-F-204 When a forward page is built, the system shall first blank all 10 rows, so that rows after the last transaction found stay empty.
  • REQ-F-205 When a transaction record has been retrieved for display on the list page, the system shall convert the transaction amount (TRAN-AMT) to the signed display amount (WS-TRAN-AMT) and derive the display date (WS-TRAN-DATE) as MM/DD/YY from the month, the day and the last two digits of the year of the origination timestamp (TRAN-ORIG-TS).
  • REQ-F-206 The system shall remember the transaction ID shown in row 1 as the page's first transaction ID (CDEMO-CT00-TRNID-FIRST), used as the starting point for the next PF7, and the ID in row 10 as the page's last transaction ID.
  • REQ-F-207 When a transaction is placed in the tenth row, the system shall remember its ID as the page's last transaction ID (CDEMO-CT00-TRNID-LAST), which the next PF8 starts from.
  • REQ-F-208 When all 10 rows are filled, the system shall add 1 to the page number and read one transaction ahead, setting next page available to Y if another transaction exists and to N if not.
  • REQ-F-209 When the transactions run out before 10 rows are filled, the system shall set next page available to N and add 1 to the page number only if at least one transaction was placed on the page.
  • REQ-F-210 When the end of the transactions is reached while filling the page or in the look-ahead read, the system shall show the message 'You have reached the bottom of the page...'.
  • REQ-F-211 If positioning on or reading the transaction file fails for any reason other than not found or end of file, then the system shall stop filling the page and show 'Unable to lookup transaction...'.
  • REQ-F-212 When the user presses PF8 and a next page is available, the system shall restart at the last transaction ID shown on the current page, skip that transaction so it is not repeated, and show up to the next 10 transactions in transaction ID order.
  • REQ-F-213 If the user presses PF8 when no next page is available, then the system shall redisplay the current screen without erasing it and with the message 'You are already at the bottom of the page...'.
  • REQ-F-214 When the user presses PF7 on the transaction list and the current page number is greater than 1, the system shall start reading from the first transaction ID shown on the current page, mark a next page as available, and show the previous page.
  • REQ-F-215 When the user presses PF7 and the current page number is 1 or lower, the system shall redisplay the current screen without clearing it, with the message 'You are already at the top of the page...', and still mark a next page as available.
  • REQ-F-216 When paging backward with PF7, the system shall first step back past the current page's first transaction, so that the previous page does not repeat it.
  • REQ-F-217 When paging backward, the system shall clear the ten rows and fill them from row 10 up to row 1 with the preceding transactions in descending ID order, stopping early if the start of the transaction file is reached or a read fails.
  • REQ-F-218 When all ten rows have been filled while paging backward, the system shall check for one more earlier transaction and decrease the page number by 1 if one exists and the page number is above 1, otherwise set the page number to 1.
  • REQ-F-219 When the start of the transaction file is reached before all ten rows are filled while paging backward, the system shall show the message 'You have reached the top of the page...', leave the unfilled top rows blank and leave the page number unchanged.
  • REQ-F-220 When the user presses Enter on the transaction list, the system shall take the first of the ten rows, top to bottom, whose selection field is not blank, recording that row's selection code and transaction ID (CDEMO-CT00-TRN-SEL-FLG, CDEMO-CT00-TRN-SELECTED) and ignoring any later marked rows.
  • REQ-F-221 When the taken row's selection code is 'S' or 's' and the row has a transaction ID, the system shall pass that transaction ID to the Transaction Detail program (COTRN01C) as a fresh entry (context 0), recording the list screen (CT00, COTRN00C) as the caller.
  • REQ-F-222 If the taken row's selection code is anything other than 'S' or 's', then the system shall show the message 'Invalid selection. Valid value is S', place the cursor on the transaction ID search field and redisplay the list.
  • REQ-F-223 When Enter is processed and none of the 10 list rows has a selection code, the system shall clear any remembered selection code and selected transaction ID, so no transaction is opened and the list is redisplayed.
  • REQ-N-008 When the transaction list program (COTRN00C) is started without any session data (no commarea), the system shall transfer the user to the sign-on program 'COSGN00C'.
  • REQ-N-009 The system shall show transactions from every account and card in transaction-ID order to any signed-on user, regular or admin, without limiting them to the user's own account or checking user type.
  • REQ-F-224 When the user presses PF3 on the transaction list, the system shall return the user to the main menu program 'COMEN01C'.
  • REQ-F-225 If the user presses any key other than Enter, PF3, PF7 or PF8 on the transaction list, then the system shall redisplay the screen with the message 'Invalid key pressed. Please see below...' and the cursor on the transaction ID field.
  • REQ-N-010 The system shall end every transaction list interaction by waiting for the next user input under transaction 'CT00', keeping the session data (page position, selection, user) for the next screen.
  • REQ-F-226 While the caller's data is present and the program is not being re-entered, when the transaction view is opened, the system shall reset the screen, position the cursor on the transaction ID entry field, pre-fill the ID and perform the transaction lookup where a transaction was pre-selected on a prior screen (CDEMO-CT01-TRN-SELECTED not spaces or low-values), and then display the transaction view screen.
  • REQ-F-227 If the entered transaction ID (TRNIDINI) is spaces or low-values, then the system shall flag an error, show the message 'Tran ID can NOT be empty...' and redisplay the screen with the cursor on the transaction ID field.
  • REQ-F-228 When the user presses Enter on the Transaction View screen, the system shall read the entered Transaction ID and look up the transaction.
  • REQ-F-229 When a Transaction ID is entered and Enter is pressed, or the user arrives from the transaction list with a transaction selected, the system shall clear the previously shown details and look up the transaction record with that ID in the transaction file (TRANSACT).
  • REQ-F-230 If the user asks to view a transaction and the Transaction ID is blank, then the system shall not look anything up and shall redisplay the screen with the message 'Tran ID can NOT be empty...'.
  • REQ-F-231 When the transaction is found, the system shall show its transaction ID, card number, type code, category code, source, amount (signed), description, original and processed timestamps, and merchant ID, name, city and ZIP.
  • REQ-F-232 The system shall show the transaction amount on the Transaction View with a leading sign, 8 digits before the decimal point and 2 after (format +99999999.99).
  • REQ-F-233 If no transaction exists with the entered ID, then the system shall redisplay the Transaction View with the message 'Transaction ID NOT found...' and the cursor on the Transaction ID field.
  • REQ-N-011 If reading the transaction file fails for any reason other than not found, then the system shall log the response and reason codes and redisplay the Transaction View with the message 'Unable to lookup Transaction...'.
  • REQ-F-234 When the user presses PF3 on the Transaction View, the system shall return to the program that opened it, or to the main menu (COMEN01C) if no calling program is known.
  • REQ-F-235 When the user presses PF4 on the Transaction View, the system shall clear the Transaction ID, all transaction and merchant fields and the message, put the cursor on the Transaction ID field and redisplay the empty screen.
  • REQ-F-236 When the user presses PF5 on the Transaction View, the system shall go to the transaction list (COTRN00C).
  • REQ-F-237 If the user presses any key other than Enter, PF3, PF4 or PF5 on the Transaction View, then the system shall redisplay the screen with the message 'Invalid key pressed. Please see below...'.

J05 Add a transaction

Card services agent · Record a new transaction against an account or card, with every field checked before it is added.

  1. Login Screen COSGN0A: Sign in with user ID and password
  2. Main Menu COMEN1A: Choose option 8, Transaction Add
  3. Add Transaction COTRN2A: Enter the account or card number and the transaction details (F5 copies the last transaction)
  4. Add Transaction COTRN2A: Correct any field the error message points to
  5. Add Transaction COTRN2A: Type Y to confirm and press Enter to add the transaction
  6. Main Menu COMEN1A: Press F3 to return to the main menu
6 capabilities, 65 requirements
  • Open and navigate the Add Transaction screen rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#30
  • Identify the account and card for a new transaction rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#31
  • Validate new transaction details rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#32
  • Record a confirmed new transaction rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#33
  • Confirm a transaction before it is added rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#34
  • Validate a date against a format mask rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#35
  • REQ-N-012 If the transaction add program is started without any session data, then the system shall send the user to the sign-on program 'COSGN00C'.
  • REQ-F-238 When the transaction add screen is entered for the first time (not a re-entry), the system shall clear the message, show a blank form with the cursor on Account ID, and mark the session so the next input counts as a re-entry.
  • REQ-F-239 When the transaction add screen is entered for the first time and the caller passed a selected value (CDEMO-CT02-TRN-SELECTED), the system shall put that value in Card Number and process it at once as if Enter were pressed.
  • REQ-F-240 When the user presses PF3 on the transaction add screen, the system shall return to the program that called it, or to the main menu 'COMEN01C' if no caller is recorded.
  • REQ-F-241 When the user presses Enter on the transaction add screen, the system shall check the entries and add the transaction if confirmed.
  • REQ-F-242 When the user presses PF4 on the transaction add screen, the system shall clear all fields and redisplay the form.
  • REQ-F-243 When the operator presses PF5 to copy data from the last transaction, the system shall validate the keys, retrieve the most recent transaction on file, prefill the form's data fields with its details when no error is flagged, and then process them as for Enter.
  • REQ-F-244 If the user presses any key other than Enter, PF3, PF4 or PF5 on the transaction add screen, then the system shall show 'Invalid key pressed. Please see below...'.
  • REQ-F-245 When the operator presses Enter or PF5 on the Add Transaction screen, or opens it with a transaction already selected from the transaction list, the system shall first identify the account and card for the new transaction using the account ID and card number fields.
  • REQ-F-246 If both the account ID and the card number are blank, then the system shall show 'Account or Card Number must be entered...', put the cursor on the account ID and save nothing.
  • REQ-F-247 If an account ID is entered and it is not all digits, then the system shall reject the entry, show 'Account ID must be Numeric...', put the cursor on the account ID and save nothing.
  • REQ-F-248 When a numeric account ID is entered, the system shall look the account up in the card cross-reference by account (CXACAIX) and fill the card number with the card linked to it, replacing any card number the operator typed.
  • REQ-F-249 If the entered account ID is not in the card cross-reference, then the system shall show 'Account ID NOT found...', put the cursor on the account ID and save nothing.
  • REQ-N-013 If looking up the account in the card cross-reference fails for any reason other than not found, then the system shall write the response codes to the system log, show 'Unable to lookup Acct in XREF AIX file...' and save nothing.
  • REQ-F-250 If the account ID is blank and a card number is entered that is not all digits, then the system shall reject the entry, show 'Card Number must be Numeric...', put the cursor on the card number and save nothing.
  • REQ-F-251 When the account ID is blank and a numeric card number is entered, the system shall look the card up in the card cross-reference (CCXREF) and fill the account ID with the account linked to that card.
  • REQ-F-252 If the entered card number is not in the card cross-reference, then the system shall show 'Card Number NOT found...', put the cursor on the card number and save nothing.
  • REQ-N-014 If looking up the card in the card cross-reference fails for any reason other than not found, then the system shall write the response codes to the system log, show 'Unable to lookup Card # in XREF file...' and save nothing.
  • REQ-F-253 When Enter is pressed on the Add Transaction screen and the account or card number has passed its checks, the system shall check the transaction fields for blanks in this order: Type CD, Category CD, Source, Description, Amount, Orig Date, Proc Date, Merchant ID, Merchant Name, Merchant City, Merchant Zip, and report only the first blank field.
  • REQ-F-254 If a mandatory transaction field is blank (spaces or low-values), then the system shall show that field's message, put the cursor on that field, redisplay the screen and save nothing.
  • REQ-F-255 If the transaction type code is blank, then the system shall show 'Type CD can NOT be empty...' with the cursor on the type code (TTYPCDI).
  • REQ-F-256 If the type code is entered and the category code is blank, then the system shall show 'Category CD can NOT be empty...' with the cursor on the category code (TCATCDI).
  • REQ-F-257 If the type and category codes are entered and the source is blank, then the system shall show 'Source can NOT be empty...' with the cursor on the source (TRNSRCI).
  • REQ-F-258 If type, category and source are entered and the description is blank, then the system shall show 'Description can NOT be empty...' with the cursor on the description (TDESCI).
  • REQ-F-259 If type, category, source and description are entered and the amount is blank, then the system shall show 'Amount can NOT be empty...' with the cursor on the amount (TRNAMTI).
  • REQ-F-260 If all fields up to the amount are entered and the origination date is blank, then the system shall show 'Orig Date can NOT be empty...' with the cursor on the origination date (TORIGDTI).
  • REQ-F-261 If all fields up to the origination date are entered and the processing date is blank, then the system shall show 'Proc Date can NOT be empty...' with the cursor on the processing date (TPROCDTI).
  • REQ-F-262 If all fields up to the processing date are entered and the merchant ID is blank, then the system shall show 'Merchant ID can NOT be empty...' with the cursor on the merchant ID (MIDI).
  • REQ-F-263 If all fields up to the merchant ID are entered and the merchant name is blank, then the system shall show 'Merchant Name can NOT be empty...' with the cursor on the merchant name (MNAMEI).
  • REQ-F-264 If all fields up to the merchant name are entered and the merchant city is blank, then the system shall show 'Merchant City can NOT be empty...' with the cursor on the merchant city (MCITYI).
  • REQ-F-265 If all fields up to the merchant city are entered and the merchant zip is blank, then the system shall show 'Merchant Zip can NOT be empty...' with the cursor on the merchant zip (MZIPI).
  • REQ-F-266 When all eleven mandatory transaction fields are entered, the system shall pass the blank check and go on to the numeric and format checks.
  • REQ-F-267 If the transaction type code is not numeric, then the system shall show 'Type CD must be Numeric...' with the cursor on the type code and save nothing.
  • REQ-F-268 If the type code is numeric and the category code is not numeric, then the system shall show 'Category CD must be Numeric...' with the cursor on the category code and save nothing.
  • REQ-F-269 If the amount entered does not start with '-' or '+', followed by eight digits, a '.', and two digits, then the system shall reject it with 'Amount should be in format -99999999.99' and save nothing.
  • REQ-F-270 When the amount passes the format check, the system shall convert it to a signed number with two decimals, show it back in the form +99999999.99, and store that value as the transaction amount when the transaction is added.
  • REQ-F-271 If the origination date is not in the form YYYY-MM-DD (four digits, '-', two digits, '-', two digits), then the system shall reject the entry, show 'Orig Date should be in format YYYY-MM-DD' and save nothing.
  • REQ-F-272 If the processing date is not in the form YYYY-MM-DD, then the system shall reject the entry, show 'Proc Date should be in format YYYY-MM-DD' and save nothing.
  • REQ-F-273 If the origination date has the right form but the date-check service (CSUTLDTC) does not confirm it as a real calendar date (severity not '0000' and message number not '2513'), then the system shall show 'Orig Date - Not a valid date...' and save nothing.
  • REQ-F-274 If the origination date is accepted but the date-check service (CSUTLDTC) does not confirm the processing date as a real calendar date (severity not '0000' and message number not '2513'), then the system shall show 'Proc Date - Not a valid date...' and save nothing.
  • REQ-F-275 If all earlier checks pass and the Merchant ID is not entirely digits across its 9 positions, then the system shall reject the entry, show 'Merchant ID must be Numeric...' and put the cursor on Merchant ID.
  • REQ-F-276 The system shall stop the Transaction Add checks at the first failed check and show only that message, so a later check is made only after every earlier check has passed.
  • REQ-F-277 When every Transaction Add field passes validation and Confirm is 'Y' or 'y', the system shall add the transaction.
  • REQ-F-278 When a confirmed transaction is added, the system shall find the highest transaction number on the transaction file by reading backward from the end, and give the new transaction that number plus 1 as a 16-digit, zero-padded number.
  • REQ-F-279 When reading backward finds no transaction on the file (end of file), the system shall count the highest number as zero, so the new transaction is numbered 0000000000000001.
  • REQ-F-280 If the lookup of the highest transaction number fails, then the system shall add nothing and show 'Transaction ID NOT found...' when the start position is not found, or 'Unable to lookup Transaction...' for any other error, with the cursor on Account ID.
  • REQ-F-281 When a confirmed transaction has been given its new number, the system shall write a new record to the transaction file (TRANSACT) with that number, the entered type, category, source, description, amount, merchant ID, name, city and zip, origination and processing dates, and the card number found for the entered account or card.
  • REQ-F-282 When the new transaction is written successfully, the system shall clear every field and show in green 'Transaction added successfully. Your Tran ID is <number>.'
  • REQ-F-283 If writing the new transaction fails because the number already exists, then the system shall show 'Tran ID already exist...' with the cursor on Account ID and keep the entries.
  • REQ-N-015 If writing the new transaction fails for any other reason, then the system shall show 'Unable to Add Transaction...' with the cursor on Account ID and log the response codes.
  • REQ-F-284 When every field passes validation and Confirm is 'N', 'n' or left blank, the system shall redisplay the Transaction Add screen with 'Confirm to add this transaction...' and the cursor on Confirm, and add nothing.
  • REQ-F-285 If every field passes validation and Confirm holds any value other than 'Y', 'N', 'n' or blank, then the system shall redisplay the Transaction Add screen with 'Invalid value. Valid values are (Y/N)...' and the cursor on Confirm, and add nothing.
  • REQ-F-286 The system shall pass the caller's 10-character date and 10-character format mask to the date conversion service (CEEDAYS) and record the returned severity and message number as 4-digit values in its result.
  • REQ-F-287 The system shall return an 80-character result made of the severity, 'Mesg Code:', the message number, the result text, 'TstDate:' with the tested date and 'Mask used:' with the mask, and shall set the program return code to the severity.
  • REQ-F-288 When the date conversion service returns an all-zero feedback token for the date and mask it was given, the system shall set the result text to 'Date is valid'.
  • REQ-F-289 If the date conversion service reports insufficient data (feedback X'000309CB59C3C5C5', message 2507), then the system shall set the result text to 'Insufficient'.
  • REQ-F-290 If the date conversion service reports a bad date value (feedback X'000309CC59C3C5C5', severity 3, message 2508), then the system shall set the result text to 'Datevalue error'.
  • REQ-F-291 If the date conversion service reports an invalid era (feedback X'000309CD59C3C5C5', message 2509), then the system shall set the result text to 'Invalid Era'.
  • REQ-F-292 If the date conversion service reports an unsupported date range (feedback X'000309D159C3C5C5', message 2513), then the system shall set the result text to 'Unsupp. Range'.
  • REQ-F-293 If the date conversion service reports an invalid month (feedback X'000309D559C3C5C5', message 2517), then the system shall set the result text to 'Invalid month'.
  • REQ-F-294 If the date conversion service reports a bad format mask (feedback X'000309D659C3C5C5', message 2518), then the system shall set the result text to 'Bad Pic String'.
  • REQ-F-295 If the date conversion service reports a year-in-era of zero (feedback X'000309D959C3C5C5', message 2521), then the system shall set the result text to 'YearInEra is 0'.
  • REQ-F-296 If the date conversion service reports that the date contains non-numeric characters, then the system shall return the result text 'Nonnumeric data' together with the service's severity and message code, so the caller treats the date as invalid.
  • REQ-F-297 If the date conversion feedback matches none of the recognised tokens, then the system shall set the result text to 'Date is invalid'.
  • REQ-F-298 If the returned severity is not '0000' and the message number is not '2513', then the calling screens (report date range, transaction add) shall treat the date as invalid and show their error, for example 'Start Date - Not a valid date...' or 'Orig Date - Not a valid date...'.

J06 Request a transaction report

Card services agent · Submit a monthly, yearly or custom-period transaction report for printing.

  1. Login Screen COSGN0A: Sign in with user ID and password
  2. Main Menu COMEN1A: Choose option 9, Transaction Reports
  3. Transaction Reports CORPT0A: Choose Monthly, Yearly or Custom, entering start and end dates for a custom period
  4. Transaction Reports CORPT0A: Correct the dates if an error is shown
  5. Transaction Reports CORPT0A: Type Y to confirm and press Enter to submit the report
  6. Main Menu COMEN1A: Press F3 to return to the main menu
7 capabilities, 43 requirements
  • Set report period for transaction reports rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#21
  • Reach and move around the transaction report screen rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#22
  • Choose a report type and a valid custom period rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#23
  • Confirm and submit a transaction report for printing rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#24
  • Validate a date against a format mask rec/CustomerAccountSelf-Service/OnlineAccountandTransactionManagement#35
  • Extract transactions for a reporting period rec/CustomerAccountSelf-Service/DailyTransactionProcessingandReporting#15
  • Run the transaction report job rec/CustomerAccountSelf-Service/DailyTransactionProcessingandReporting#16
  • REQ-F-171 When the monthly option is blank and the yearly option is marked, the system shall set the report period from January 1 to December 31 of the current year and submit the report job.
  • REQ-F-172 When the operator selects the monthly report option, the system shall set the report period from the first to the last day of the current month and submit the report job.
  • REQ-N-007 When the transaction report program (CR00) starts with no session data, the system shall send the user to the sign-on screen (COSGN00C).
  • REQ-F-173 When the user first arrives at the transaction report screen from another screen, the system shall show an empty report screen with the cursor on Monthly.
  • REQ-F-174 When the user presses PF3 on the transaction report screen, the system shall return to the main menu (COMEN01C).
  • REQ-F-175 When the user presses Enter on the transaction report screen, the system shall process the report request.
  • REQ-F-176 If the user presses any key other than Enter or PF3 on the transaction report screen, then the system shall show 'Invalid key pressed. Please see below...' with the cursor on Monthly.
  • REQ-F-177 When more than one report type is marked, the system shall process only the first in the order Monthly, Yearly, Custom and ignore the others.
  • REQ-F-178 If none of Monthly, Yearly or Custom is marked, then the system shall show 'Select a report type to print report...' with the cursor on Monthly and submit nothing.
  • REQ-F-179 If a Custom report is requested and a start or end month, day or year is blank, then the system shall check the parts in the order start month, start day, start year, end month, end day, end year, show the message for the first blank part, put the cursor on that part and submit nothing.
  • REQ-F-180 When all custom date parts are entered, the system shall convert each month and day to a two-digit number and each year to a four-digit number before checking them.
  • REQ-F-181 If a custom start or end month is above '12' or not numeric, then the system shall show 'Start Date - Not a valid Month...' or 'End Date - Not a valid Month...', put the cursor on that month and submit nothing.
  • REQ-F-182 If a custom start or end day is above '31' or not numeric, then the system shall show 'Start Date - Not a valid Day...' or 'End Date - Not a valid Day...', put the cursor on that day and submit nothing.
  • REQ-F-183 If a custom start or end year is not numeric, then the system shall show 'Start Date - Not a valid Year...' or 'End Date - Not a valid Year...', put the cursor on that year and submit nothing.
  • REQ-F-184 If the custom start date, checked as YYYY-MM-DD by the date utility (CSUTLDTC), is not a real calendar date, then the system shall show 'Start Date - Not a valid date...', put the cursor on the start month and submit nothing, while accepting a date the utility reports only as outside its supported range (message number '2513').
  • REQ-F-185 If the custom end date, checked as YYYY-MM-DD by the date utility (CSUTLDTC), is not a real calendar date, then the system shall show 'End Date - Not a valid date...', put the cursor on the end month and submit nothing, while accepting a date reported only as outside the supported range (message number '2513').
  • REQ-F-186 When a Custom report's dates pass every check, the system shall use the entered start and end dates as the report period, name the report 'Custom' and go on to submit the report job.
  • REQ-F-187 When a report request has passed its checks and the Confirm field is blank, the system shall show 'Please confirm to print the <report name> report...' (for example Monthly, Yearly or Custom), put the cursor on Confirm and submit nothing.
  • REQ-F-188 When the Confirm field is 'Y' or 'y', the system shall submit the report job (TRNRPT00) to the batch job queue, clear the screen and show '<report name> report submitted for printing ...' in green.
  • REQ-F-189 When the Confirm field is 'N' or 'n', the system shall clear all entry fields, submit nothing, and show the screen again with no message and the cursor on Monthly.
  • REQ-F-190 If the Confirm field holds any value other than 'Y', 'y', 'N' or 'n', then the system shall show '"<value>" is not a valid value to confirm...', put the cursor on Confirm and submit nothing.
  • REQ-F-191 When the user confirms a report request with 'Y' or 'y', the system shall put the report start and end dates into the job's selection parameters (PARM-START-DATE, PARM-END-DATE) and date card (DATEPARM) as 'YYYY-MM-DD YYYY-MM-DD'.
  • REQ-F-192 When the request is confirmed, the system shall write the job stream to the job queue 'JOBS' one 80-character line at a time, from the first line up to and including the '/*EOF' line (or a blank line), and never more than 1000 lines.
  • REQ-F-193 If writing a line of the report job to the job queue 'JOBS' fails, then the system shall stop writing further lines and show 'Unable to Write TDQ (JOBS)...' with the cursor on the Monthly field.
  • REQ-F-194 When a report job has been submitted without error, the system shall clear all entry fields and show in green '<report name> report submitted for printing ...' with the cursor on the Monthly field.
  • REQ-F-286 The system shall pass the caller's 10-character date and 10-character format mask to the date conversion service (CEEDAYS) and record the returned severity and message number as 4-digit values in its result.
  • REQ-F-287 The system shall return an 80-character result made of the severity, 'Mesg Code:', the message number, the result text, 'TstDate:' with the tested date and 'Mask used:' with the mask, and shall set the program return code to the severity.
  • REQ-F-288 When the date conversion service returns an all-zero feedback token for the date and mask it was given, the system shall set the result text to 'Date is valid'.
  • REQ-F-289 If the date conversion service reports insufficient data (feedback X'000309CB59C3C5C5', message 2507), then the system shall set the result text to 'Insufficient'.
  • REQ-F-290 If the date conversion service reports a bad date value (feedback X'000309CC59C3C5C5', severity 3, message 2508), then the system shall set the result text to 'Datevalue error'.
  • REQ-F-291 If the date conversion service reports an invalid era (feedback X'000309CD59C3C5C5', message 2509), then the system shall set the result text to 'Invalid Era'.
  • REQ-F-292 If the date conversion service reports an unsupported date range (feedback X'000309D159C3C5C5', message 2513), then the system shall set the result text to 'Unsupp. Range'.
  • REQ-F-293 If the date conversion service reports an invalid month (feedback X'000309D559C3C5C5', message 2517), then the system shall set the result text to 'Invalid month'.
  • REQ-F-294 If the date conversion service reports a bad format mask (feedback X'000309D659C3C5C5', message 2518), then the system shall set the result text to 'Bad Pic String'.
  • REQ-F-295 If the date conversion service reports a year-in-era of zero (feedback X'000309D959C3C5C5', message 2521), then the system shall set the result text to 'YearInEra is 0'.
  • REQ-F-296 If the date conversion service reports that the date contains non-numeric characters, then the system shall return the result text 'Nonnumeric data' together with the service's severity and message code, so the caller treats the date as invalid.
  • REQ-F-297 If the date conversion feedback matches none of the recognised tokens, then the system shall set the result text to 'Date is invalid'.
  • REQ-F-298 If the returned severity is not '0000' and the message number is not '2513', then the calling screens (report date range, transaction add) shall treat the date as invalid and show their error, for example 'Start Date - Not a valid date...' or 'Orig Date - Not a valid date...'.
  • REQ-F-074 The system shall first copy every record of the transaction master (AWS.M2.CARDDEMO.TRANSACT.VSAM.KSDS) into a new generation of the transaction backup (AWS.M2.CARDDEMO.TRANSACT.BKUP) of 350-byte records, cataloged on success and discarded on failure.
  • REQ-F-075 When the transaction backup for the run has been created, the system shall keep only transactions whose processing date (TRAN-PROC-DT) is within the report date range inclusive, sort them ascending by card number, and write them to a new generation of the daily transaction extract (AWS.M2.CARDDEMO.TRANSACT.DALY).
  • REQ-F-077 When the run is requested from the online report screen, the system shall use the start and end dates of that request as the date range.
  • REQ-F-080 When the daily transaction extract for the run has been created, the system shall run the report program (CBTRN03C) against that extract and the card cross-reference, transaction type, transaction category and report date parameter files, and write a new generation of the transaction report (AWS.M2.CARDDEMO.TRANREPT) of 133-byte lines.
  • REQ-F-081 When the report is requested from the online report screen, the system shall take the report date parameters from the dates entered on that request instead of the stored date parameter file.

Customer Data Setup

J07 Find and view a card

Card services agent · Find a caller's card in the card list by account or card number and check its embossed name, status and expiry date.

  1. Login Screen COSGN0A: Sign in with user ID and password.
  2. Main Menu COMEN1A: Choose option 3, Credit Card List.
  3. List Credit Cards CCRDLIA: Enter the caller's account number and/or card number to filter the list, and page forward (F8) or back (F7) if needed; correct the filter if it is rejected.
  4. List Credit Cards CCRDLIA: Type S next to the card and press Enter.
  5. View Credit Card Detail CCRDSLA: Read the card's name on card, active status and expiry date.
  6. List Credit Cards CCRDLIA: Press F3 to go back to the card list, which starts again from page 1.
  7. Main Menu COMEN1A: Press F3 to return to the main menu.
5 capabilities, 46 requirements
  • Browse and page the card list rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#1
  • Filter the card list by account and card number rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#2
  • Select a card to view or update rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#3
  • Search and view card details rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#4
  • Enter and leave the card detail screen rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#5
  • REQ-F-001 When the card list is started from the main menu, the system shall show the first 7 cards from the beginning of the card file.
  • REQ-F-002 When the card list is started from another program with context 'enter' (from main menu option 3, or on return from card detail or card update), the system shall clear the saved first and last card positions, set the page to 1 and the last-page flag to 'not shown', and not read any screen input.
  • REQ-F-003 When the user arrives with PF3 from another program (such as leaving card detail or card update), or the list is re-entered from another program, the system shall reset the session to page 1 as a regular user and list the cards from the beginning of the card file.
  • REQ-F-004 While the card list fills a page going forward, when a card record passes the account and card-number filters, the system shall add its card number, account number and active status as the next row and, if it is the first row and the page number is 0, set the page number to 1.
  • REQ-F-005 When a page reaches 7 cards, the system shall stop filling the page and read one more card record ahead, without applying the filters, to decide whether a next page exists.
  • REQ-F-006 When the look-ahead read after a full page finds another card record, the system shall set the next page indicator to 'Y' and remember that card as the start of the next page.
  • REQ-F-007 When a page is filled with the maximum of 7 cards and reading one card further reaches the end of the card file, the system shall record that no next page exists and, if no other message is set, show 'NO MORE RECORDS TO SHOW'.
  • REQ-F-008 When the end of the card file is reached before the page holds 7 cards, the system shall stop reading, record that no next page exists, and show 'NO MORE RECORDS TO SHOW' if no other message is set.
  • REQ-F-009 When the end of the card file is reached on page 1 with no card listed, the system shall show 'NO RECORDS FOUND FOR THIS SEARCH CONDITION.' instead of 'NO MORE RECORDS TO SHOW'.
  • REQ-F-010 When there is no input error and the user presses PF8 while a next page exists ('Y'), the system shall add one to the page number and list cards starting from the card found by the look-ahead read after the last card shown.
  • REQ-F-011 When there is no input error, exit, page change or valid selection (for example Enter with nothing selected, or PF8 with no next page), the system shall redisplay cards, applying any filters, starting from the first card of the page currently shown.
  • REQ-F-012 When there is no input error and the user presses PF7 while on page 1, the system shall redisplay page 1 starting from its first card with the message 'NO PREVIOUS PAGES TO DISPLAY'.
  • REQ-F-013 When there is no input error and the user presses PF7 while not on page 1, the system shall subtract one from the page number and read backward from the first card of the current page, skipping that card itself.
  • REQ-F-014 While reading backward, the system shall place each card that passes the account and card-number filters into the rows from row 7 up to row 1, stop when row 1 is filled, and make the card in row 1 the new first card of the page.
  • REQ-F-015 When the user pages backward, the system shall set the next page indicator to 'Y' and remember the first card of the page just left as the start of the next page, so that PF8 returns to that page.
  • REQ-F-016 When the user presses any key other than PF8, the system shall reset the last-page flag to 'not shown'.
  • REQ-F-017 When the user presses PF8 on the last page for the first time, the system shall show the page again with the instruction 'TYPE S FOR DETAIL, U TO UPDATE ANY RECORD' and remember that the last page has been shown.
  • REQ-F-018 When the user presses PF8 again on a last page that has already been shown, the system shall redisplay that page with the message 'NO MORE PAGES TO DISPLAY'.
  • REQ-F-019 The system shall show 'TYPE S FOR DETAIL, U TO UPDATE ANY RECORD' on the card list in every case not otherwise covered, except when the message is 'NO RECORDS FOUND FOR THIS SEARCH CONDITION.' or a filter is in error.
  • REQ-F-020 When the user presses PF3 and the originating program is the card list, the system shall transfer control to the main menu program ('COMEN01C') with the shared context, ending the card list.
  • REQ-F-021 When the account filter or card filter is left blank or all zeros, the system shall treat that filter as not supplied and not filter on that field.
  • REQ-F-022 If the card filter supplied is non-numeric and no earlier error exists, then the system shall reject it with 'CARD ID FILTER,IF SUPPLIED MUST BE A 16 DIGIT NUMBER'.
  • REQ-F-023 If the account filter supplied is non-numeric, then the system shall reject it with 'ACCOUNT FILTER,IF SUPPLIED MUST BE A 11 DIGIT NUMBER' and protect the selection rows.
  • REQ-F-024 When a numeric account filter or card filter is submitted, the system shall accept and save that account number or card number.
  • REQ-F-025 When a valid account filter is entered, the system shall list only cards whose account number equals the filter.
  • REQ-F-026 When a valid card number filter is entered, the system shall list only the card with that number, and when both filters are entered, the system shall list a card only if it matches both.
  • REQ-F-027 If an account or card filter entered is invalid, then the system shall redisplay the list screen with only the filter error message and no instruction line, re-reading the cards only when both filters are valid or blank.
  • REQ-F-028 If the filters are valid and the operator selects more than one row with 'S' or 'U', then the system shall reject the selection with 'PLEASE SELECT ONLY ONE RECORD TO VIEW OR UPDATE' and mark the affected rows in error.
  • REQ-F-029 If the filters are valid and the operator enters a code other than 'S', 'U' or blank, then the system shall reject it with 'INVALID ACTION CODE' and mark the affected rows in error.
  • REQ-F-030 When the filters are valid and a row is selected, the system shall record the selected row.
  • REQ-F-031 If the selection fails a check, then the system shall redisplay the list screen with the error message.
  • REQ-F-032 When the user types 'S' against one card row and presses Enter with no input error, the system shall transfer to card detail (COCRDSLC) passing that row's account and card number, with the card list as the previous program and context 'enter'.
  • REQ-F-044 When a card lookup is made, the system shall read the card master (CARDDAT) by the 16-digit card number only, and shall not check that the card belongs to the account entered.
  • REQ-F-045 When the card is found, the system shall show ' Displaying requested details' with the card's embossed name, expiry month, expiry year and active status.
  • REQ-F-046 If no card exists with the requested card number, then the system shall reject the search, show both the account and the card number in red, and show 'Did not find cards for this search condition'.
  • REQ-F-047 If reading the card master fails for any reason other than not found, then the system shall reject the search, show the account in red and show 'File Error: READ on CARDDAT returned RESP <code>,RESP2 <code>'.
  • REQ-F-048 When the card detail screen is shown and no information message has been set, the system shall show the information message 'Please enter Account and Card Number'.
  • REQ-F-049 The system shall show the current error message (if any) on the error line and the information message on the information line of the card detail screen.
  • REQ-F-050 When the card detail screen is shown with session details, the system shall show the saved account number and card number, leaving a field empty when its saved value is zero.
  • REQ-F-051 When the card detail screen was reached from the card list (last screen COCRDLI, caller COCRDLIC), the system shall show the account and card fields as protected (not editable) in the default colour, and otherwise shall leave them editable.
  • REQ-F-052 If a search field fails its check, then the system shall show that field in red, and show '*' in red in a field left blank on resubmission, even if the fields are protected.
  • REQ-F-053 The system shall place the cursor on the account field when it is invalid or blank, otherwise on the card field when that is invalid or blank, and otherwise on the account field.
  • REQ-F-056 When the card detail program is entered for the first time from the card list (COCRDLIC) and PF3 was not pressed, the system shall use the account and card number passed by the list as already valid, without checking them again, then look up the card and show its details.
  • REQ-F-057 When the user presses PF3 (or PF15) on the card detail screen, the system shall transfer control to the program and transaction that called it (for example the card list COCRDLIC with transaction CCLI), or to the main menu COMEN01C with transaction CM00 when no caller is recorded.
  • REQ-F-058 When control leaves the card detail screen on PF3, the system shall pass the shared session details showing COCRDSLC / CCDL as the sender, the user type as regular user ('U'), the last screen as COCRDSL / CCRDSLA, and the next program's entry as a first entry.
  • REQ-N-001 The system shall mark every card detail screen it sends as awaiting re-entry and return under transaction CCDL, so that the user's next action is treated as a re-entry.

J08 Update a card

Card services agent · Change a card's embossed name, active status or expiry date after confirming the caller, and save it safely.

  1. Login Screen COSGN0A: Sign in with user ID and password.
  2. Main Menu COMEN1A: Choose option 3, Credit Card List.
  3. List Credit Cards CCRDLIA: Filter by the caller's account or card number, type U next to the card and press Enter.
  4. Update Credit Card Details CCRDUPA: Check the card details shown, change the name on card, active flag (Y/N) or expiry month/year, and press Enter to have the changes checked.
  5. Update Credit Card Details CCRDUPA: Fix any field the system rejects and press Enter again (or press F12 to discard the edits).
  6. Update Credit Card Details CCRDUPA: Press F5 to confirm and save, and read the result message.
  7. List Credit Cards CCRDLIA: Press F3 to go back to the card list.
  8. Main Menu COMEN1A: Press F3 to return to the main menu.
9 capabilities, 44 requirements
  • Browse and page the card list rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#1
  • Filter the card list by account and card number rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#2
  • Select a card to view or update rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#3
  • Detect unchanged card details on update rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#6
  • Find and show a card for update rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#7
  • Edit and validate card details rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#8
  • Confirm and save card changes rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#9
  • Leave or restart card update rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#10
  • Save card changes rec/CustomerDataSetup/CreditCardListDetailViewandUpdate#11
  • REQ-F-002 When the card list is started from another program with context 'enter' (from main menu option 3, or on return from card detail or card update), the system shall clear the saved first and last card positions, set the page to 1 and the last-page flag to 'not shown', and not read any screen input.
  • REQ-F-003 When the user arrives with PF3 from another program (such as leaving card detail or card update), or the list is re-entered from another program, the system shall reset the session to page 1 as a regular user and list the cards from the beginning of the card file.
  • REQ-F-019 The system shall show 'TYPE S FOR DETAIL, U TO UPDATE ANY RECORD' on the card list in every case not otherwise covered, except when the message is 'NO RECORDS FOUND FOR THIS SEARCH CONDITION.' or a filter is in error.
  • REQ-F-024 When a numeric account filter or card filter is submitted, the system shall accept and save that account number or card number.
  • REQ-F-025 When a valid account filter is entered, the system shall list only cards whose account number equals the filter.
  • REQ-F-026 When a valid card number filter is entered, the system shall list only the card with that number, and when both filters are entered, the system shall list a card only if it matches both.
  • REQ-F-030 When the filters are valid and a row is selected, the system shall record the selected row.
  • REQ-F-033 When the user types 'U' against one card row and presses Enter with no input error, the system shall transfer to card update (COCRDUPC) passing that row's account and card number, with the card list as the previous program and context 'enter'.
  • REQ-F-059 When the edited card data equals the fetched data ignoring case, the system shall set the no-change message, mark all detail fields valid and skip detailed edits.
  • REQ-F-060 While the update stage is validated ('N') or committed ('C'), the system shall mark all detail fields valid and skip detailed edits.
  • REQ-F-064 When the card update screen is redisplayed (not a first entry), the system shall show the account number and card number search keys, leaving each one blank when its value is zero.
  • REQ-F-073 If the card number is not on the card file, then the system shall flag both search keys as in error, show 'Did not find cards for this search condition' (unless an earlier message is already set), and keep the search screen.
  • REQ-F-074 If the card file read fails for any other reason, then the system shall flag an input error and show 'File Error: READ on CARDDAT returned RESP <code>' with the response codes.
  • REQ-F-075 When the requested card is found on the card file, the system shall keep as the card's original details the embossed name converted to upper case, the expiry year, month and day taken from the stored expiry date (positions 1-4, 6-7 and 9-10), the active status and the CVV code.
  • REQ-F-076 While the card details have just been fetched and are being shown unchanged (state 'S'), the system shall show, on redisplay, the card's stored embossed name, active status, expiry day, expiry month and expiry year as read from the card file, with the information message 'Details of selected card shown above'.
  • REQ-F-077 When the operator arrives at card update from the card list ('COCRDLIC') for the first time, or presses PF12 while the card list is the calling program, the system shall take the account and card number passed by the card list, read that card, mark the details as shown and display the update screen.
  • REQ-F-078 When the operator submits the card update screen with the embossed name, active status, expiry month or expiry year entered as '*' or left blank, the system shall treat that value as not supplied, and otherwise shall take the entry as the new value.
  • REQ-F-079 The system shall always take the expiry day exactly as returned by the screen, without the '*' or blank check, as the new expiry day written back to the card record.
  • REQ-F-080 When the entered card details equal the fetched details ignoring upper/lower case, the system shall skip the field checks, report 'No change detected with respect to values fetched.' and leave the details shown (state 'S') without asking for confirmation.
  • REQ-F-081 When card details are shown and the operator submits name, status or expiry values that differ (ignoring upper/lower case) from the stored ones, the system shall run the name, status, expiry month and expiry year checks.
  • REQ-F-082 If the changed card name is missing, '*', blank or zeros, then the system shall reject the change with 'Card name not provided' and show '*' in the name field in red.
  • REQ-F-083 If the changed card name contains anything other than letters A-Z, a-z and spaces, then the system shall reject the change with 'Card name can only contain alphabets and spaces' and show the name in red.
  • REQ-F-084 If the entered details differ from those fetched and the card active status is not supplied, is '0', or is anything other than uppercase 'Y' or 'N', then the system shall reject the input with 'Card Active Status must be Y or N', unless an earlier field already set a message.
  • REQ-F-085 If the changed expiry month is missing, '*', blank or zeros, or is not between 1 and 12, then the system shall reject the change with 'Card expiry month must be between 1 and 12' and show the month in red.
  • REQ-F-086 If the changed expiry year is missing, '*', blank or zeros, or is not between 1950 and 2099, then the system shall reject the change with 'Invalid card expiry year' and show the year in red.
  • REQ-F-087 When the expiry month or year was rejected because it was missing, blank or zeros, the system shall show '*' in that field in red.
  • REQ-F-088 When more than one card field fails its check, the system shall show only the message of the first failing check, in the order name, status, expiry month, expiry year.
  • REQ-F-089 If any changed value fails its check, then the system shall keep the screen in the changes-with-errors state ('E') and show 'Update card details presented above.' alongside the error message.
  • REQ-F-090 When the changed values pass all checks, the system shall move to awaiting confirmation (state 'N') and show 'Changes validated.Press F5 to save'.
  • REQ-F-091 While the edits still have errors (state 'E'), the system shall not save and shall show the card details again in the same state.
  • REQ-F-092 When the card update screen is redisplayed after the operator has entered changes (stage 'E', 'N', 'C', 'L' or 'F'), the system shall show the operator's entered embossed name, active status, expiry month and expiry year, and the card's original expiry day.
  • REQ-F-093 The system shall accept only Enter, PF3, PF5 when changes have been validated and await confirmation (state 'N'), and PF12 once card details have been fetched, treating any other key, including PF5 in any other state, as Enter.
  • REQ-F-094 When card details are already shown and the operator presses PF12, the system shall discard the unsaved edits, re-read the card and show its stored details again (state 'S').
  • REQ-F-095 While validated changes await confirmation (state 'N'), the system shall save the changes only when the operator presses PF5, and shall show the changes again in the same state without saving when any other accepted key is pressed.
  • REQ-F-096 If the PF5 save cannot read and lock the card record for update, then the system shall not write the card, set the lock-error state ('L'), and show 'Could not lock record for update' (if no other message is set) and 'Changes unsuccessful. Please try again'.
  • REQ-F-097 If, at the PF5 save, the locked card record differs from the values originally fetched in CVV, embossed name (compared in uppercase), expiry year, month or day, or active status, then the system shall not write the card, show 'Record changed by some one else. Please review', load the current stored values and return to showing details (state 'S').
  • REQ-F-098 If the locked rewrite of the card record fails, then the system shall set the update-failed state ('F') and show 'Changes unsuccessful. Please try again'.
  • REQ-F-099 When changes are awaiting confirmation ('N') and the operator presses PF5 and the save succeeds, the system shall show 'Changes committed to database' (state 'C').
  • REQ-F-100 When the operator presses PF3, or entered from the card list and the update has completed or failed and they press any key, the system shall commit its work and transfer control to the program and transaction that called it, or to the main menu (COMEN01C, transaction CM00) when no caller is recorded.
  • REQ-F-101 When the card update program exits and the operator had come from the card list, the system shall clear the selected account and card numbers before returning.
  • REQ-F-102 When the card update program exits, the system shall record itself (COCRDUPC, transaction CCUP) as the calling program, mark the session user type as a regular user and flag the next program as a fresh entry.
  • REQ-F-103 When a save has completed ('C') or failed ('L' or 'F') and the operator did not come from the card list, the system shall on the next interaction clear the update state and the account and card keys and show an empty search screen with 'Please enter Account and Card Number'.
  • REQ-F-104 When the locked card record is unchanged since it was fetched, the system shall rewrite the card with the entered embossed name, active status and expiry date built as year-month-day, keeping the card number and account, and show 'Changes committed to database'.
  • REQ-F-105 If the rewrite of the locked card record fails, then the system shall show 'Update of record failed' and 'Changes unsuccessful. Please try again'.

J09 Review and correct transaction types in the list

Administrator · Browse and filter the transaction types, then correct a description or delete an obsolete type straight from the list.

  1. Login Screen COSGN0A: Sign in as an administrator.
  2. Admin Menu COADM1A: Choose option 5, Transaction Type List/Update.
  3. Maintain Transaction Type CTRTLIA: Optionally filter by type code or description text, and page forward (F8) or back (F7) through the types.
  4. Maintain Transaction Type CTRTLIA: Mark one row U and type the new description, or mark it D, and press Enter; correct any rejected entry.
  5. Maintain Transaction Type CTRTLIA: Press F10 to confirm the highlighted update or delete, and read the outcome.
  6. Admin Menu COADM1A: Press F3 to save and return to the admin menu.
9 capabilities, 67 requirements
  • Enter and leave the transaction type list rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#2
  • Page through transaction types rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#3
  • Filter the transaction type list rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#4
  • Update transaction type descriptions from the list rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#5
  • Access to transaction type maintenance rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#6
  • Filter the transaction type list rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#7
  • Mark a list row for update or delete rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#8
  • Confirm and apply a list update or delete rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#9
  • Navigate from the transaction type list rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#10
  • REQ-F-012 When the transaction type list is entered from another program (such as option 5 of the admin menu), the system shall discard any earlier filters, row selections and paging position, start at the first page and treat the request as Enter.
  • REQ-F-014 When the operator presses PF3 on the transaction type list, the system shall commit work and return to the program it was entered from, or to the admin menu (COADM01C, transaction 'CA00') when it was started directly or from itself.
  • REQ-F-015 When the transaction type list receives input from its own screen (caller data is present and the previous program was 'COTRTLIC'), the system shall read the screen and then check the row actions, the description filter, the type code filter and finally whether any records match the filters, in that order.
  • REQ-F-016 When the first row of a page is read and the page number is still 0 (a fresh start of the list), the system shall set the page number to 1.
  • REQ-F-017 The system shall show at most 7 transaction types per page in ascending type-code order, limited to the type-code filter and the description pattern only when each filter has been accepted (type filter flag and description filter flag = '1').
  • REQ-F-018 When a page has been filled with 7 types and another matching type follows, the system shall record that a next page exists (next-page indicator 'Y') and keep that following type code as the start of the next page.
  • REQ-F-019 When the database has no more matching transaction types before 7 rows are filled, the system shall stop reading and record that no next page exists.
  • REQ-F-020 When the user presses F8 and a next page exists, the system shall show the page starting at the stored next type code (type code >= that code), add 1 to the page number and clear any row selections.
  • REQ-F-021 When the matching transaction types run out after the operator pressed F8 and no other message is pending, the system shall show 'No more pages for these search conditions'.
  • REQ-F-022 When the operator presses PF8 and there is no further page and the last page had not already been shown, the system shall show the information message 'Type U to update, D to delete any record' and remember that the last page has now been shown.
  • REQ-F-023 When the user presses F8 again after the last page has already been shown, the system shall show the same page again with the message 'No more pages to display'.
  • REQ-F-024 When the user presses F7 and the list is not on the first page, the system shall show the 7 matching types just before the current page's first code, in ascending order, subtract 1 from the page number, clear row selections and mark that a next page exists.
  • REQ-F-025 When the user presses F7 on the first page and there are no input errors, the system shall show the first page again from its first type code with the message 'No previous pages to display'.
  • REQ-F-026 When the operator presses PF7 and the page shown afterwards is page 1 (because page 1 was already shown, or because the list paged back from page 2), the system shall show 'No previous pages to display', unless a filter error or a completed delete or update message takes precedence.
  • REQ-F-027 When the list is on page 1 and no transaction type is read, the system shall show 'No records found for this search condition.'.
  • REQ-F-028 When no input error, page up, page down, exit, or delete or update request applies, the system shall re-read the current page starting from its first type code and show it.
  • REQ-F-029 When no delete or update outcome, filter error, delete or update prompt, or paging message applies, and either no informational message is set or another page exists, the system shall show the message 'Type U to update, D to delete any record'.
  • REQ-F-030 If the database cannot open or read the forward list of transaction types, then the system shall show an empty or partly filled page and a database error message naming the failed step.
  • REQ-F-031 If a previous-page read stops before all 7 rows are filled, because fewer than 7 earlier types match or the database fails, then the system shall stop reading and report a database error ('Error on fetch Cursor C-TR-TYPE-BACKWARD').
  • REQ-F-032 When the type code filter is blank, empty (low-values), zeros or '00', the system shall treat it as not supplied and list all type codes, with no error.
  • REQ-F-033 When a numeric type code filter is entered, the system shall list only the transaction type with that code.
  • REQ-F-034 If a type code filter is entered and is not numeric, then the system shall reject it with 'TYPE CODE FILTER,IF SUPPLIED MUST BE A 2 DIGIT NUMBER', show the filter in red with the cursor on it, lock the row selection fields and not re-read the list.
  • REQ-F-035 When the entered type code filter differs from the one last used, the system shall reset paging to the start, remember the new filter, and mark the filter as changed so that a pending F10 confirmation is treated as Enter.
  • REQ-F-036 When the entered type code filter equals the one last used, or both the entered and the previous filter are empty, the system shall keep the current paging and mark the filter as unchanged.
  • REQ-F-037 When the description filter is left blank, the system shall apply no description filter, so the list, paging and record count include every description.
  • REQ-F-038 When a description filter is entered, the system shall list, page and count only transaction types whose description contains the entered text (trimmed and wrapped in '%' for a contains match).
  • REQ-F-039 When the description filter entered differs from the one used for the previous screen (blank and blank count as the same), the system shall restart paging from the first page, remember the new filter and ignore any row actions entered on that screen.
  • REQ-F-040 When no delete or update has just completed and the type code filter or the description filter is in error, the system shall show no information message, so that only the filter error message (for example 'TYPE CODE FILTER,IF SUPPLIED MUST BE A 2 DIGIT NUMBER' or 'No Records found for these filter conditions') is shown.
  • REQ-F-041 When the operator submits the transaction type list screen, the system shall capture the type code and description filters and, for each of the 7 rows, the action code, the type code and the description.
  • REQ-F-042 When a row's description field holds only '*' or is blank, the system shall treat the description as not entered, and otherwise shall use the entered text with leading and trailing spaces removed.
  • REQ-F-043 When a transaction type row marked 'U' is submitted and the entered description matches the stored description, ignoring upper/lower case and leading or trailing spaces, the system shall show 'No change detected with respect to database values.' and skip the remaining description checks for that row.
  • REQ-F-044 When the entered description of a row marked 'U' differs from the stored description, the system shall treat the row as changed and check the first 50 characters of the description as a required letters-and-digits field named 'Transaction Desc'.
  • REQ-F-045 If a changed description is not entered (blank or '*'), then the system shall reject the input and show 'Transaction Desc must be supplied.', unless an earlier message has already been set.
  • REQ-F-046 If a changed description contains any character other than a letter, a digit or a space, then the system shall reject the input and show 'Transaction Desc can have numbers or alphabets only.', unless an earlier message has already been set.
  • REQ-F-047 If a description entered for update fails its checks, then the system shall show that description in red with the cursor on it, and shall show a description that was not entered as '*'.
  • REQ-F-048 When a row is marked 'U' as the only valid action on the screen and the operator has typed a description that differs from the stored one and is not blank, the system shall show the operator's typed description on that row instead of the stored description.
  • REQ-F-049 When a row is not the single valid 'U' action on the screen, or it is but the typed description does not differ from the stored one, the system shall show the stored transaction type description on that row.
  • REQ-F-050 If the submitted screen has an input error, then the system shall show the error message and stay on the list screen rather than act on any key pressed.
  • REQ-F-051 If the submitted screen has an input error but both the type code filter and the description filter are acceptable, then the system shall re-read the current page starting from its first type code before showing the error.
  • REQ-F-052 When neither the type filter nor the description filter holds a usable value (both blank, or the type filter is blank or not numeric with no description), the system shall skip the check that the filters match any record.
  • REQ-F-053 When at least one filter holds a usable value, the system shall count the transaction types whose type code equals the type filter (if one was given) and whose description contains the description filter text (if one was given).
  • REQ-F-054 If no transaction type matches the supplied filters, then the system shall treat the input as an error, show 'No Records found for these filter conditions', show each supplied filter in red with the cursor on it, and lock the row selection fields.
  • REQ-F-055 If the database count of matching transaction types fails, then the system shall treat the input as an error and, unless another message is already set, show a database error message built from 'Error reading TRANSACTION_TYPE table ' and the SQL code.
  • REQ-F-056 When the user has changed the transaction type filter or the description filter, the system shall clear every row action code and skip all row action checks for that submission.
  • REQ-F-057 When the filters are unchanged, the system shall count as an action every one of the 7 rows whose action code is not blank, and count separately the rows marked 'D' (delete) and 'U' (update).
  • REQ-F-058 When the filters are unchanged, the system shall remember the top-most row marked 'D' or 'U' as the selected row (0 if none) and note whether it differs from the row selected on the previous screen.
  • REQ-F-059 If a row's action code is anything other than 'D', 'U' or blank (including lower-case 'd' or 'u'), then the system shall highlight that row in error, reject the input and show 'Action code selected is invalid'.
  • REQ-F-060 If two to seven rows carry a non-blank action code, then the system shall highlight every row marked 'D' or 'U' in error, reject the input and show 'Please select only 1 action', replacing any 'Action code selected is invalid' message.
  • REQ-F-061 When a row is marked 'U', the system shall check that row's description, even if other rows are also marked.
  • REQ-F-062 When the user presses Enter with exactly one row marked 'D', no other row action and neither filter changed, the system shall highlight that row, remember that a delete is pending (delete-requested flag 'Y') and show 'Delete HIGHLIGHTED row ? Press F10 to confirm'.
  • REQ-F-063 When the user presses Enter with exactly one row marked 'U', no other row action and neither filter changed, the system shall highlight that row, remember that an update is pending (update-requested flag 'Y') and show 'Update HIGHLIGHTED row. Press F10 to save'.
  • REQ-F-064 When the user presses Enter with a row marked 'D' or 'U', the system shall show the same page again from its first type code, re-reading the list only when neither filter is in error.
  • REQ-F-065 When the user presses F10 and no delete or update is pending from the previous Enter, the system shall treat the key as Enter and just show the list again.
  • REQ-F-066 When the user presses F10 while a delete or update is pending but has changed the type filter, the description filter or which row is selected since the confirmation prompt, the system shall treat the key as Enter instead of carrying out the change.
  • REQ-F-067 When the user presses F10 while a delete or update is pending and neither filter nor the selected row has changed, the system shall delete the marked transaction type if the row is marked 'D', or save the new description if it is marked 'U'.
  • REQ-F-068 When the user presses PF10 to confirm a row marked 'U', and the type filter, description filter and row selection are unchanged since the screen was shown, the system shall replace that type code's stored description with the entered description, trimmed, in the transaction type table (CARDDEMO.TRANSACTION_TYPE), and commit the change.
  • REQ-F-069 When an update has been confirmed with PF10, the system shall re-read the list starting from the first type code on the current page and redisplay it, whether or not the update succeeded.
  • REQ-F-070 When the confirmed update succeeds and no deletion was confirmed in the same request, the system shall show the message 'HIGHLIGHTED row was updated'.
  • REQ-F-071 If the database finds no row for the type code being updated (SQLCODE +100), then the system shall show a message starting 'Record not found. Deleted by others ?' and leave the update pending for confirmation.
  • REQ-F-072 If the update hits a deadlock (SQLCODE -911), then the system shall show a message starting 'Deadlock. Someone else updating ?', treat the request as an input error and leave the update pending for confirmation.
  • REQ-F-073 If the update fails with any other negative database code, then the system shall show a message starting 'Update failed with' followed by the database error details, and leave the update pending for confirmation.
  • REQ-F-074 When the operator has marked one transaction type for delete and presses F10 without changing the filters or the selection, the system shall delete that type from the transaction type table (CARDDEMO.TRANSACTION_TYPE).
  • REQ-F-075 When the delete succeeds, the system shall commit the change, show 'HIGHLIGHTED row deleted.Hit Enter to continue', and start the next interaction from the first page with filters cleared.
  • REQ-F-076 If the database refuses the delete because other records still refer to the transaction type (SQLCODE -532), then the system shall delete nothing, keep the delete request pending, and show 'Please delete associated child records first:' followed by the database error details.
  • REQ-F-077 If the delete fails for any other database reason, then the system shall show 'Delete failed with message:' followed by the database error details and treat the delete as not done.
  • REQ-F-078 When the user presses PF3 on the list screen, the system shall commit and transfer control, with the shared context, to the admin menu program 'COADM01C'.
  • REQ-N-003 The system shall not check the user type before allowing updates or deletes of transaction types on the Transaction Type List screen.

J10 Add a transaction type

Administrator · Add a new transaction type code with its description so new kinds of transactions can be classified.

  1. Login Screen COSGN0A: Sign in as an administrator.
  2. Admin Menu COADM1A: Choose option 5, Transaction Type List/Update.
  3. Maintain Transaction Type CTRTLIA: Check the type is not already listed, then press F2 to add one.
  4. Transaction Type Update Screen CTRTUPA: Enter the new two-digit type code and press Enter; the system reports it is not on file.
  5. Transaction Type Update Screen CTRTUPA: Press F5 to create it, type the description and press Enter to have it checked; fix it if rejected.
  6. Transaction Type Update Screen CTRTUPA: Press F5 to save the new type and read the confirmation.
  7. Maintain Transaction Type CTRTLIA: Press F3 to go back to the transaction type list, which starts fresh.
  8. Admin Menu COADM1A: Press F3 to return to the admin menu.
9 capabilities, 48 requirements
  • Enter and leave the transaction type list rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#2
  • Navigate from the transaction type list rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#10
  • Look up a transaction type to maintain rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#11
  • Show maintenance screen values and messages rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#12
  • Exit the maintenance screen rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#15
  • Find a transaction type to maintain rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#16
  • Change a transaction type description rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#17
  • Add a new transaction type rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#18
  • Control maintenance screen keys and flow rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#20
  • REQ-F-013 When the operator returns to the list from the transaction type add/update screen (transaction 'CTTU') by pressing PF3, the system shall treat the key as Enter rather than exit and show the first page afresh, discarding previous filters, selections and paging.
  • REQ-F-014 When the operator presses PF3 on the transaction type list, the system shall commit work and return to the program it was entered from, or to the admin menu (COADM01C, transaction 'CA00') when it was started directly or from itself.
  • REQ-F-079 When the user presses PF2 on the list screen, the system shall transfer control, with the shared context, to the transaction type add/update program 'COTRTUPC'.
  • REQ-F-080 While the state is neither new-record entry ('R') nor awaiting save confirmation ('N'), when the transaction type code is blank, the system shall show 'Tran Type code must be supplied.', mark the code field '*' in red, return to asking for a code and skip all other checks.
  • REQ-F-081 While the state is neither 'R' nor 'N', when the transaction type code is not numeric, the system shall show 'Tran Type code must be numeric.', highlight the code in red, return to asking for a code and skip all other checks.
  • REQ-F-082 While the state is neither 'R' nor 'N', when the transaction type code is zero, the system shall show 'Tran Type code must not be zero.', highlight the code in red, return to asking for a code and skip all other checks.
  • REQ-F-083 When a transaction type code fails these checks, the system shall return to the 'details not fetched' state rather than keep an invalid-search-key state ('K').
  • REQ-F-084 While the state is neither 'R' nor 'N', when the code is a valid non-zero number and no record has been fetched yet, the system shall store the code as two digits with a leading zero and stop editing, so that the table is searched for that code.
  • REQ-F-085 When the maintenance screen looks up a transaction type code, the system shall first clear the previously held original details and the information message.
  • REQ-F-086 When the transaction type table (CARDDEMO.TRANSACTION_TYPE) returns a row for the requested code, the system shall mark the type as found and keep its code and description (to its stored length) as the original values used for display and for detecting the operator's later edits.
  • REQ-F-087 If the looked-up transaction type is not found or the read fails, then the system shall keep no original values.
  • REQ-F-088 If no transaction type row exists for the entered code, then the system shall mark the code as in error, show 'No record found for this key in database' unless another message is already set, and offer to add the record with 'Press F05 to add. F12 to cancel'.
  • REQ-F-089 When the entered code was not found ('X') and the operator submits the same code again without pressing F5, the system shall keep the previously captured code and description, ignore what was typed on the screen, skip all other checks, treat the code as valid and return to the 'details not fetched' state so the code is looked up again in the transaction type table.
  • REQ-F-090 When F5 is pressed in the not-found state ('X'), the system shall switch straight to new-record entry.
  • REQ-F-091 When the maintenance screen is shown for a fresh start (on arrival from the admin menu or the transaction type list, or when a finished, failed or cancelled action restarts the screen), the system shall show the information message 'Enter transaction type to be maintained'.
  • REQ-F-092 When the operator returns to the maintenance screen and no transaction type has been fetched yet (including after a blank or invalid type code), the system shall show the message 'Enter transaction type to be maintained'.
  • REQ-F-093 When the maintenance screen is showing a fetched transaction type, or a cancelled change has no original transaction type held, the system shall show the message 'Enter transaction type to be maintained'.
  • REQ-F-094 When the maintenance screen is redisplayed in a state that has no information message of its own and no message is already set (for example after a delete the database refused because child records exist), the system shall show the information message 'Enter transaction type to be maintained'.
  • REQ-F-095 When the operator's changes failed validation, or the operator cancelled a validated change while an original transaction type is still held, the system shall show the message 'Update transaction type details shown.'
  • REQ-F-096 When the screen is redisplayed after the first entry and the state is record shown ('S'), awaiting delete confirmation ('9'), delete failed ('6'), delete done ('7'), update cancelled ('B') or any state without its own display rule, the system shall show the code and description as stored on the table, discarding typed values and clearing description error marks.
  • REQ-F-097 When the screen is redisplayed after the first entry and the state is changes entered ('E', 'N', 'L' or 'F'), not found ('X'), invalid key ('K'), new record ('R') or update done ('C'), the system shall show the transaction type code and description as the operator entered them.
  • REQ-F-098 When the entered details have failed validation ('E') or have passed validation and are waiting for F5 confirmation ('N'), the system shall leave the maintenance state unchanged, so the screen is shown again with the entered values and the message for that state.
  • REQ-F-099 When a key press is not an exit, a first entry, a delete, save or cancel step handled on its own, or a key not allowed in the current state, the system shall read the screen input, validate it, decide the next action and redisplay the screen.
  • REQ-F-106 When the operator presses F3 on the Transaction Type Maintenance screen, the system shall commit the database work (SYNCPOINT) and transfer control to the calling program and transaction recorded for the session, or to the Admin menu (COADM01C, transaction 'CA00') when none is recorded.
  • REQ-F-107 When the maintenance screen is entered from the Admin menu (COADM01C) or the Transaction Type list (COTRTLIC), the system shall clear the recorded caller, so that F3 always returns the operator to the Admin menu (COADM01C, 'CA00') and never to the Transaction Type list.
  • REQ-F-108 When the maintenance screen is entered for the first time from the Admin menu or the transaction type list, or is started with no prior context, the system shall clear any saved maintenance context and show an empty search screen asking 'Enter transaction type to be maintained'.
  • REQ-F-109 When the operator presses Enter on the Transaction Type Maintenance screen while not adding a new record and not awaiting confirmation of changes, the system shall check the entered transaction type code before looking it up.
  • REQ-F-110 If the transaction type code is left blank or entered as '*', then the system shall show 'Tran Type code must be supplied.' and keep waiting for a search code without looking anything up.
  • REQ-F-111 If the transaction type code is supplied but is not a number, then the system shall show 'Tran Type code must be numeric.', mark the search code as invalid and not look anything up.
  • REQ-F-112 If the transaction type code is a number equal to zero, then the system shall show 'Tran Type code must not be zero.', mark the search code as invalid and not look anything up.
  • REQ-F-113 When the transaction type code is a supplied, non-zero number, the system shall accept it, convert it to a two-digit code padded with a leading zero, and use that as the lookup key.
  • REQ-F-114 If more than one check fails on the same entry, then the system shall show only the first error message found.
  • REQ-F-115 When a valid transaction type code is entered on the search screen, the system shall look it up in the transaction type table and show its details (state 'S') if found, or report it as not found (state 'X') with the prompt 'Press F05 to add. F12 to cancel'.
  • REQ-F-116 While the searched code was not found, when the operator re-sends the same code without pressing F5, the system shall treat it as a new search and look the code up again.
  • REQ-F-117 When the operator presses Enter after changing the description of a displayed or new transaction type, the system shall mark the changes as not OK (state 'E') and then validate the description (up to 50 characters).
  • REQ-F-118 When the operator enters '*' or leaves the transaction type description blank, the system shall treat the description as not supplied, and otherwise keep the entry with leading and trailing spaces removed.
  • REQ-F-119 If the changed description is blank (spaces or '*'), then the system shall show 'Transaction Desc must be supplied.' and keep the changes-not-OK state ('E').
  • REQ-F-120 If the changed description contains any character other than letters, digits and spaces, then the system shall show 'Transaction Desc can have numbers or alphabets only.' and keep the changes-not-OK state ('E').
  • REQ-F-121 When the changed description passes validation, the system shall move to changes-validated-awaiting-confirmation (state 'N') and show 'Changes validated.Press F5 to save'.
  • REQ-F-122 When the operator changes the shown or new details and the changes fail an edit, the system shall move to changes not OK (state 'E'), and when nothing changed, the system shall keep showing the details.
  • REQ-F-123 When the operator presses F5 after the changes have been validated and are awaiting confirmation (state 'N'), the system shall update that type's description in the transaction type table and then show the outcome on the screen.
  • REQ-F-130 When F5 is pressed after the searched code was not found (state 'X'), the system shall switch to creating a new record (state 'R') and prompt 'Enter new transaction type details.'.
  • REQ-F-131 When the save finds no row for the type (SQLCODE +100), the system shall insert the type code and description as a new row in CARDDEMO.TRANSACTION_TYPE, commit it and show 'Changes committed to database'.
  • REQ-F-132 If the insert of a new type fails, then the system shall show the error 'Error inserting record into: TRANSACTION_TYPE Table. SQLCODE:…' with the database error text, yet set the outcome to committed ('C') and show 'Changes committed to database' instead of 'Changes unsuccessful'.
  • REQ-F-140 The system shall accept F3 (exit) in every state, and Enter in every state except while a delete is awaiting confirmation.
  • REQ-F-141 The system shall accept F4 only when record details are shown or a delete is awaiting confirmation; F5 only when changes are validated, the record was not found, or a delete is in progress; and F12 only when changes are validated, details are shown, the record was not found, a delete is awaiting confirmation, or a new record is being created.
  • REQ-F-142 If the key pressed is not allowed in the current state, then the system shall redisplay with the message 'Invalid key pressed' (when no other message is already set) and take no other action.
  • REQ-F-143 When F12 is pressed while details are shown, a new record is being entered or the searched type was not found, or the previous step ended in a saved change, a failed save, a lock error, a completed or failed delete, or a cancelled change with no original details, the system shall start over at the empty search screen.

J11 Change or delete a transaction type

Administrator · Look up a transaction type by code and either correct its description or delete it, confirming before anything is changed.

  1. Login Screen COSGN0A: Sign in as an administrator.
  2. Admin Menu COADM1A: Choose option 6, Transaction Type Maintenance.
  3. Transaction Type Update Screen CTRTUPA: Enter the transaction type code and press Enter to see its description; correct the code if rejected.
  4. Transaction Type Update Screen CTRTUPA: Change the description and press Enter to have it checked, or press F4 to ask to delete the type.
  5. Transaction Type Update Screen CTRTUPA: Press F5 to save the change, or F4 again to confirm the delete; press F12 instead to cancel.
  6. Admin Menu COADM1A: Press F3 to commit and return to the admin menu.
9 capabilities, 57 requirements
  • Look up a transaction type to maintain rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#11
  • Show maintenance screen values and messages rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#12
  • Detect changes to a fetched transaction type rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#13
  • Cancel a pending maintenance change rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#14
  • Exit the maintenance screen rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#15
  • Find a transaction type to maintain rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#16
  • Change a transaction type description rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#17
  • Delete a transaction type rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#19
  • Control maintenance screen keys and flow rec/CustomerDataSetup/TransactionTypeReferenceDataMaintenance#20
  • REQ-F-080 While the state is neither new-record entry ('R') nor awaiting save confirmation ('N'), when the transaction type code is blank, the system shall show 'Tran Type code must be supplied.', mark the code field '*' in red, return to asking for a code and skip all other checks.
  • REQ-F-081 While the state is neither 'R' nor 'N', when the transaction type code is not numeric, the system shall show 'Tran Type code must be numeric.', highlight the code in red, return to asking for a code and skip all other checks.
  • REQ-F-082 While the state is neither 'R' nor 'N', when the transaction type code is zero, the system shall show 'Tran Type code must not be zero.', highlight the code in red, return to asking for a code and skip all other checks.
  • REQ-F-083 When a transaction type code fails these checks, the system shall return to the 'details not fetched' state rather than keep an invalid-search-key state ('K').
  • REQ-F-084 While the state is neither 'R' nor 'N', when the code is a valid non-zero number and no record has been fetched yet, the system shall store the code as two digits with a leading zero and stop editing, so that the table is searched for that code.
  • REQ-F-085 When the maintenance screen looks up a transaction type code, the system shall first clear the previously held original details and the information message.
  • REQ-F-086 When the transaction type table (CARDDEMO.TRANSACTION_TYPE) returns a row for the requested code, the system shall mark the type as found and keep its code and description (to its stored length) as the original values used for display and for detecting the operator's later edits.
  • REQ-F-087 If the looked-up transaction type is not found or the read fails, then the system shall keep no original values.
  • REQ-F-091 When the maintenance screen is shown for a fresh start (on arrival from the admin menu or the transaction type list, or when a finished, failed or cancelled action restarts the screen), the system shall show the information message 'Enter transaction type to be maintained'.
  • REQ-F-092 When the operator returns to the maintenance screen and no transaction type has been fetched yet (including after a blank or invalid type code), the system shall show the message 'Enter transaction type to be maintained'.
  • REQ-F-093 When the maintenance screen is showing a fetched transaction type, or a cancelled change has no original transaction type held, the system shall show the message 'Enter transaction type to be maintained'.
  • REQ-F-094 When the maintenance screen is redisplayed in a state that has no information message of its own and no message is already set (for example after a delete the database refused because child records exist), the system shall show the information message 'Enter transaction type to be maintained'.
  • REQ-F-095 When the operator's changes failed validation, or the operator cancelled a validated change while an original transaction type is still held, the system shall show the message 'Update transaction type details shown.'
  • REQ-F-096 When the screen is redisplayed after the first entry and the state is record shown ('S'), awaiting delete confirmation ('9'), delete failed ('6'), delete done ('7'), update cancelled ('B') or any state without its own display rule, the system shall show the code and description as stored on the table, discarding typed values and clearing description error marks.
  • REQ-F-097 When the screen is redisplayed after the first entry and the state is changes entered ('E', 'N', 'L' or 'F'), not found ('X'), invalid key ('K'), new record ('R') or update done ('C'), the system shall show the transaction type code and description as the operator entered them.
  • REQ-F-098 When the entered details have failed validation ('E') or have passed validation and are waiting for F5 confirmation ('N'), the system shall leave the maintenance state unchanged, so the screen is shown again with the entered values and the message for that state.
  • REQ-F-099 When a key press is not an exit, a first entry, a delete, save or cancel step handled on its own, or a key not allowed in the current state, the system shall read the screen input, validate it, decide the next action and redisplay the screen.
  • REQ-F-100 When the operator presses Enter on a transaction type, the system shall treat it as unchanged if the type code and the description match the values fetched, ignoring upper/lower case and leading or trailing spaces, and otherwise record that a change has occurred.
  • REQ-F-101 When no change is found, the system shall show 'No change detected with respect to values fetched.', leave the record in the show-details state without offering a save, and skip the description checks.
  • REQ-F-102 While the changes are already validated and awaiting F5 confirmation (state 'N') or already committed (state 'C'), the system shall skip the description checks and keep the current state.
  • REQ-F-103 When F12 is pressed while a validated change is waiting for F5 confirmation ('N'), the system shall ignore the screen input, show 'Update was cancelled' and redisplay the stored values for editing with 'Update transaction type details shown.'.
  • REQ-F-104 When F12 is pressed while a delete is waiting for confirmation ('9'), the system shall ignore the screen input, show 'Delete was cancelled' and return to asking for a transaction type.
  • REQ-F-105 When F12 is pressed on a shown record ('S'), the system shall restart the screen to ask for a new transaction type.
  • REQ-F-106 When the operator presses F3 on the Transaction Type Maintenance screen, the system shall commit the database work (SYNCPOINT) and transfer control to the calling program and transaction recorded for the session, or to the Admin menu (COADM01C, transaction 'CA00') when none is recorded.
  • REQ-F-107 When the maintenance screen is entered from the Admin menu (COADM01C) or the Transaction Type list (COTRTLIC), the system shall clear the recorded caller, so that F3 always returns the operator to the Admin menu (COADM01C, 'CA00') and never to the Transaction Type list.
  • REQ-F-108 When the maintenance screen is entered for the first time from the Admin menu or the transaction type list, or is started with no prior context, the system shall clear any saved maintenance context and show an empty search screen asking 'Enter transaction type to be maintained'.
  • REQ-F-109 When the operator presses Enter on the Transaction Type Maintenance screen while not adding a new record and not awaiting confirmation of changes, the system shall check the entered transaction type code before looking it up.
  • REQ-F-110 If the transaction type code is left blank or entered as '*', then the system shall show 'Tran Type code must be supplied.' and keep waiting for a search code without looking anything up.
  • REQ-F-111 If the transaction type code is supplied but is not a number, then the system shall show 'Tran Type code must be numeric.', mark the search code as invalid and not look anything up.
  • REQ-F-112 If the transaction type code is a number equal to zero, then the system shall show 'Tran Type code must not be zero.', mark the search code as invalid and not look anything up.
  • REQ-F-113 When the transaction type code is a supplied, non-zero number, the system shall accept it, convert it to a two-digit code padded with a leading zero, and use that as the lookup key.
  • REQ-F-114 If more than one check fails on the same entry, then the system shall show only the first error message found.
  • REQ-F-115 When a valid transaction type code is entered on the search screen, the system shall look it up in the transaction type table and show its details (state 'S') if found, or report it as not found (state 'X') with the prompt 'Press F05 to add. F12 to cancel'.
  • REQ-F-117 When the operator presses Enter after changing the description of a displayed or new transaction type, the system shall mark the changes as not OK (state 'E') and then validate the description (up to 50 characters).
  • REQ-F-118 When the operator enters '*' or leaves the transaction type description blank, the system shall treat the description as not supplied, and otherwise keep the entry with leading and trailing spaces removed.
  • REQ-F-119 If the changed description is blank (spaces or '*'), then the system shall show 'Transaction Desc must be supplied.' and keep the changes-not-OK state ('E').
  • REQ-F-120 If the changed description contains any character other than letters, digits and spaces, then the system shall show 'Transaction Desc can have numbers or alphabets only.' and keep the changes-not-OK state ('E').
  • REQ-F-121 When the changed description passes validation, the system shall move to changes-validated-awaiting-confirmation (state 'N') and show 'Changes validated.Press F5 to save'.
  • REQ-F-122 When the operator changes the shown or new details and the changes fail an edit, the system shall move to changes not OK (state 'E'), and when nothing changed, the system shall keep showing the details.
  • REQ-F-123 When the operator presses F5 after the changes have been validated and are awaiting confirmation (state 'N'), the system shall update that type's description in the transaction type table and then show the outcome on the screen.
  • REQ-F-124 When the description update succeeds, the system shall commit the change, set the outcome to committed ('C') and show 'Changes committed to database'.
  • REQ-F-125 If the update cannot lock the row (SQLCODE -911), then the system shall set the outcome to lock error ('L'), show 'Changes unsuccessful' and give the error 'Could not lock record for update'.
  • REQ-F-126 If the update fails with any other negative SQLCODE, then the system shall show the error 'Error updating: TRANSACTION_TYPE Table. SQLCODE:…' with the database error text, yet set the outcome to committed ('C') and show 'Changes committed to database' instead of 'Changes unsuccessful'.
  • REQ-F-127 If the save fails for any other database reason, then the system shall end in state 'F' showing 'Changes unsuccessful'.
  • REQ-F-128 When F12 is pressed while validated changes await confirmation (state 'N'), the system shall discard the pending save, show 'Update was cancelled' and mark the changes as backed out (state 'B').
  • REQ-F-129 While changes are backed out (state 'B') and the next input brings no new change, the system shall return to changes not OK (state 'E') so the operator can edit again, keeping states 'E' and 'N' otherwise unchanged in the decision step.
  • REQ-F-133 When a transaction type's details are on screen and the operator presses F4, the system shall not delete yet but shall ask for confirmation with the message 'Delete this record ? Press F4 to confirm', with all fields protected.
  • REQ-F-134 When the operator presses F4 again while the delete confirmation is pending, the system shall delete the transaction type with the code originally fetched for display (not any code typed since) from the transaction type table.
  • REQ-F-135 When the confirmed delete succeeds, the system shall commit the deletion and show 'Delete successful.'.
  • REQ-F-136 If the confirmed delete is refused because other records still refer to the transaction type (SQLCODE -532), then the system shall not delete it and shall show an error starting 'Please delete associated child records first:' followed by the SQL code and database message.
  • REQ-F-137 If the confirmed delete fails for any other database reason, then the system shall mark the delete as failed, show 'Changes unsuccessful' as the information message, and show an error starting 'Delete failed with message:' followed by the SQL code and database message.
  • REQ-F-138 When F12 is pressed while a delete awaits confirmation (state '9'), the system shall not delete the record, show 'Delete was cancelled' and return to the search state with details not fetched.
  • REQ-F-139 When the operator presses a key after a delete has succeeded or failed, the system shall start over and prompt for a new transaction type to search for.
  • REQ-F-140 The system shall accept F3 (exit) in every state, and Enter in every state except while a delete is awaiting confirmation.
  • REQ-F-141 The system shall accept F4 only when record details are shown or a delete is awaiting confirmation; F5 only when changes are validated, the record was not found, or a delete is in progress; and F12 only when changes are validated, details are shown, the record was not found, a delete is awaiting confirmation, or a new record is being created.
  • REQ-F-142 If the key pressed is not allowed in the current state, then the system shall redisplay with the message 'Invalid key pressed' (when no other message is already set) and take no other action.
  • REQ-F-143 When F12 is pressed while details are shown, a new record is being entered or the searched type was not found, or the previous step ended in a saved change, a failed save, a lock error, a completed or failed delete, or a cancelled change with no original details, the system shall start over at the empty search screen.

Unclassified

J12 Review an account's pending authorizations

Card services agent · Look up an account's recent card authorizations, page through them and open one to see its full details while the caller waits.

  1. Login Screen COSGN0A: Sign in with user ID and password.
  2. Main Menu COMEN1A: Choose option 11, Pending Authorization View.
  3. View Authorizations COPAU0A: Enter the account ID and press Enter to see the customer, limits, approved and declined totals and the first five authorizations; correct the account ID if an error is shown.
  4. View Authorizations COPAU0A: Press F8 and F7 to page forward and back through the authorizations, five at a time.
  5. View Authorizations COPAU0A: Type S next to an authorization and press Enter to open it.
  6. View Authorization Details COPAU1A: Review the authorization's card, amount, merchant, response and reason, and fraud status; press F8 to move to the next authorization on the account.
  7. View Authorizations COPAU0A: Press F3 to return to the authorization list.
  8. Main Menu COMEN1A: Press F3 to return to the main menu.
5 capabilities, 48 requirements
  • Inquire on an account's pending authorizations rec/No domain/CardAuthorizationandFraudManagement#9
  • Page through an account's pending authorizations rec/No domain/CardAuthorizationandFraudManagement#10
  • Select an authorization for detail rec/No domain/CardAuthorizationandFraudManagement#11
  • View pending authorization details rec/No domain/CardAuthorizationandFraudManagement#13
  • Navigate the authorization detail screen rec/No domain/CardAuthorizationandFraudManagement#14
  • REQ-F-082 When the pending authorization summary is started with no session data, the system shall start a new session, mark it as re-entered and show an empty screen with the cursor on the account number field.
  • REQ-F-083 When the summary screen is entered from another function for the first time, the system shall mark the session as re-entered, use the passed account number if it is numeric (otherwise treat it as not supplied), load the account details and first page of authorizations, and display the screen with a full erase.
  • REQ-F-084 When the operator presses Enter with the Account ID blank, the system shall flag an error, show 'Please enter Acct Id...', clear the working account, put the cursor on Account ID and load no account details or authorizations.
  • REQ-F-085 When the operator presses Enter with an Account ID that is not entirely numeric, the system shall show 'Acct Id must be Numeric ...', flag an error, clear the working account, put the cursor on Account ID and load no account details or authorizations.
  • REQ-F-086 When the operator presses Enter with a numeric Account ID, the system shall save it as the current account for the session, process any row selection, reset to the first page, and reload the account details and the first five pending authorizations.
  • REQ-F-087 When the Enter processing completes, the system shall redisplay the screen with the Account ID field showing the accepted account, or blank when the entry was rejected.
  • REQ-F-088 When a numeric account number is present, entered with Enter or passed in from the menu, the system shall look up the account's card cross-reference, account record, customer record and pending-authorization summary, and shall load the first page of authorizations only when a summary exists for the account.
  • REQ-F-089 When the card cross-reference for the account is found, the system shall save the customer ID and card number from it in the session for later screens.
  • REQ-F-090 The system shall show the customer name as the first word of the first name, a space, the middle initial, a space, and the last name.
  • REQ-F-091 The system shall show address line 1 as address lines 1 and 2 joined by a comma, and address line 2 as address line 3, the state code and the first 5 digits of the ZIP code joined by commas, cutting each address line at its first double space.
  • REQ-F-092 The system shall show the customer ID, the first phone number, and the account's credit limit and cash credit limit from the account master as signed amounts with two decimals.
  • REQ-F-093 When a pending authorization summary exists for the account, the system shall show its approved count, declined count, approved amount, declined amount, credit balance and cash balance.
  • REQ-F-094 When no pending authorization summary exists for the account, the system shall show the approved and declined counts and amounts and the credit and cash balances as zero, and shall not list any authorizations.
  • REQ-F-095 If reading the pending authorization summary fails for any reason other than not found, then the system shall flag an error, show ' System error while reading AUTH Summary: Code:' followed by the database status code, put the cursor on Account ID and show the totals as zero.
  • REQ-F-096 If no card cross-reference exists for the account, then the system shall show 'Account:<account> not found in XREF file. Resp:<code> Reas:<code>', and on any other read failure of file CXACAIX shall flag an error and show 'Account:<account> System error while reading XREF file. Resp:<code> Reas:<code>'.
  • REQ-F-097 If the account record is not on the account file, then the system shall show 'Account:<account> not found in ACCT file. Resp:<code> Reas:<code>', and on any other read failure of file ACCTDAT shall flag an error and show 'Account:<account> System error while reading ACCT file. Resp:<code> Reas:<code>'.
  • REQ-F-098 If the customer record is not on the customer file, then the system shall show 'Customer:<customer> not found in CUST file. Resp:<code> Reas:<code>', and on any other read failure of file CUSTDAT shall flag an error and show 'Customer:<customer> System error while reading CUST file. Resp:<code> Reas:<code>'.
  • REQ-F-099 When the user presses PF3 on the summary screen, the system shall transfer control to the main menu (COMEN01C), passing the session data.
  • REQ-F-100 If the user presses any key other than Enter, PF3, PF7 or PF8, then the system shall flag an error and redisplay the screen with the message 'Invalid key pressed. Please see below...' and the cursor on the account number field.
  • REQ-F-101 When a page of authorizations is loaded and no error is flagged, the system shall read up to 5 pending authorizations for the account into the list rows (on backward paging starting at the saved first key of that page), remember each page's first key and the last key shown, then read one more ahead to set whether a next page exists.
  • REQ-F-102 When the user pages forward (PF8), the system shall re-read the account's authorization summary and reposition at the last authorization shown when one exists, otherwise clear the start key.
  • REQ-F-103 When the user presses PF8 and a next page exists, the system shall clear the five list rows, load the next page of up to 5 pending authorizations and redisplay the screen without a full erase.
  • REQ-F-104 When the user presses PF8 and no further page of authorizations exists, the system shall keep the current list and show 'You are already at the bottom of the page...'.
  • REQ-F-105 When the operator presses PF7 and the current page number is greater than 1, the system shall step the page number back by one, reposition to the saved first authorization key of that page, and redisplay up to five authorizations starting from that key without erasing the screen.
  • REQ-F-106 When the operator presses PF7 and the current page number is 1 or less, the system shall show 'You are already at the top of the page...' and leave the list unchanged.
  • REQ-F-107 When an authorization is placed in the summary list, the system shall show it as approved 'A' when its response code is '00' and as declined 'D' for any other response code.
  • REQ-F-108 When an authorization is listed, the system shall show its approved amount with a sign and two decimals, its original date held as YYMMDD as MM/DD/YY, and its original time held as HHMMSS as HH:MM:SS, along with transaction id, authorization type and match status.
  • REQ-F-109 When Enter is pressed with a numeric account number, the system shall take the first of the five list rows, from top to bottom, that has a selection code and record that code and the row's authorization key, and if no row is marked shall clear the selection.
  • REQ-F-110 When the recorded selection code is 'S' or 's' and the row holds an authorization key, the system shall pass control to the authorization detail program COPAUS1C with that key, recording COPAUS0C and transaction CPVS as where the user came from.
  • REQ-F-111 If the recorded selection code is anything other than 'S' or 's', then the system shall show 'Invalid selection. Valid value is S' and redisplay the account's authorization list.
  • REQ-F-115 When the authorization detail screen is first opened from the pending authorization list, or the user presses Enter, the system shall read the selected authorization for the account and display its details.
  • REQ-F-116 When a selected authorization has been read without error, the system shall show the card number, the original authorization date (stored as YYMMDD) as MM/DD/YY and the original time (stored as HHMMSS) as HH:MM:SS.
  • REQ-F-117 When a selected authorization has been read without error, the system shall show the approved amount right-aligned with two decimals and a leading '-' when it is negative.
  • REQ-F-118 When a selected authorization has been read without error, the system shall show the card expiry date (stored as four characters) as the first two characters, '/', and the last two characters.
  • REQ-F-119 When a selected authorization has been read without error, the system shall show the processing code, POS entry mode, message source, merchant category code, authorization type, transaction ID, match status, and the merchant name, ID, city, state and ZIP as stored.
  • REQ-F-120 When the authorization is shown and its fraud flag is 'F' (fraud confirmed) or 'R' (fraud removed), the system shall show the flag, '-', and the fraud report date, and otherwise shall show '-'.
  • REQ-F-121 If the account id passed in is not numeric or no authorization is selected (spaces or low-values), then the system shall not read the database, set the error flag and show the screen with all authorization detail fields blank and no message.
  • REQ-F-122 If a database read error occurred (error flag on), then the system shall leave the authorization detail fields blank.
  • REQ-F-123 The system shall first read the account's pending authorization summary by account id and, only when that read succeeds (status blank or 'FW'), read the authorization detail under that account whose key matches the selected key.
  • REQ-F-124 If the summary or the detail is not found (status 'GE') or the end of the database is reached (status 'GB'), then the system shall mark that no authorizations remain and skip any further read, without an error message.
  • REQ-F-125 If reading the authorization summary returns any status other than success, not found or end of database, then the system shall set the error flag and show ' System error while reading Auth Summary: Code:' followed by the status code.
  • REQ-F-126 If reading the authorization detail returns any status other than success, not found or end of database, then the system shall set the error flag and show ' System error while reading Auth Details: Code:' followed by the status code.
  • REQ-F-127 When the detail program starts with no data passed from a calling screen, the system shall transfer control to the authorization summary program (COPAUS0C).
  • REQ-F-128 When the user presses PF3 on the detail screen, the system shall return to the authorization summary list (COPAUS0C).
  • REQ-F-129 When the user presses PF8 on the detail screen, the system shall re-read the selected authorization of the account, fetch the next authorization under the same account, make it the selected authorization and display its details.
  • REQ-F-130 When the user presses PF8 and there is no further authorization for the account, the system shall keep the current selection and show 'Already at the last Authorization...' without erasing the screen.
  • REQ-F-131 If reading the next authorization fails with any database status other than success, not found or end of data, then the system shall flag an error, show ' System error while reading next Auth: Code:' followed by the status code, and not fill in the authorization details.
  • REQ-F-132 When the user presses any key other than Enter, PF3, PF5 or PF8, the system shall re-read and redisplay the selected authorization as for Enter, with the message 'Invalid key pressed. Please see below...'.

J13 Report or clear fraud on an authorization

Card services agent · Find a suspect authorization on an account and mark it as fraud, or remove a fraud mark set in error, so the authorization and the fraud register agree.

  1. Login Screen COSGN0A: Sign in with user ID and password.
  2. Main Menu COMEN1A: Choose option 11, Pending Authorization View.
  3. View Authorizations COPAU0A: Enter the account ID and press Enter to list its authorizations.
  4. View Authorizations COPAU0A: Type S next to the suspect authorization and press Enter.
  5. View Authorization Details COPAU1A: Check the authorization's details, response and decline reason, and its current fraud status.
  6. View Authorization Details COPAU1A: Press F5 to report fraud, or to remove an existing fraud mark, and confirm the redisplayed fraud flag and report date, or read the error message if the update failed.
  7. View Authorizations COPAU0A: Press F3 to return to the authorization list.
7 capabilities, 26 requirements
  • View authorization detail and mark fraud rec/No domain/CardAuthorizationandFraudManagement#12
  • Mark or unmark an authorization as fraud rec/No domain/CardAuthorizationandFraudManagement#15
  • Record fraud action in the fraud register rec/No domain/CardAuthorizationandFraudManagement#16
  • Inquire on an account's pending authorizations rec/No domain/CardAuthorizationandFraudManagement#9
  • Select an authorization for detail rec/No domain/CardAuthorizationandFraudManagement#11
  • View pending authorization details rec/No domain/CardAuthorizationandFraudManagement#13
  • Navigate the authorization detail screen rec/No domain/CardAuthorizationandFraudManagement#14
  • REQ-F-112 When authorization details are being populated, the system shall show the reason as '<code>-<description>' from the decline reason table, or as '9999-ERROR' when the code is not in the table.
  • REQ-F-113 When the authorization detail screen shows an authorization, the system shall show response 'A' in green when the response code is '00', otherwise 'D' in red.
  • REQ-F-114 When the user presses PF5 on the selected authorization, the system shall re-read the authorization and, if its fraud flag is 'F', set it to 'R' with a remove-fraud action 'R', otherwise set it to 'F' with a report-fraud action 'F', and pass the record with account and customer number to the fraud processor (COPAUS2C).
  • REQ-F-133 When the user presses PF5 on the authorization detail screen and the selected authorization is marked fraud ('F'), the system shall set its fraud flag to 'R' (fraud removed) and request the fraud action 'R' (remove fraud).
  • REQ-F-134 When the user presses PF5 on the authorization detail screen and the selected authorization is not marked fraud (blank or 'R'), the system shall set its fraud flag to 'F' (fraud confirmed) and request the fraud action 'F' (report fraud).
  • REQ-F-135 The system shall send the whole authorization record, the account number, the customer number and the fraud action to the fraud update program (COPAUS2C).
  • REQ-F-136 The system shall set the fraud report date on the authorization record returned by the fraud update program to today's date in MM/DD/YY form with separators, which the detail screen then saves on the pending authorization and displays.
  • REQ-F-137 When the fraud update program completes normally and reports success ('S'), the system shall replace the pending authorization detail record (PAUTDTL1) with the record carrying the toggled fraud flag and the fraud report date set by the fraud update program.
  • REQ-F-138 When the replace of the authorization detail succeeds (status blank or 'FW'), the system shall commit the fraud register change and the authorization detail change together and show 'AUTH FRAUD REMOVED...' if the flag is now 'R', otherwise 'AUTH MARKED FRAUD...'.
  • REQ-N-003 If the replace of the authorization detail returns any other status, then the system shall roll back both the fraud register change and the authorization detail change, set the error flag and show ' System error while FRAUD Tagging, ROLLBACK||' followed by the database status code.
  • REQ-F-139 If the fraud update program completes but reports failure, then the system shall roll back, leave the authorization detail unchanged and show the fraud program's message (for example ' SYSTEM ERROR DB2: CODE:…').
  • REQ-F-140 If the link to the fraud update program does not complete normally, then the system shall roll back and leave the authorization detail unchanged, without setting any message.
  • REQ-F-141 When a PF5 fraud action finishes, the system shall redisplay the same authorization's details.
  • REQ-F-142 The system shall derive the authorization timestamp from the original authorization date and from 999999999 minus the complemented authorization time, and use the card number with that timestamp as the fraud row key.
  • REQ-F-143 When a fraud action is received, the system shall add a row to the fraud table (CARDDEMO.AUTHFRDS) holding the card number, the rebuilt authorization timestamp, the authorization details, the action code, today's database date as report date, and the account and customer ids, and on success return status 'S' with 'ADD SUCCESS'.
  • REQ-F-144 When the fraud table already holds a row for the same card number and authorization timestamp (duplicate key, SQLCODE -803), the system shall instead update that row's fraud flag to the new action code and its report date to today's database date, and on success return status 'S' with 'UPDT SUCCESS'.
  • REQ-F-145 If adding the fraud row fails with any database error other than a duplicate key, then the system shall return status 'F' with the message ' SYSTEM ERROR DB2: CODE:' followed by the SQL code and ', STATE: ' and the SQL state.
  • REQ-F-146 If updating the existing fraud row fails, then the system shall return status 'F' with the message ' UPDT ERROR DB2: CODE:' followed by the SQL code and ', STATE: ' and the SQL state.
  • REQ-F-086 When the operator presses Enter with a numeric Account ID, the system shall save it as the current account for the session, process any row selection, reset to the first page, and reload the account details and the first five pending authorizations.
  • REQ-F-088 When a numeric account number is present, entered with Enter or passed in from the menu, the system shall look up the account's card cross-reference, account record, customer record and pending-authorization summary, and shall load the first page of authorizations only when a summary exists for the account.
  • REQ-F-109 When Enter is pressed with a numeric account number, the system shall take the first of the five list rows, from top to bottom, that has a selection code and record that code and the row's authorization key, and if no row is marked shall clear the selection.
  • REQ-F-110 When the recorded selection code is 'S' or 's' and the row holds an authorization key, the system shall pass control to the authorization detail program COPAUS1C with that key, recording COPAUS0C and transaction CPVS as where the user came from.
  • REQ-F-115 When the authorization detail screen is first opened from the pending authorization list, or the user presses Enter, the system shall read the selected authorization for the account and display its details.
  • REQ-F-116 When a selected authorization has been read without error, the system shall show the card number, the original authorization date (stored as YYMMDD) as MM/DD/YY and the original time (stored as HHMMSS) as HH:MM:SS.
  • REQ-F-120 When the authorization is shown and its fraud flag is 'F' (fraud confirmed) or 'R' (fraud removed), the system shall show the flag, '-', and the fraud report date, and otherwise shall show '-'.
  • REQ-F-128 When the user presses PF3 on the detail screen, the system shall return to the authorization summary list (COPAUS0C).

User Access Control

J14 Sign in and choose a function

Card services agent · Sign in to CardDemo with a user ID and password, get to the main menu, pick the function needed and sign off at the end.

  1. Login Screen COSGN0A: Start CardDemo, type your user ID and password and press Enter to sign in.
  2. Login Screen COSGN0A: If you see an error such as a missing field, user not found or wrong password, fix the entry and press Enter again.
  3. Main Menu COMEN1A: Signing in as a regular user opens the main menu. Type the number of the function you need and press Enter.
  4. Main Menu COMEN1A: If the option is not valid, is for administrators only, or is not available yet, read the message and enter a different option.
  5. Login Screen COSGN0A: Press F3 on the main menu to sign off and go back to the sign-on screen.
3 capabilities, 29 requirements
  • Sign on to CardDemo rec/UserAccessControl/UserSecurityProfileManagement#1
  • Register online CardDemo programs and transactions rec/UserAccessControl/SystemOperationsandMaintenance#1
  • Navigate the Main Menu with access control rec/UserAccessControl/SystemOperationsandMaintenance#3
  • REQ-F-001 The system shall define the login program COSGN00C in the CICS group CARDDEMO with data location ANY and transaction code CC00.
  • REQ-F-001 When the sign-on transaction (CC00) starts with no data passed in from a previous screen, the system shall clear the error state and message and show a blank sign-on screen with the cursor on the User ID field.
  • REQ-F-002 When the user presses Enter on the sign-on screen, the system shall check the entered User ID and Password and try to sign the user on.
  • REQ-F-003 When Enter is pressed and the User ID is blank, the system shall redisplay the sign-on screen with 'Please enter User ID ...' and the cursor on the User ID field, without reading the user security file.
  • REQ-F-004 When Enter is pressed with a User ID but a blank Password, the system shall redisplay the sign-on screen with 'Please enter Password ...' and the cursor on the Password field, without reading the user security file.
  • REQ-F-005 When both User ID and Password are entered, the system shall convert both to upper case, keep the User ID for the session, and look the user up in the user security file (USRSEC) by that User ID.
  • REQ-F-006 If no user security record exists for the entered User ID, then the system shall redisplay the sign-on screen with 'User not found. Try again ...' and the cursor on the User ID field.
  • REQ-F-007 If reading the user security file fails for any reason other than the user not being found, then the system shall redisplay the sign-on screen with 'Unable to verify the User ...' and the cursor on the User ID field.
  • REQ-F-008 If the user is found but the stored password differs from the upper-cased entered password, then the system shall redisplay the sign-on screen with 'Wrong Password. Try again ...' and the cursor on the Password field.
  • REQ-N-001 If a user enters a wrong password, then the system shall allow another attempt, with no limit on the number of failed attempts, no account lockout and no record of the failure.
  • REQ-F-009 When the user is found and the stored password equals the upper-cased entered password, the system shall record the session context for the next program: coming from transaction 'CC00' and program 'COSGN00C', the user ID in upper case, the user's type from the user security file, and a program context of 0 (first entry).
  • REQ-F-011 When sign-on succeeds and the user's type is anything other than 'A', the system shall transfer control to the regular user main menu (COMEN01C), not the admin menu, passing the session context.
  • REQ-F-012 When the user presses PF3 on the sign-on screen, the system shall clear the terminal, show the plain-text message 'Thank you for using CardDemo application...' and end without starting the sign-on transaction again.
  • REQ-F-013 When the user presses any key other than Enter or PF3 on the sign-on screen, the system shall redisplay the sign-on screen with the message 'Invalid key pressed. Please see below...'.
  • REQ-F-014 When the sign-on screen is shown (first entry, an input error or an invalid key), the system shall wait for the user's next key under the sign-on transaction CC00, passing the CardDemo session data forward.
  • REQ-F-012 When the Main Menu (transaction CM00) is started without session data, the system shall show no menu and transfer the user to the sign-on screen (COSGN00C).
  • REQ-F-013 When the Main Menu is started with session data whose program state is not 're-enter' (for example straight after sign-on or on return from a function screen), the system shall mark the state as re-enter, clear the screen and show the menu without reading any input.
  • REQ-F-014 When the Main Menu is started with the program state already 're-enter', the system shall read the screen and handle the key pressed.
  • REQ-F-015 The system shall show one Main Menu line per menu option (11 options), each made of the option number, '. ' and the option name, in the screen slot for that option's position.
  • REQ-F-016 When the user presses Enter on the Main Menu after it has been displayed, the system shall drop trailing blanks from the typed option, right-justify it in two positions, fill blanks with zeros, show the resulting two-digit option number back on the screen and process that option number.
  • REQ-F-017 When the user presses PF3 on the Main Menu, the system shall return the user to the sign-on screen (COSGN00C).
  • REQ-F-018 If the user presses any key other than Enter or PF3 on the Main Menu, then the system shall redisplay the menu with the message 'Invalid key pressed. Please see below...'.
  • REQ-F-019 If the option number is not numeric, is zero, or is greater than the number of menu options (11), then the system shall redisplay the menu with the message 'Please enter a valid option number...' and select nothing.
  • REQ-F-020 If a regular user ('U') selects an option whose user type is 'A', then the system shall flag an error and redisplay the menu with 'No access - Admin Only option... '.
  • REQ-F-021 When the selected option's program name starts with 'DUMMY', the system shall redisplay the menu with the green message 'This option <name> is coming soon ...'.
  • REQ-F-022 When a valid option whose program is neither COPAUS0C nor a placeholder starting with 'DUMMY' is selected, the system shall record transaction 'CM00' and program 'COMEN01C' as the origin, reset the target screen's context to zero, and transfer the user to that option's program with the session data.
  • REQ-F-023 While CICS reports program COPAUS0C as defined, when a valid option whose program is COPAUS0C (option 11, 'Pending Authorization View') is selected, the system shall record transaction 'CM00' and program 'COMEN01C' as the origin, reset the target screen's context, and transfer the user to COPAUS0C with the session data.
  • REQ-F-024 If a valid option whose program is COPAUS0C is selected and CICS does not report that program as defined, then the system shall redisplay the menu with the red message 'This option <option name> is not installed...'.
  • REQ-F-025 When the Main Menu finishes an interaction without transferring to another program, the system shall end the task and wait for the user's next key under transaction 'CM00', passing the session data along.

J15 Find a user and update their profile

Administrator · Find a user in the user list and correct their name, password or user type.

  1. Login Screen COSGN0A: Sign in with an administrator user ID and password.
  2. Admin Menu COADM1A: The admin menu opens. Enter option 1 (User List) and press Enter.
  3. List Users COUSR0A: Type a user ID to start the list from, or leave it blank, and press Enter. Use F8 and F7 to page forward and back ten users at a time.
  4. List Users COUSR0A: Type U next to the user you want to change and press Enter.
  5. Update User COUSR2A: Check the user's details, which are already filled in. Change the first name, last name, password or user type and press F5 to save.
  6. Update User COUSR2A: If a required field is blank or nothing was changed, read the message, correct the entry and press F5 again until 'has been updated' appears.
  7. Admin Menu COADM1A: Press F3 to save and exit, or F12 to cancel, and go back to the admin menu.
  8. Login Screen COSGN0A: Press F3 on the admin menu to sign off.
7 capabilities, 61 requirements
  • Sign on to CardDemo rec/UserAccessControl/UserSecurityProfileManagement#1
  • Navigate the Admin Menu rec/UserAccessControl/SystemOperationsandMaintenance#2
  • Browse the user list rec/UserAccessControl/UserSecurityProfileManagement#2
  • Select a user to update or delete rec/UserAccessControl/UserSecurityProfileManagement#3
  • Look up and update a user rec/UserAccessControl/UserSecurityProfileManagement#5
  • Open the User Update screen and look up a user rec/UserAccessControl/UserSecurityProfileManagement#6
  • Save changes to a user profile rec/UserAccessControl/UserSecurityProfileManagement#7
  • REQ-F-002 When the user presses Enter on the sign-on screen, the system shall check the entered User ID and Password and try to sign the user on.
  • REQ-F-005 When both User ID and Password are entered, the system shall convert both to upper case, keep the User ID for the session, and look the user up in the user security file (USRSEC) by that User ID.
  • REQ-F-009 When the user is found and the stored password equals the upper-cased entered password, the system shall record the session context for the next program: coming from transaction 'CC00' and program 'COSGN00C', the user ID in upper case, the user's type from the user security file, and a program context of 0 (first entry).
  • REQ-F-010 When sign-on succeeds and the user's type is 'A' (administrator), the system shall transfer control to the administrator menu (COADM01C), passing the session context.
  • REQ-F-004 When the Admin Menu is entered with session data and it is not a re-entry from its own screen, the system shall clear any error and message, mark the session as re-entry, and display a fresh, empty administration menu.
  • REQ-F-005 The system shall list each admin option (currently 6) on its own line in order, as the option number, '. ' and the option name, whenever the Admin Menu is displayed.
  • REQ-F-006 When the operator presses Enter on the Admin Menu, the system shall read the option entry ignoring trailing blanks, right-align it, turn remaining blanks into zeros, treat it as a two-digit option number, show that number back in the option field and process that option number.
  • REQ-F-007 If the operator presses a key other than Enter or PF3 on the Admin Menu, then the system shall flag an error and redisplay the menu with the message 'Invalid key pressed. Please see below...'.
  • REQ-F-008 If the option entered on the Admin Menu is not numeric, is zero, or is greater than the number of admin options (6), then the system shall flag an error and redisplay the menu with the message 'Please enter a valid option number...'.
  • REQ-F-009 When an operator selects a valid Admin Menu option (1 to 6) whose program name does not start with 'DUMMY', the system shall record the Admin Menu as the origin (transaction 'CA00', program 'COADM01C'), reset the target screen's context to first entry, and transfer control to that option's program with the session data.
  • REQ-F-010 If the program of a selected Admin Menu option is not defined in CICS, then the system shall redisplay the menu with the green message 'This option is not installed ...' (without the option name) and wait for the next entry.
  • REQ-F-011 When a selected Admin Menu option's program name starts with 'DUMMY', the system shall redisplay the menu with the green message 'This option is not installed ...'.
  • REQ-N-001 The system shall not check the signed-on user's type within the Admin Menu, relying on sign-on to send only admin users ('A') to it, so that a session reaching it with user type 'U' can still open the user-security functions.
  • REQ-F-015 When the User List program is started without any session data, the system shall transfer the operator to the sign-on program (COSGN00C).
  • REQ-F-016 When the User List program is entered for the first time in a session, the system shall mark the session as re-entered, clear the screen fields and show the first page of up to ten users from the start of the user file.
  • REQ-F-017 When the operator presses a key on the User List screen, the system shall process the selection or filter on Enter, return to the Admin menu (COADM01C) on PF3, show the previous page on PF7 and the next page on PF8.
  • REQ-F-018 When the operator presses any key other than Enter, PF3, PF7 or PF8, the system shall redisplay the User List screen with the message 'Invalid key pressed. Please see below...' and the cursor on the user ID entry field.
  • REQ-F-019 When the selection step completes without transferring control, the system shall start the list at the entered user ID (or from the beginning when none was entered), reset the page number to 0, build the page forward, and clear the user ID entry when no error occurred.
  • REQ-F-020 When a user record is read into a row of the user list page (rows 1 to 10), the system shall show that user's ID, first name, last name and user type in that row.
  • REQ-F-021 When a user is placed in row 1 of the page, the system shall remember that user ID as the page's first user, which PF7 uses as the starting point to page backward.
  • REQ-F-022 When a user is placed in row 10 of the page, the system shall remember that user ID as the page's last user, which PF8 uses as the starting point to page forward.
  • REQ-F-023 When the operator presses PF8 and a next page is marked, the system shall start from the last user shown on the current page (row 10), skip that user, clear the rows, and show up to the next ten users in user ID order.
  • REQ-F-024 If the operator presses PF8 while no next page is marked, then the system shall show the message 'You are already at the bottom of the page...' and redisplay the current screen without clearing it.
  • REQ-F-025 When a forward page fills all ten rows, the system shall add 1 to the page number and read one user ahead, marking a next page ('Y') if another user exists and no next page ('N') if not.
  • REQ-F-026 When a forward page reaches the end of the user file before ten rows are filled, the system shall mark no next page, add 1 to the page number only if at least one user was shown, and show 'You have reached the bottom of the page...'.
  • REQ-F-027 If the user file cannot be read during forward paging (any response other than normal or end of file), then the system shall show 'Unable to lookup User...' and stop filling rows.
  • REQ-F-028 When the operator presses PF7 and the page number is greater than 1, the system shall start from the first user shown on the current page, skip that user, and fill the rows from row 10 upward to row 1 with the up to ten users that come before it in user ID order, after clearing all rows.
  • REQ-F-029 If the operator presses PF7 and the list is on page 1 or lower, then the system shall show the message 'You are already at the top of the page...' and redisplay the current screen without clearing it.
  • REQ-F-030 When the operator presses PF7, the system shall mark that a next page exists (next-page flag set to 'Y'), even when PF7 is refused at the top of the list.
  • REQ-F-031 When a PF7 backward page has filled all ten rows, the system shall look one user further back and lower the page number by 1 if such a user exists and the page is above 1, otherwise set the page number to 1 and show 'You have reached the top of the page...', leaving the page number unchanged if fewer than ten earlier users were found.
  • REQ-F-032 If the user file cannot be read during backward paging (any response other than normal or end of file), then the system shall show 'Unable to lookup User...' and stop filling rows.
  • REQ-F-033 When the User List program finishes a screen interaction without transferring elsewhere, the system shall wait for the operator's next key under transaction CU00, keeping the session data including the page number, first and last user shown and next-page flag.
  • REQ-F-034 When the operator presses Enter on the user list and one or more of the 10 rows has a selection code entered, the system shall take only the first marked row from the top, saving its selection code and user ID as the pending selection, and ignore marks on later rows.
  • REQ-F-035 When the operator presses Enter and no row has a selection code entered, the system shall clear the pending selection code and selected user ID to blanks so that no update or delete screen is opened, and shall just refresh the list.
  • REQ-F-036 When the pending selection code is 'U' or 'u' and a user ID was selected, the system shall transfer to the Update User program (COUSR02C), passing the selected user ID with from-transaction 'CU00', from-program 'COUSR00C' and context 0.
  • REQ-F-038 If a row with a user ID is selected with an action code other than 'U', 'u', 'D' or 'd', then the system shall not open any user screen, shall show the message 'Invalid selection. Valid values are U and D', and shall place the cursor on the user ID search field.
  • REQ-F-051 If the administrator asks to look up a user (presses Enter) with User ID blank, then the system shall show 'User ID can NOT be empty...' with the cursor on User ID and not look the user up.
  • REQ-F-052 When a lookup is made with a non-blank User ID, the system shall clear the name, password and type fields and read that user from the user security file (USRSEC), holding it for update.
  • REQ-F-053 If the administrator saves and the entered User ID does not exist, then the system shall report 'User ID NOT found...' with the cursor on User ID but still try to save, so the last message shown is 'Unable to Update User...'.
  • REQ-F-054 When the Update User program is started without any session data, the system shall transfer to the sign-on program (COSGN00C).
  • REQ-F-055 When the Update User screen is entered for the first time from another screen and a user was selected there (such as the user list), the system shall clear the message, pre-fill User ID with the selected user, look that user up straight away and show its details.
  • REQ-F-056 When the Update User screen is entered for the first time and no user was selected, the system shall show an empty screen with the cursor on User ID.
  • REQ-F-057 When the administrator presses Enter on the Update User screen, the system shall look up the entered User ID and show its details.
  • REQ-F-058 When the user is found, the system shall show the stored First Name, Last Name, Password and User Type and the message 'Press PF5 key to save your updates ...' in neutral colour.
  • REQ-F-059 If no user exists for the entered User ID, then the system shall show 'User ID NOT found...' with the cursor on User ID and leave the detail fields blank.
  • REQ-F-060 If reading the user fails for any reason other than not found, then the system shall show 'Unable to lookup User...' and log the response codes.
  • REQ-F-061 When the administrator presses PF4 on the Update User screen, the system shall clear User ID, First Name, Last Name, Password, User Type and the message, and put the cursor on User ID.
  • REQ-F-062 When the administrator presses PF12 on the Update User screen, the system shall go to the Admin menu (COADM01C) without saving.
  • REQ-F-063 If the administrator presses any key other than Enter, PF3, PF4, PF5 or PF12 on the Update User screen, then the system shall redisplay the screen with the message 'Invalid key pressed. Please see below...'.
  • REQ-F-064 When the administrator presses PF5, the system shall validate and save the changes and stay on the Update User screen.
  • REQ-F-065 When the administrator presses PF3, the system shall attempt the same validation and save as PF5 and then always return to the program that called it, or to the Admin menu (COADM01C) if no caller is recorded.
  • REQ-F-066 If a save is requested (PF5, or PF3 save-and-exit) and the User ID is blank, then the system shall not save, show 'User ID can NOT be empty...' and place the cursor on User ID.
  • REQ-F-067 If a save is requested with a User ID but a blank First Name, then the system shall not save, show 'First Name can NOT be empty...' and place the cursor on First Name.
  • REQ-F-068 If a save is requested with User ID and First Name filled but a blank Last Name, then the system shall not save, show 'Last Name can NOT be empty...' and place the cursor on Last Name.
  • REQ-F-069 If a save is requested with User ID and both names filled but a blank Password, then the system shall not save, show 'Password can NOT be empty...' and place the cursor on Password.
  • REQ-F-070 If a save is requested with all other fields filled but a blank User Type, then the system shall not save, show 'User Type can NOT be empty...' and place the cursor on User Type.
  • REQ-F-071 If several fields are blank when a save is requested, then the system shall report only the first in the order User ID, First Name, Last Name, Password, User Type.
  • REQ-F-072 If PF3 is pressed with a blank required field, then the system shall skip the save but still return to the calling screen (or the admin menu), so the validation message is not left on view.
  • REQ-F-073 When the administrator saves (PF5 or PF3) and User ID, First Name, Last Name, Password and User Type are all filled in, the system shall re-read the stored user, replace each of First Name, Last Name, Password and User Type that differs from the screen, and save the user record only if at least one of them changed.
  • REQ-F-074 If the administrator saves and none of First Name, Last Name, Password or User Type differs from the stored user, then the system shall not save anything and shall show 'Please modify to update ...' in red.
  • REQ-F-075 When the changed user record is saved successfully, the system shall show 'User <user ID> has been updated ...' in green.

J16 Add a new user

Administrator · Create a user profile with a name, user ID, password and user type so the new person can sign in to CardDemo.

  1. Login Screen COSGN0A: Sign in with an administrator user ID and password.
  2. Admin Menu COADM1A: Enter option 2 (User Add) and press Enter.
  3. Add User COUSR1A: Enter the first name, last name, user ID, password and user type (A for admin, U for user), then press Enter to add the user.
  4. Add User COUSR1A: If a field is empty or the user ID already exists, correct it and press Enter again until 'has been added' appears. Press F4 to clear the form and add another user.
  5. Admin Menu COADM1A: Press F3 to go back to the admin menu.
3 capabilities, 16 requirements
  • Sign on to CardDemo rec/UserAccessControl/UserSecurityProfileManagement#1
  • Navigate the Admin Menu rec/UserAccessControl/SystemOperationsandMaintenance#2
  • Add a new user rec/UserAccessControl/UserSecurityProfileManagement#4
  • REQ-F-010 When sign-on succeeds and the user's type is 'A' (administrator), the system shall transfer control to the administrator menu (COADM01C), passing the session context.
  • REQ-F-006 When the operator presses Enter on the Admin Menu, the system shall read the option entry ignoring trailing blanks, right-align it, turn remaining blanks into zeros, treat it as a two-digit option number, show that number back in the option field and process that option number.
  • REQ-F-009 When an operator selects a valid Admin Menu option (1 to 6) whose program name does not start with 'DUMMY', the system shall record the Admin Menu as the origin (transaction 'CA00', program 'COADM01C'), reset the target screen's context to first entry, and transfer control to that option's program with the session data.
  • REQ-F-039 When the administrator presses Enter on the Add User screen, the system shall check the fields in the order First Name, Last Name, User ID, Password, User Type and stop at the first one that is blank, writing no record.
  • REQ-F-040 If First Name is blank, then the system shall redisplay the screen with 'First Name can NOT be empty...' and the cursor on First Name.
  • REQ-F-041 If First Name is filled and Last Name is blank, then the system shall redisplay the screen with 'Last Name can NOT be empty...' and the cursor on Last Name.
  • REQ-F-042 If both names are filled and User ID is blank, then the system shall redisplay the screen with 'User ID can NOT be empty...' and the cursor on User ID.
  • REQ-F-043 If both names and User ID are filled and Password is blank, then the system shall redisplay the screen with 'Password can NOT be empty...' and the cursor on Password.
  • REQ-F-044 If names, User ID and Password are filled and User Type is blank, then the system shall redisplay the screen with 'User Type can NOT be empty...' and the cursor on User Type.
  • REQ-F-045 The system shall accept any non-blank single character as User Type and save it as entered, although the screen offers only 'A' (Admin) and 'U' (User).
  • REQ-F-046 When all five fields are filled, the system shall build the user security record from the entered User ID, first name, last name, password and user type and attempt to add it to the user security file (USRSEC).
  • REQ-N-002 When an administrator adds a new user, the system shall store the password in the user security file exactly as typed, with no encryption or hashing, in an 8-character field (SEC-USR-PWD).
  • REQ-F-047 When the new user record is added successfully, the system shall clear all entry fields and show 'User <id> has been added ...' in green.
  • REQ-F-048 If a user with the entered User ID already exists in the user security file (duplicate key or record response), then the system shall add nothing, leave the existing record unchanged and redisplay the screen with 'User ID already exist...' and the cursor on User ID.
  • REQ-F-049 If adding the user record fails for any other reason, then the system shall redisplay the screen with 'Unable to Add User...' and the cursor on First Name.
  • REQ-F-050 If the administrator presses a key other than Enter, PF3 or PF4 on the Add User screen, then the system shall redisplay the screen with 'Invalid key pressed. Please see below...' and the cursor on First Name, adding no user.

J17 Remove a user

Administrator · Find a user who should no longer have access and delete their profile so they can no longer sign in.

  1. Login Screen COSGN0A: Sign in with an administrator user ID and password.
  2. Admin Menu COADM1A: Enter option 1 (User List) and press Enter.
  3. List Users COUSR0A: Find the user, paging with F7 and F8 if needed, type D next to them and press Enter.
  4. Delete User COUSR3A: Check the user's name and type, which are filled in, to make sure it is the right person, then press F5 to delete them.
  5. Delete User COUSR3A: If the user ID is empty or not found, correct it, press Enter to look the user up again, then press F5.
  6. Admin Menu COADM1A: Press F3 to go back to the admin menu.
5 capabilities, 24 requirements
  • Sign on to CardDemo rec/UserAccessControl/UserSecurityProfileManagement#1
  • Navigate the Admin Menu rec/UserAccessControl/SystemOperationsandMaintenance#2
  • Browse the user list rec/UserAccessControl/UserSecurityProfileManagement#2
  • Select a user to update or delete rec/UserAccessControl/UserSecurityProfileManagement#3
  • Delete a user rec/UserAccessControl/UserSecurityProfileManagement#8
  • REQ-F-010 When sign-on succeeds and the user's type is 'A' (administrator), the system shall transfer control to the administrator menu (COADM01C), passing the session context.
  • REQ-F-006 When the operator presses Enter on the Admin Menu, the system shall read the option entry ignoring trailing blanks, right-align it, turn remaining blanks into zeros, treat it as a two-digit option number, show that number back in the option field and process that option number.
  • REQ-F-009 When an operator selects a valid Admin Menu option (1 to 6) whose program name does not start with 'DUMMY', the system shall record the Admin Menu as the origin (transaction 'CA00', program 'COADM01C'), reset the target screen's context to first entry, and transfer control to that option's program with the session data.
  • REQ-F-019 When the selection step completes without transferring control, the system shall start the list at the entered user ID (or from the beginning when none was entered), reset the page number to 0, build the page forward, and clear the user ID entry when no error occurred.
  • REQ-F-020 When a user record is read into a row of the user list page (rows 1 to 10), the system shall show that user's ID, first name, last name and user type in that row.
  • REQ-F-023 When the operator presses PF8 and a next page is marked, the system shall start from the last user shown on the current page (row 10), skip that user, clear the rows, and show up to the next ten users in user ID order.
  • REQ-F-028 When the operator presses PF7 and the page number is greater than 1, the system shall start from the first user shown on the current page, skip that user, and fill the rows from row 10 upward to row 1 with the up to ten users that come before it in user ID order, after clearing all rows.
  • REQ-F-034 When the operator presses Enter on the user list and one or more of the 10 rows has a selection code entered, the system shall take only the first marked row from the top, saving its selection code and user ID as the pending selection, and ignore marks on later rows.
  • REQ-F-037 When the pending selection code is 'D' or 'd' and a user ID was selected, the system shall transfer to the Delete User program (COUSR03C), passing the selected user ID with from-transaction 'CU00', from-program 'COUSR00C' and context 0.
  • REQ-F-076 When the User Delete transaction (CU03) is started with no session data, the system shall send the user to the sign-on program (COSGN00C).
  • REQ-F-077 While session data is present, the system shall allow lookup and deletion without checking that the signed-on user is an administrator (type 'A'), relying on the program being offered only from the admin menu and user list.
  • REQ-F-078 When the User Delete screen is first opened and a user was selected on the User List screen, the system shall put that user ID in the field and look the user up straight away, showing the details or the lookup error.
  • REQ-F-079 When the User Delete screen is first opened with no user selected, the system shall show an empty screen with the cursor in the user ID field.
  • REQ-F-080 When the administrator presses Enter with a user ID that exists in the user security file (USRSEC), the system shall show that user's first name, last name and user type with the message 'Press PF5 key to delete this user ...' in neutral colour.
  • REQ-F-081 If the administrator presses Enter with the user ID blank, then the system shall show 'User ID can NOT be empty...' and not look up any user.
  • REQ-F-082 If the administrator presses Enter with a user ID that is not in the user security file, then the system shall show 'User ID NOT found...' and place the cursor on the user ID field.
  • REQ-F-083 If reading the user security file fails for any reason other than not found, then the system shall show 'Unable to lookup User...'.
  • REQ-F-084 The system shall not require a prior Enter lookup: PF5 deletes the user whose ID is in the user ID field, without a separate confirmation step.
  • REQ-F-085 When the administrator presses PF5 with a user ID that exists in the user security file, the system shall read the record for update and delete it, clear the user ID, name and type fields, and show 'User <id> has been deleted ...' in green.
  • REQ-F-086 If the administrator presses PF5 with the user ID blank, then the system shall show 'User ID can NOT be empty...' and not delete any user.
  • REQ-F-087 If the administrator presses PF5 with a user ID that is not in the user security file, then the system shall report 'User ID NOT found...' and still attempt the delete, so the final screen may show 'Unable to Update User...' instead.
  • REQ-F-088 If deleting the user record fails for a reason other than not found, then the system shall show 'Unable to Update User...'.
  • REQ-F-089 When the administrator presses PF3 on the Delete User screen, the system shall return to the program that opened it (the user list COUSR00C or the admin menu COADM01C), or to the admin menu COADM01C when no calling program is recorded.
  • REQ-F-090 When the administrator presses PF4 on the User Delete screen, the system shall clear the user ID, first name, last name, type and message and redisplay the empty screen.

Screens in no journey

What the checks still found