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...

Hey,

What is the difference between SCAN,CHECK,XLATE OPCODES?
please give me the answeres with example in real time
senario?

Answer Posted / swadesh

SCAN:this allows to locate a character or string of
character within a character field.e.g if we want a string
like 'abc'exist in a base string like 'mnoabcd'or not.
fact1 opcode fact2 result hi lo eq
'abc' scan 'mnoabcd' var-name 90
value of var_name=4 & indicator 90 will be on.
CHECK:this is just opposite of scan.findout absence of
character or string of character.
fact1 opcode fact2 result hi lo eq
'123456' check '111*1' var-name 90
value of var_namr=4 & indicator 9 will be off on this
position.
XLATE:convert to upercase charecter to lowercase character
or vice-varsa.
declare in input specification as record identification
codes.
I 'ABCDEFGHIJKLMNOPQRSTUV C UC
I WXYZ'
I 'abcdefghijklmnopqrstuv C LC
wxyz'
then uses in c-spec.
c UC:LC xlate any-name result length_dec
if fact2 is-RAHUL u will get rahul.

Is This Answer Correct ?    40 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1686


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

1622


what are the two record formats a subfile contain ?

1916


what are different types of substems?

2269


why is as/400 called object oriented machine?

1709


What is file information data structure(infds) in as400?

1478


can you have multiple key lists for a single file ?

1702


What Is Ddm ?

1707


In 'o' Specs What Is The Opcode For Write?

1216


during input operation which indicator position is seton if there is a record lock?

1602


Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out

3477


what are the different types of data areas?

1748


What is diff between EVAL & MOVE?

1585


what is rpg ?

1659


can we use ASCII ,CDUP,SENDPASV commands in SFTP?

3664