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

how many specifications are there in rpg/400? What are they?

2014


how can you detect overflow for a print program that prints multiple lines per cycle?

1733


what are the various types of device files?

1688


Explain The Keywords Edtcde & Edtwrd?

1403


how do u compile rpgle program?

1127


Can level check error occur if we do chgpf?

1258


what are various techniques to pass parameters from one program to another?

1867


What is the as400 called now?

987


A join logical file has how many record formats?

1124


what is a logical file?

1823


how will you find a string using pdm?

1156


how can you detect and handle a record lock situation?

1992


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

1745


How do I remove a flag or check no. or name when a user opens too many sessions?

2209


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2882