7. In the case of static call ,the calling pgm is linkedited into the called pgm once u compile the calling pgm.so u will not get any abend for static call if ur not compiling the called pgm.
In the case of dynamic call, the calling pgm and called pgm exist as seperate load modules so u must compile both of them.If u fail to compile the called pgm ,u will get S806 abend load module not found.
I think, you can validate the account no in this way,
Assuming your account number is 9(10). (Numeric field).
if (accno(1:1) <> accno(2:1)) OR (accno(9:1) <> accno(10:1))
Accept the Record
Any Suggestions on this....
3) CICS would check PCT table for transid ABCD, and looks at the corresponding mapset/program name. And then it checks PPT table to see where the mapset/program load module resides...and it loads the program into address space for execution.
4) I dont think CEDF is line by line execution. You have got to enter CICS
commands while debugging one by one as present in your program....it executes all the lines at one time that are present in between the CICS commands. You can use it to follow the internal flow from one CICS command-level statement to another.
Correct me if i am wrong...
5) If you want to set block size explicitly, and for the flexibility of your
program, as per the guidelines itz better to follow by coding BLOCK CONTAINS 0 RECORDS in your source program. Also you code the same for existing blocked datasets. Also sometimes you want to allow z/OS to supply a system-determined block size, to use such feature u must code this.
6) when you want to explicitly set the block size, then you have to code BLKSIZE in your jcl DD statement.
in my first question answer, before using reference modification, u have to move numeric account number "9(10)" to alphanumeric variable x(10) and then use that if-else condition. Missed this point before.