Skip to content
Marc & Structures
Index

Save your progress

Enter your email and we will send a secure sign-in link. There is no password and the first link creates your account.

Error hunt ~6 min · ~26 min remaining

Diagnose macros

Identify incorrect paths, out-of-contract arguments, and incorrectly propagated KEYOPT settings.

Bug hunt

Open 08_bug_hunt.mac. It contains five deliberate defects. Complete the table for each one:

ErrorSymptomCheckCauseMinimum fix
1Immediate /EOF/STATUS,PARMARG1 ≤ 0Correct the *USE contract
2Macro not found.out / pathIncorrect name or folderCopy all four .mac files to the cwd
3Zero loadn_tip=0Empty componentReview CM and SELTOL
4Nonsensical equilibriumActive selectionResidual selectionALLSEL between phases
5Garbage valuesn_setsExtraction without SETActivate the set before *GET
Quick check

/INPUT cannot find 08_build.mac. What should you check first?

Professional incident

Incident M08: diagnose before editing

The macro fails in a clean directory.

Execution cycle

  1. 1 Run the broken script in a clean folder.
  2. 2 Preserve the original .out.
  3. 3 Write one causal hypothesis and make one change.
  4. 4 Compare evidence before and after.
Evidence to retain

Graduated hints

1 · Concept hint

Find the first broken contract.

2 · Command hint

Inspect state related to /CLEAR, /INPUT, and *CFOPEN.

3 · Explained solution

Compare with the module deliverable and explain why the corrected state restores the contract.

Your reflection stays in this browser.