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

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

difference between clear and reset opcodes

View previous topic View next topic Go down

difference between clear and reset opcodes

Post  muthuraman on Tue Oct 27, 2009 1:42 am

what is the difference between clear and reset opcodes and open and close opcodes?please tell me in real time senario with example please? And What is the use of SFLNXTCHG?Where we can use this?


Regards,
Muthuraman

muthuraman

Posts : 42
Join date : 2009-08-28

View user profile

Back to top Go down

Re: difference between clear and reset opcodes

Post  razuk_r on Mon Dec 14, 2009 7:25 pm

Hi Smile

Clear -> Just clear the content of the field. Ex: Field1 = 'Muthu' After clear Field1 = ' '
Reset -> Clear the content whatever exists and replaced with *Blanks and *Zeros. Ex: If field1 = 123456, after reset Field1 = 000000
Open -> Opcode used to open a file internally inside a program by the user, not by the system automatically.
Close -> Opcode used to close a file internally inside a program by the user, not by the system automatically.
SFLNXTCHG - Record level keyword used in Subfile. Used to read next changed record in s subfile if the user chagned more than one record.

Please correct me, if I'm wrong. Or add the missing concepts which I not mentioned here.

razuk_r

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

View user profile

Back to top Go down

Re: difference between clear and reset opcodes

Post  muthuraman on Fri Dec 18, 2009 2:20 am

you are correct.

muthuraman

Posts : 42
Join date : 2009-08-28

View user profile

Back to top Go down

Re: difference between clear and reset opcodes

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


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