Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Hi,while writing a program, what is the mandatory
specification using rpg/400 (in7 specification)?And please
tell me what is the difference between SCAN AND CHECK
opcodes?can any body tell me in real time senario?with
example?

Answer Posted / madhusudhan

Difference Between Scan and Check Operators
'D' SCAN 'Hardcore' Res
'D' Check 'Hardcore' Res1
'D' Check 'Dragon' Res2

Res = 4 , Res1 = 1 , Res2 = 2

Scan always gives the position where the search string is
found.
Check always gives the position of First non-existent
Position. Hope the RES1 and RES2 example will give you an
idea of CHECK opcode

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define a output queue?

1494


what is cab?

1101


what is the purpose of putovr (put with explicit override) keyword?

1554


how can database records be read without lock ?

1847


What is difference between rename and prefix?

989


what is a program described file in rpg?

1643


How to reverse a string using RPG?

1389


what is full form for dds?

1152


how you will find an error which is not in the first page of the subfile without using rolldown key?

939


define what a data area is along with a brief example of what it may be used for?

1587


using dfu, user will be able to ___________ from physical file?

935


what are the different commands used in rlu ?

2295


how will you find a string using pdm?

1089


what is the maximum number of subroutines allowed in rpg?

1690


how do you use exceptional write in c specs?

1810