Let's say I wanted to create a custom program which is basically just a copy of MM280 but doesn't require the company parameter to be entered when it's submitted. Making this field not required - is this just a simple change in the PD?
If you are a cobol programmer then this is somewhat a straight forward thing to do. If not then this becomes a challenge.
1. You need to remove any COMPANY references in both $FORMAT and $FIELDS detail entries of the .rpt file
2. You need to remove testing of PRM-COMPANY in the cobol procedure division.
3. If COMPANY is part of a index key definition(table), then you will need to hard code the value of the COMPANY.
Note: if you have only one and only one Company, and it's value is the same all over
table settings then you can simply put a default value in the parameter field in the .rpt file and recompile.
I'm not a cobol programmer, but thankfully we have one here that is looking into it. Thought I'd see what the lawsontalk world had to say about it.
Thanks for your feedback!