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?

Answers were Sorted based on User's Feedback



Hi,while writing a program, what is the mandatory specification using rpg/400 (in7 specification)?..

Answer / swetha p rao

C Spec is mandatory because we need to specify SETON LR in
the program,If (C SETON LR) is not specified program throws
a compilation error.

Is This Answer Correct ?    8 Yes 2 No

Hi,while writing a program, what is the mandatory specification using rpg/400 (in7 specification)?..

Answer / 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

Hi,while writing a program, what is the mandatory specification using rpg/400 (in7 specification)?..

Answer / t thomas

%check validates a string character by character to a
particular set of characters and gives 0 if that character
in the string is not present in our set else give the
position.

%scan checks in a string whethere a string or character is
present in another string and also gives the start position.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More IBM AS400 AllOther Interview Questions

Q.1.What is differences in STRDBG and STRISDB debugging commands? 2.Where we should use STRDBG and STRISDB Debugging commands?

6 Answers   CTS,


Hi Friends, I need immediately answer for this: Senario is that,I am selecting records from the display and window subfile on the basis of Reason Code and some more fields but spool file not showing the same records which i have selected by display and window subfile. Q.What could be the causes(resons)to not show records properly (just selected in the display file and Window subfile)according the selection criteria of the records. Q.What would be the solutions to show records properly in the spool file just as selected in in the display file and window subfile according to the selection criteria.

1 Answers   IBM,


which of the following operations does not zero the field flda defined as 4,0?

0 Answers   IBM,


how can I automatically refresh a web page?

0 Answers   IBM,


define the rcvf command?

1 Answers   IBM,


Why we are not able to perform insert delete and update operation in Join logical file?

0 Answers   IBM,


write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")

6 Answers   Bally Technologies, Cognizant, Vertex,


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

0 Answers   CSC,


what keyword must be used with protect keyword ?

1 Answers   IBM,


what is the use of jdftval in join logical file?

1 Answers   IBM,


what is the function of cpysplf command?

1 Answers   IBM,


how do u compile rpgle program?

0 Answers   IBM,


Categories