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

what is term cua , saa?

1612


what is a logical file?

1811


how can database records be read without lock ?

1947


What Is Default Data Type (if You Define Decimals '0') In Physical File?

1854


how can we run a batch job?

1175


explain the purpose of keep and assume keywords?

1808


in conjunction with which statements can orxx and andxx conditions be used ?

1868


how will you display a particular page in subfile ?

1691


which cl command can be used at program execution to redirect the file named in an rpg program?

1203


what is a join logical file?

1216


define data structure?

1756


how can I predict the performance of my cgis?

1103


what is the purpose of data structure?

1743


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

1133


when is a tag statement used in rpg?

2238