PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Yes/No type questions asked in Symnatech

View previous topic View next topic Go down

Yes/No type questions asked in Symnatech

Post  razuk_r on Fri Dec 11, 2009 10:31 pm

Some Yes/No type questions and are asked in symnatech qualifying interview:

1. If a PF is created with a string(char) type field, the DSPFFD will display the field description as *VARYING??

2. Every service program has main line code?

3. If the parameter of a service program is changed then the signature of service program also changes?

4. A service program can be called from command line.

5. If the order of subprocedures in a service program changes, then the signature of service program also changes?

6. There are at least 3 ways to export a variable from a service program?

7. Prototypes in CallP helps in avoiding runtime errors.

8. Binder language is requried to compile a service program.

9. If a service program is changed then all the calling programs needs to be recompiled?

Please post your answers here with reasons.

razuk_r

Posts : 65
Join date : 2009-07-31
Location : Chennai

View user profile

Back to top Go down

Some Yes/No type questions and are asked in symnatech qualifying interview

Post  kushaalrathi on Sun Dec 26, 2010 6:46 pm

1. If a PF is created with a string(char) type field, the DSPFFD will display the field description as *VARYING? No it won’t until varchar is used.

2. Every service program has main line code? No it doesn’t as its collection of modules and cannot be called.

3. If the parameter of a service program is changed then the signature of service program also changes? Yes it does provided we compile the ILE program or else it won’t and change and we will get signature violation error

4. A service program can be called from command line. No, we cannot call service program

5. If the order of subprocedures in a service program changes, then the signature of service program also changes? Not required as it uses the signature created for every subprocedures and not worried about the location where it is stored.

7. Prototypes in CallP helps in avoiding runtime errors. Yes it does coz it allows parameter validation at compile time

8. Binder language is requried to compile a service program. Yes, we have to use binder language to compile as it will help to overcome signature issue and it maintains more than one signature

9. If a service program is changed then all the calling programs needs to be recompiled?
Depends if you change the instruction then no need to do any changes to calling programs if any changes in the interface then we need to recompile as it ends up in signature violation error if not changed.

kushaalrathi

Posts : 12
Join date : 2010-12-26

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum