what is the difference between seton lr and retrn?

Answer Posted / ravi kumar shukla

If you specify SETON LR, all the files used in program will be closed.

If you specify RETRN, all the files used in program will remain open.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sflpag and sflsiz ?

2296


any one have give AS400 study material? pls pass it to gopalsai789@gmail.com

1233


how does union file maintains record formats?

632


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

662


what is the difference between *like and *namvar ?

1565






what is the purpose of overrides?

1027


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

595


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2415


Why we are not able to perform insert delete and update operation in Join logical file?

937


define the rcvf command?

1000


What Is The Purpose Of The "n" In The Following Calculation Specification?

678


what does check opcode is used?

976


Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

1934


how to declare a constant variable in the freeformat?

965


What is compiler directive in as400? Give example of compiler directive.?

578