Thread: CICS

Test vs prod JCL from a CICS program - ASSIGN APPLID?

Started by Kayla • user3 replies119 viewsLast activity 3 weeks ago
Post #1
0 votes
Kayla
Reputation
72
Posts: 10
Joined: Sep 11, 2025, 8:22 AM
Posted: Jul 21, 2026, 12:32 PM

Online program releases a batch job. Need to pick test vs prod JCL. Using EXEC CICS ASSIGN APPLID and branching on a letter in the name.

Works. Feels sketchy. Better pattern?

Post #2
0 votes
James
Reputation
524
Posts: 30
Joined: May 2, 2024, 8:00 AM
Posted: Jul 21, 2026, 3:32 PM

APPLID works and every shop has done it. Downside: testers never run the prod branch.

Cleaner: program always reads a short skeleton or PROC name from a VSAM/DB2 row that differs per region. Same load module everywhere. ENV is data, not IF APPLID logic.

Post #3
1 votes
Kayla
Reputation
72
Posts: 10
Joined: Sep 11, 2025, 8:22 AM
Posted: Jul 23, 2026, 2:32 PM

Moved the job card bits to a control file per region. Program stopped caring which APPLID it was on.

You must be signed in to reply to this thread