Modify CA 2E internal library lists using YWRKLIBLST and YLIBLST
search cancel

Modify CA 2E internal library lists using YWRKLIBLST and YLIBLST

book

Article ID: 449424

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

Library list changes made to IBM i Job Descriptions (JOBD) or user profiles do not persist when entering a CA 2E model. The library list reverts to a previous state, missing PTF libraries such as Y1874AC or Y2874AC. This occurs because CA 2E Toolkit utilities, specifically the YEDTLIBLST command, override the initial library list based on definitions stored in internal file Y1SY/YLIBLST.

Environment

  • CA 2E 8.7
  • CA 2E 8.7.4 Upgrade

Resolution

Update the internal library list definitions within the CA 2E Toolkit to ensure environment-specific libraries remain in the list.

  1. Execute command YWRKLIBLST (Work with Library Lists) from the command line.
  2. Locate the library list assigned to the user profile or the specific model being accessed.
  3. Use the "L" command (Library List) or Option 2 (Change) next to the target list to open the edit interface.
  4. Insert the required libraries (e.g., Y2874AC and Y1874AC).
  5. Position Y2874AC above Y2SY and Y1874AC above Y1SY.
  6. Save changes to update the YLIBLST file.
  7. If record format errors occur (e.g., CPF4011), run YAPYY1DCHG Y1DLIB(Y1SY) Y1DTYPE(*ALL) to synchronize file formats.

Confirm the fix by running YEDTLIBLST within the model to verify the current library stack.