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 the as400 called now?

953


what is the maximum number of records you can specify in a display file?

1812


what is join logical file?

1812


If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?

1869


what keyword must be used with protect keyword ?

1702


What is data structure in as400? What is the use of data structure?

1040


Difference Between Ca & Cf?

1064


what is the purpose of ovrdta and ovrata keywords ?

1462


How to Define a Procedure in RPG?

1690


how many files can be defined in f specs?

2285


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

1746


Difference between NOPASS & OMIT?

1797


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1675


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?

1070


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

1027