As mentioned above, you want successful completion of job IDJOB1 to be a prerequisite to the running of the jobs in table IDGS2. In addition to this, the following logic should apply:
Table IDGS2 will contain jobs IDJOB2, IDJOB3, IDJOB4, and IDJOB5.
IDJOB2 is a prerequisite to IDJOB3, and IDJOB4 is a prerequisite to IDJOB5. However, IDJOB3 is NOT a prerequisite to IDJOB4.
IDJOB2 should be run both at end of week and end of month, and during the exercise.
IDJOB3 should be run following IDJOB2, at end of week or month, and during the exercise, provided that the day is a weekday, that is, on Monday, Tuesday, Wednesday, Thursday, or Friday.
IDJOB4 should be run both at end of week and at end of month, but should also run on several other days of the month: the 8th, the 14th, and, so the exercise will work, the day that you perform this exercise.
IDJOB5 should run following IDJOB4, but only at end of week and end of month, and during the exercise. It should not run the other days specified.