ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM AS400  >>  IBM AS400 AllOther
 
 


 

 
 RPG400 interview questions  RPG400 Interview Questions
 COBOL400 interview questions  COBOL400 Interview Questions
 DB400 interview questions  DB400 Interview Questions
 COOLPLEX interview questions  COOLPLEX Interview Questions
 IBM AS400 AllOther interview questions  IBM AS400 AllOther Interview Questions
Question
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?

 Question Submitted By :: Venki.all
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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?
Answer
# 1
clear and reset both opcodes are used for clearing the 
fields.difference is that clear only clear but reset is 
used for clear  & then initialise the numeric fields with 
zero and character with blanks.

 OPEN & CLOSE opcodes are used for explicitly open and 
close the file.In precise all files are automatically open 
when these are processed by program bt at somepoint if we 
want this should not be implicitly then open we use these 
keywords.    
 SFLNXTCHG :Its always read those records which changed 2 
or more times.this is declared in subfile(SFL) format not 
SUBCTL format.
 
Is This Answer Correct ?    0 Yes 1 No
Swadesh
 
  Re: 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?
Answer
# 2
clear and reset both opcodes are used for clearing the 
fields and then initialise the numeric fields with 
zero and character with blanks difference is that if we 
define any initilialise value for that var in pgm reset 
initialize it by that value but clear initialize it by zero 
or blanks.
 OPEN & CLOSE opcodes are used for explicitly open and 
close the file. 
    
 SFLNXTCHG :Its always read those records which changed  
in uppdatesubfile.this is declared in subfile(SFL) format 
not 
SUBCTL format.
 
Is This Answer Correct ?    3 Yes 0 No
Pravin
 
 
 

 
 
 
Other IBM AS400 AllOther Interview Questions
 
  Question Asked @ Answers
 
Can we use OVRDBF command without using of OPNQRYF ? Or can we use OPNQRYF command without using of OVRDBF command ? HCL2
What is the difference between a Physical File & a Logical? ACS13
In there is 100 no. of recordsin PF, if i delete all the records. Then what is the Size of the PF?  6
WHAT IS THE PURPOSE OF 'CPYTOIMPF' COMMAND? Redington2
How can we find from which source the program has been compiled for a given RPGLE program object?  3
whare we can use IN AND OUT AND UNLCK opcodes?please can any body tell me in real time senario with example  2
how can we view the entire objects and its types in a pgm? Mind-Tree6
write a pgm to read p.f using cl pgm? Ocwen1
Good morning my experts.Im kuppi.im working as a software trainee on AS/400 technology.i have also joined with ibmi5 team.im trying to convert date with cl/400 coding.I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B. if date type is M,now i want to convert date to *JUL format C. sending a Program message with the value of converted date.  1
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? IBM2
write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")  1
What is LEVEL CHECK? TCS3
how to get no of records in file in rpg with out cl cmd iGate2
What are Triggers? Ordain-Solutions8
How do you read a subfile record which is in output mode?  3
What is SDA used for?  6
why we use binding directory and service pgm TCS2
what is the correct about QTEMP library(below mention)? a.it is Unique to a job b.it can be shared between different job c.it can only be deleted by QSECOFR d.Non Please give me the answer for this?  2
CAN WE INSERT FIELD IN PHYSICAL FILE BY USING OPNQRYF?  1
What would be the output of the variable result? D RESULT S 5S O INZ(00011) C EVAL RESULT = %TRIM(RESULT) Please give me the correct answer for this A.0001 b.compile time error c.11 d.Runtime error  2
 
For more IBM AS400 AllOther Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com