Вы находитесь на странице: 1из 26

AS/400 SYSTEM

Que : What is the Configuration of the AS/400 system on which you have
worked?
Ans : System E!"#ode$ %40&'( )4#* main memory( +),* of -. and
su//orts 4% termina$s"0 1ort'+
Que : -ow many termina$s can 2e connected to a /ort ?
Ans : 0 termina$s
Que : What do the terms C3A and SAA stand for?
Ans : Common 3ser Access Systems A//$ication Architecture
Que : What are the communication /rotoco$s su//orted 2y AS/400?
Ans : A11C "Advanced 1rogram to 1rogram Communication'
*SCE4"*inary Synchronous 4ink'
AS56C-"Asynchronous Communication'
7E8A94
8C1 91
:96A6CE
S63: S6A 3/$ine faci$ity
9687A 9ntrasystem communication+
Que :What are the different ways of connecting a termina$ to a system
Ans : 8winna;( Workstation( ASC99 and <S/) Workstation+
Que : Why is AS/400 ca$$ed an <2=ect <riented #achine ?
Ans : Everything on the AS/400 system that can 2e stored or retrieved
is contained in an <2=ect+ <2=ect e;ist to make users
inde/endent of the im/$ementation techni>ues used in the
machine+
Que : What is SAA ?
Ans : Systems A//$ication Architecture "SAA' is a co$$ection of
se$ected software 9nterfaces( Conventions and 1rotoco$s that wi$$
/rovide a consistent framework across the System/00( AS/400 and
1S/)+
Que : What are the different AS/400 rack mode$s su//$ied 2y 9*#
Ans : %40)( %404 and %40&+
Que : What are the different high?$eve$ $anguages avai$a2$e on AS/400
Ans : 71,/400( C4/400( *AS9C( 14/@( C/400( 1ASCA4( :<787A6/400
and 7#/C<*<4?A!( C<*<4/400 etc++
Que : What are a$$ the 9*# #id range machines /rior to AS/400?
Ans : S/A( S/&( S/4( S/) BS/+
Que : What is the </erating System on AS/400?
Ans : <S/400+
Que : What are office tasks avai$a2$e on AS/400?
Ans : <ffice Cision/400 B 1C Su//ort/400+
Que : What are the gra/hic uti$ities avai$a2$e on AS/400?
Ans : *,3 B ,..#+
OS/400
Que : What is the version of <S/400 that you have used?
Ans : Cer )+)
Q3E : What is ..# ?
Ans : .istri2uted .ata #anagement is a function of the <S/400 that
a$$ows an a//$ication /rogram or user on one system to use
data2ase fi$es stored on remote system+
Q3E : What are the faci$ities avai$a2$e on AS/400 for se$f?$earning ?
Ans : on?$ine education( QBA .ata2ase and -e$/+

Q3E : What is an <2=ect ?
Ans : An o2=ect is any thing that e;ist in and occu/ies s/ace in
storage and on which o/eration can 2e /erformed+
Q3E : What are the different ty/es of <2=ects avai$a2$e in the AS/400
Ans : 4i2raries( :o$ders( :i$es( 1rograms( Com2ined definitions(
Queues( 3ser 1rofi$es+
Q3E : -ow are the o2=ects stored in AS/400 ?
Ans : A$$ o2=ects are stored on AS/400 in a sing$e $eve$ storage+ 9n
this method a$$ o2=ects are referenced 2y one virtua$ address
which is trans$ated into a /hysica$ address whether it is a
au;i$iary storage or main memory+
Q3E : What is a $i2rary in AS/400 ?
Ans : A $i2rary in AS/400 is an o2=ect that serves as a re/ository
for other o2=ects+
Q3E : 6ame few 9*# su//$ied $i2raries ?
Ans : Q,14( Q8E#1( Q3S78<<4( Q3E :5S( Q71, B QC*4+
Q3E : What is a $i2rary $ist ?
Ans : A $ist that indicates $i2raries used for the /rocess and the
order in which it has to 2e searched+ System identifies it in
D49*4+
Q3E : -ow many $i2raries can 2e there in a $i2rary $ist ?
Ans : 8ota$ 40 "@! system and )! a//$ication'+
Q3E : Where is the system /art of the $i2rary $ist stored ?
Ans : 9n S5SCA4
Q3E : What is a :o$der ?
Ans : A :o$der is a named o2=ect that is used as a directory for
documents and other fo$ders+ :o$ders can 2e fi$ed with in
another fo$der+
Q3E : What are the different A//$ication .eve$o/ment 8oo$s avai$a2$e
on AS/400 ?
Ans : SE3( 743( 1.#( S.A( Q3E75
Q3E : What are the $eve$s of security on AS/400 ?
Ans : @0()0(0(40(!0
Q3E : What is error severity ?
Ans : Error severity determines the $eve$ of severity that is
re>uired to terminate the =o2+
Q3E : What is a 3ser 1rofi$e ? What are the various c$asses ?
Ans : 3ser /rofi$e is an o2=ect which identifies a user to the
system+ 9t contains user name( 1assword( <wned o2=ects(
AuthoriEed o2=ects( Schedu$ing /riority( S/ecia$ authority(
9nitia$ /rogram( Fo2 descri/tion+ Security officer( 1rogrammer(
Workstation( System o/erator(1rogrammer services 7e/ B Customer
engineer+
Q3E : What is ,rou/ 1rofi$e ?
Ans : 9t is simi$ar to 3ser 1rofi$e( 2ut the attri2utes s/ecified is
a//$ica2$e to an entire grou/+
Q3E : What are the different ty/es of >ueues in AS/400 ?
Ans : Fo2 >ueue( #essage >ueue( <ut/ut >ueue( .ata >ueue+
Que : What are Fo2Q and 1rintQ ?
Ans : Fo2Q : An o2=ect that contains a $ist of 2atch =o2s waiting to
2e /rocessed 2y the system+
1rintQ : An o2=ect that contains a $ist of s/oo$ fi$es to 2e
written to a /rinter device+
Q3E : What is a S/oo$ fi$e ? Why is it re>uired ?
Ans : A fi$e that ho$ds out/ut data to 2e /rocessed( such as
information waiting to 2e /rinted+
Que : What is a Fo2 ? What are the attri2utes <f a =o2 ?
Ans : A =o2 is the 2asic unit of work on AS/400
8he attri2utes are:
Fo2 6um2er: 3ni>ue system generated se>uentia$ num2er
Fo2 6ame : Any user defined name "#a;+ @0 char'
3ser 6ame : Who initiated the =o2
Q3E : What is =o2 descri/tion ?
A =o2 descri/tion defines the environment in which a
2atch/interactive =o2 is to 2e e;ecuted+
Que : What is the difference 2etween 9nteractive B *atch =o2 ?
9nteractive Fo2 : Fo2 started for a /erson who signon to a
workstation+
*atch Fo2 : A /redefined grou/ of /rocessing actions su2mitted
to the system to 2e /erformed+
Que : What is a ,rou/ Fo2 ?
A ,rou/ Fo2 is attached to one workstation and a user+ 8here
shou$d 2e an initia$ grou/ =o2 and it can 2e 2ranched to many
other grou/ =o2s+ 8he grou/ =o2s can have different $i2rary
$ists and different out/ut( message >ueues+ ,rou/ Fo2 is usefu$
in enhancing the /rogrammers /roductivity+ 9t is as though
$ogging into the same user?id many times+
Que : What are the two main attri2utes which govern the e;ecution of a
=o2 ?
7un time /riority and 8ime s$ice+
Que : What is a su2?system ?
Su2?Systems are s/ecific user defined /artitions of the C13
where various =o2s may 2e e;ecuted+ <ne su2system can have more
than one active =o2 at a time+
Que : What is a device fi$e ?
A device fi$e contains the descri/tion of how data is to 2e
/resented to a /rogram from a device or Cice versa+ .evice fi$e
can 2e 1rinter( .isk( 8a/e or 7emote system+
Q3E : What is an 9C: fi$e ?
A device fi$e that a$$ows a /rogram on the system to
communicate with /rogram in other system+
Q3E : What is a message fi$e ?
9t is a fi$e which contains the messages of an a//$ication+ :or
e;am/$e a$$ 71,/400 messages are stored in a fi$e( a$$ C<*<4/400
messages are stored in a fi$e+
Que : What is a =o2 $og ?
A record of re>uest su2mitted to system 2e a =o2+ 8he message
re$ated to the re>uests( and the action /erformed 2y the system on the
$og+ 9t is maintained 2y the system /rogram
Que : What is the /ur/ose of <16Q75: "</en Query :i$e' ?
<16Q75: is used to se$ect certain records of the data2ase fi$e
2ased on the Q75S48 "Query se$ect' condition+
Q3E : -ow do you create fi$es dynamica$$y without ..S ?
8hrough <16Q75+
Que : What command must 2e e;ecuted 2efore e;ecuting <16Q75:
command ?
<C7.*:+
Que :What is a data area ?
A data area is an o2=ect used to ho$d data for access 2y any =o2
running on the system+ A data area can 2e $ocked to a sing$e
user( thus /reventing other users from /rocessing at the same
time+
Q3E : What are the ty/es of data areas ?
3ser defined .ata Area( 4oca$ .ata Area "4.A'( ,rou/ .ata Area
",.A'( 1rogram 9nitia$iEation 1arameter "191' .ata Area+
Q3E : What is 4.A ?
An 4.A is created 2y the system for each =o2 in the system(
inc$uding autostart =o2s( =o2s started on the system 2y a reader( and
su2system monitor =o2s+
Q3E : What is the ty/e and $ength of an 4.A ?
DC-A7( @0)4 2ytes+
Q3E : What is ,.A ?
8he system creates a ,.A when an interactive =o2 2ecomes grou/
=o2s+ <n$y one ,.A can e;ists for a grou/+
Q3E : -ow can you create a user defined data area ?
3sing C78.8AA7A command+
Q3E : What are the different ways to in/ut data into a data area ?
C-,.8AA7A "using C4'3sing <38 o/code in 71,
Q3E : -ow do you retrieve data from data area ?
3sing 78C.8AA7A command in C4 3sing 96 o/code in 71,+
Q3E : What are the va$id user defined data area ty/es ?
C-A7( 63#A79C and 4<,9CA4+
Q3E : -ow can a data area 2e $ocked after 2eing u/dated ?
3sing <38 D4<CG+
Q3E : What is the use of data >ueues ?
.ata >ueue is a ty/e of system o2=ect that you can create+ .ata
>ueues are used in /rogram to /rogram communication+
Que : -ow do you create data >ueues ?
3sing C78.8AQ command+
Q3E : What are the va$id data ty/es for a data >ueue ?
Char( 6umeric( and 4ogica$+
Q3E : What are the two ty/es of read /erformed on data >ueues ?
7ead with $ock( and read without $ock+
Q3E : -ow do you use .E*3, uti$ity ?
S87.*, /rogram?name 31.17<."D5ES'
Q3E : What is an authoriEation $ist ?
A $ist of two or more user 9ds B their authorities for system
resources+ 8he system identifies it as an o2=ect ty/e DA384+
Que : -ow do you grant authority for an o2=ect?
3sing ,78<*FA38 command+
Que : What are the ty/es of o2=ect authorities ?
D3SE( DC-A6,E( DA44( DEHC43.E( DA384( D<*FEH9S8(
D<*F#,8( D<*F<17( DA..( D.48( D7EA.( D31.+
Que : -ow do you e;ecute =o2s in 2atch mode ?
Ans : S*#F<*
Que : What is the use of <C7.*: ?
Ans : 5ou can use the <verride with .ata2ase fi$e "<C7.*:' command to
re/$ace the data2ase fi$e named in a C4 /rogram or to change
certain /arameters of the e;isting data2ase fi$e+
Que : What is the use of <C7178: ?
Ans : <verride with 1rinter fi$e "<C7178:' command is used to
override certain /arameters of the /rinter fi$es used in the
/rogram or to re/$ace the /rinter fi$e+
Que : -ow do you change fi$e attri2utes such as siEe( fi$e wait time(
record wait time etc+( /ermanent$y ?
Ans : 3sing C-,1: command+
Q3E : What is the /ur/ose of C78C#. ?
Ans : 8o create user defined command+
Q3E : What is c$ass of service ?
Ans : A set of $ink and node characteristics associated with a
session+
Q3E : -ow to see active =o2s of the system ?
Ans : 3sing W7GAC8F<* command+
Q3E : -ow do you detect unused s/oo$ storage ?
Ans : 3sing 7ec$aim S/oo$ Storage+
Q3E : What are the functions of 7emote Fo2 Entry "7FE' ?
Ans :A$$ows user of AS/400 system to su2mit =o2s and receive =o2s
from a host system+
Que : What is the function of 7FE Conversion 3ti$ity ?
Ans : 9t converts com/ressed data written to an AS/400 data2ase fi$e
to decom/ressed data written to another AS/400 data2ase(
diskette(or device fi$e+
Q3E : What is the function of the S*#7FEF<* command ?
Ans : Sends 7FE in/ut stream to host system+
Que : What is =ourna$$ing and commitment contro$ ?
Ans : Fourna$$ing is a function which records the changes in a fi$ein
a =ourna$+8hese record images are used to recover the changes in
the fi$e shou$d the system ends a2norma$$y+ Commitment contro$
is a function that a$$ows you to define and /rocess a no+ of
changes to data2ase fi$es as a sing$e unit"transaction'+
Q3E : What is the /ur/ose of S87C#8C84 command ?
Ans : Starts commitment contro$ for fi$es that are 2eing =ourna$$ed+
Q3E : What are the system o2=ects re>uired for =ourna$$ing ?
Ans : Fourna$ receiver( =ourna$ and 1:s to 2e =ourna$$ed+
Que : What is C1: ?
Ans : Contro$ 1rogram :aci$ity "C1:' is an o/erating system on S/A+
Que : What is invocation stack ?
Ans : 4ist of /rograms maintained 2y the system as one /rogram ca$$s
another in a series of ca$$s within a sing$e task or =o2+
Que : What is time s$ice ?
Ans : A finite amount of time in which a =o2 is granted system
resources whi$e other =o2s are >ueued+
Que : What is 914 ?
Ans : 9nitia$ 1rogram 4oading "914' is run 2y <S/400 when the system
is started+
Que : What does C)7)#0 mean ?
Ans : Cer+ )( 7e$ease ) B #odification $eve$ 0+ 8his refers to the
version of <S/400+
Que : 6ame the commands used to du/$icate a fi$e ?
Ans : C15: ? Co/y :i$e B C78.31<*F ? Create .u/$icate <2=ect+
Que : 6ame the command for changing the attri2utes of a s/oo$ fi$e ?
Ans : C-,S14:A ? Change S/oo$ fi$e Attri2utes+
Que : 6ame the command which gives the attri2utes of a =o2 ?
Ans : 78CF<*A ? 7etrieve Fo2 Attri2utes+
Que : What is the function of 1.# ?
Ans : 1roductivity too$ for co/ying( de$eting( scanning( changing B
creating source fi$es+
Que : What is the function of SE3 ?
A uti$ity for editing /rogramming $anguage source code+
DATABASE FILES
Que : What are the different definition $eve$s in .ata .escri/tion
s/ecifications ?
Ans : :i$e $eve$( 7ecord $eve$( :ie$d $eve$( Foin $eve$( Geyfie$d
$eve$( Se$ect/<mit $eve$+
Que : What is difference 2etween Source 1hysica$ :i$e and 1hysica$
:i$e ?
Ans : A Source 1hysica$ :i$e contains the source for the various
o2=ects created+ 8his fi$e has a s/ecific structure+ A 1hysica$
:i$e contains data( and the record format can 2e different for
different /hysica$ fi$es+
Q3E : What is the difference 2etween 1hysica$ and 4ogica$ fi$es ?
Ans : 1hysica$ fi$e contains data( where as 4ogica$ fi$e serves as a
access 1ath to data2ase+
Q3E : What is an access /ath ?
Ans : 8he order in which the data2ase fie$ds are organiEed for
/rocessing in the /rogram+
Q3E : What are a$$ the different ty/es of access /aths ?
Ans : Arriva$ se>uence access /ath(
Geyed se>uence access /ath+
Q3E : -ow many record formats can you have in a 1hysica$ fi$e and in a
4ogica$ fi$e ?
Ans : 1hysica$ fi$e can contain on$y one record format( 4ogica$ fi$e
can contain more than one record format+
Q3E : What is a fie$d reference fi$e ?
Ans : A fie$d reference fi$e is a /hysica$ fi$e which contains no
data( contains fie$d descri/tion+ this is used as a reference
fi$e 2y other /hysica$ fi$es+
Que : What is the defau$t va$ue for the num2er of increments for the
/hysica$ fi$e ?
Ans : 8hree+
Q3E : When is the .:8 keyword in 1: used for?
Ans : 8o s/ecify the defau$t va$ue it a fie$d+
Q3E : What is #u$ti?format $ogica$ fi$e ?
Ans : 4ogica$ which uses fie$ds from two or more /hysica$ fi$es+
Que : What is dynamic se$ect ?
Ans : Se$ection and omission of 4: records /erformed during
/rocessing( instead of access /ath is maintained+ 8his can 2e
used when key access /ath does not e;ist+
Que : What is the Se$ect and <mit criteria in $ogica$ fi$e ?
Ans : 8his is used to s/ecify ru$es for the Se$ection/<mission of
records from a 1hysica$ :i$e+
Q3E : Can fie$ds 2e concatenated at the $ogica$ fi$e $eve$ ?
Ans : 5es( 2y using C<6CA8 keyword+
Q3E : When wou$d the A44 keyword 2e used ?
Ans : 3se with Se$ect or <mit( to se$ect/omit records+
Q3E : What is a Foin 4ogica$ :i$e( Can it 2e used for 3/date ?
Ans : 4ogica$ fi$e that com2ines more than one /hysica$ fi$e+
3/date is not /ossi2$e through F4:+
Que : -ow many fi$es can 2e =oined at a time( What is the ma;+ no+ of
fi$es ?
Ans : At a time you can =oin two fi$es+ 8he ma;+ no+ of fi$es is )+
<n$y one /rimary fi$e and the remaining are secondary fi$es( 8he
/rimary fi$e and at$east one secondary fi$e must 2e /hysica$
fi$es+
Que : 9s it /ossi2$e to =oin the same fi$e to itse$f ?
Ans : 5es+
Q3E : What is :C:<( :9:<( 49:< in .ata2ase environment ?
Ans : 8hese are fi$e $eve$ keywords which are used to access
8he records in the order
FCFO: :irst Changed :irst <ut
FIFO: :irst 9n :irst <ut
LIFO: 4ast 9n :ist <ut
Que : 9f a fi$e $ayout is changed( how do you generate new 1: and
retain data?
Ans : Co/y the fi$e and change the structure of 1hysica$ fi$e( $ater
co/y o$d fi$e with dro/ o/tion+
Q3E : What is the overhead on $ogica$ fi$e ? -ow can it 2e im/roved ?
Ans : #aintaining access /ath and storage s/ace+ We can im/rove the
/erformance 2y using D.E4A5E.( D7E*394. keywords to enhance
the s/eed+
Q3E : -ow can the sign of a numeric 2e ignored when se>uencing a
$ogica$ fi$e ?
Ans : *y s/ecifying the record $eve$ keyword 36S9,6E.+
Q3E : 9f a fie$d references a fie$d that has an E.8C.E or an E.8W7.
keyword s/ecified( can the E.8C.E or E.8W7. from the
7eferenced fie$d ignored ?
Ans : 5es( 2y using .48E.8 keyword+
Que : What does the keyword 369Q3E mean ?
Ans : 7ecords with du/$icate key va$ues are not a$$owed+
Que : State three different methods of maintaining access /aths ?
Ans : 9mmediate( 7e2ui$d B .e$ay+
DISPLAY FILES
Q3E : What are the different ty/es of keywords in dis/$ay fi$es ?
Ans : :i$e $eve$( 7ecord format $eve$( :ie$d $eve$+
Que : What is the ma;imum num2er of records you can s/ecify in a
dis/$ay fi$e ?
Ans : @0)4+
Q3E : -ow can a screen fie$d that has changed since the $ast out/ut
o/eration 2e detected ?
Ans : Attach the #.8 attri2ute to the fie$d( to detect whether fie$d
has 2een changed as a resu$t of user in/ut+
Q3E : What wou$d 2e the effect on the fie$d where reverse image(
under$ine and high$ight dis/$ay attri2utes are active ?
Ans : 8he resu$t is same as if you had s/ecified 6.+
Que : What is the use of .S1A87"#.8' keyword ?
Ans : Sets on the modified .ata 8ag of the fie$d+ 8his .ata 8ag
detects whether the fie$d has 2een changed as a resu$t of user
in/ut+
Que : 9f .S1A87"1C' and CS74<C were s/ecified for a format( which
keyword wou$d have /riority ?
Ans : CS74<C gains /riority+
Q3E : Can error messages as a resu$t of a C<#1( 7A6,E or CA43ES
keyword 2e overridden ?
Ans : 5es( through C-G#S,9. keyword+
Que : What is the /ur/ose of <C7.8A and <C7A8A keywords ?
Ans : <C7.8A keyword "fie$d or record $eve$' can 2e used to override
the e;isting data contents of a fie$d or record a$ready on the
dis/$ay+
<C7A8A keyword "fie$d or record $eve$' can 2e used to override
the e;isting dis/$ay attri2utes of a fie$d or record a$ready on
the dis/$ay+
Q3E : -ow can a message from a message fi$e a//ear as a constant on
the screen ?
Ans : *y using #S,C<6 "message constant' keyword+
Q3E : 9n con=unction with what other keyword must <C7.8A and <C7A8A
2e used ?
Ans : 138<C7 keyword must 2e used+
Q3E : -ow can a fie$d that is $arger than what cou$d fit onto one $ine
2e truncated from the $ast 2$ank rather than from the $ast
character /osition?
Ans : 3sing *4G:<4. keyword+
Q3E : What is the /ur/ose of the 96.A7A keyword ?
Ans : 8his :i$e?$eve$ keyword is used to remove o/tion and res/onse
indicators from the 2uffer and /$aces them in %%?2yte se/arate
indicator area+
Que : E;/$ain the /ur/ose of GEE1 and ASS3#E keywords ?
Ans : GEE1 : Gee/ the dis/$ay from 2eing de$eted when the dis/$ay
fi$e is c$osed+
ASS3#E : 9t is used to s/ecify that the <S/400 /rogram is to
assume that this record is a$ready shown on the dis/$ay when
this fi$e is o/ened+
Q3E : E;/$ain the use of .:7W78 dis/$ay keyword ?
Ans : 6o records wi$$ 2e dis/$ayed unti$ there is an 9/< o/eration+
Q3E : What is the /ur/ose of :7C.8A keyword ?
Ans : 9mmediate$y dis/$ay a record format without waiting for the
ne;t 9/< o/eration+
Q3E : What keyword must 2e used with 17<8EC8 keyword ?
Ans : <CE74A5
Q3E : Where is the varia2$e for the S46<"DCA7' keyword 2e defined ?
Ans : At run time 2efore dis/$aying the record format+
Q3E : 3nder what conditions wou$d a fie$d where the E77#S, keyword
was active wou$d not 2e dis/$ayed in reverse image ?
Ans :9f it is an out/ut?on$y fie$d or in/ut ca/a2$e fie$d with
dis/$ay attri2utes 34( -9 are active+
Q3E : When wi$$ the message for fie$d that has the E77#S, keyword
active not 2e dis/$ayed ?
Ans :9f more than one E77#S, keywords are active then the first wi$$
2e active( 2ecause on$y one error message wi$$ 2e dis/$ayed at
a time+
Q3E : What is C-,961.:8 keyword( and what wi$$ 2e the effect if you
define this keyword at fi$e with out any /arameter va$ues ?
Ans : 8his fi$e( record or fie$d $eve$ keyword is used to change one
or more in/ut defau$ts for in/ut ca/a2$e fie$ds+
9f you define this keyword at fi$e $eve$ without any /arameter
then the under$ine wi$$ 2e su//ressed+
Q3E : 9n what case contro$ wi$$ 2e /assed 2ack to the /rogram when the
$ast character of the fie$d is keyed ?
Ans : C-ECG"E7' E7 ? End of 7ecord+
SUBFILES
Que : What is a su2fi$e ?
Ans : Su2fi$e is a grou/ of records of same record format and can 2e
read from or write to the dis/$ay in a sing$e o/eration+
Que : What are the contents of su2fi$e ?
Su2fi$e 7ecord :ormat( Su2fi$e Contro$ 7ecord :ormat( 7e$ative
7ecord 6um2er( Su2fi$e 7ecord 6um2er( Associated Su2fi$e
Geywords+
Q3E : What are the two record formats that a su2fi$e contains ?
Su2fi$e record format"S:4'( and su2fi$e contro$ record
format"S:4C84'+
Que : What is S:41A, and S:4S9I ?
Ans :
S:41A, : it is an attri2ute which s/ecifies the num2er of
records that can 2e dis/$ayed in a screen+
S:4S9I : it is an attri2ute which s/ecifies the num2er of
records can 2e stored in the su2fi$e+
Que : What is the ma;imum num2er of su2fi$es that can s/ecified in a
dis/$ay fi$e ?
Ans : !@)
Que :8he ma;imum num2er of su2fi$es that can defined in a 71, /rogram
for one dis/$ay fi$e is JJJ +
Ans : )4
Que : 8he ma;imum num2er of su2fi$es that can 2e active for a sing$e
fi$e is JJJJ +
Ans : @)
Que : What are the different o/codes used for fi$e o/eration on a
su2fi$e in a 71, 1rogram ?
Ans : 7EA.( 7EA.C( C-A96( 31.A8 and W798E
Q3E : Can more than one su2fi$e record 2e dis/$ayed on one $ine?
Ans : 5es( 2y using S:4496 keyword+
Q3E : -ow do you s/ecify the num2er of records to ro$$ in a su2fi$e ?
Ans : 3se S:47<4CA4 keyword in ..S a$ong with the num2er( which
s/ecifies the num2er of records to scro$$ at a time+
Que : -ow wi$$ you dis/$ay a /articu$ar /age in su2fi$e ?
Ans : #ove a va$id re$ative record num2er"776' in the fie$d s/ecified
using S:47C.6*7 keyword in ..S+
Q3E : -ow to /ick u/ the changed records every time in a su2fi$e
Ans : after the first change made ?
Seton S:46H8C-, keyword indicator and u/date the su2fi$e record+
Q3E : What is the use of the S:4E6. keyword ?
Ans : *y s/ecifying this keyword( the *ottom/#ore message cou$d 2e
dis/$ayed at end of screen+
Q3E : -ow do you togg$e 2etween sing$e $ine and mu$ti?$ine dis/$ay of
a /articu$ar record in a su2fi$e ?
Ans : 3sing S:4.7<1 keyword+
Q3E :E;/$ain the difference 2etween defining Su2fi$e and #essage?
su2fi$e ?
Ans : A su2fi$e record is defined 2y S:4 keyword( whereas a message
Su2fi$e is defined 2y S:4#S, keyword+
Can a sing$e screen format occu/y a screen area a2ove and 2e$ow
a su2fi$e format ?
6ot /ossi2$e+
Q3E : -ow can a /rogram 2e /revented from fai$ing over when 7EA.C is
/erformed on an em/ty su2fi$e ?
Ans : Check indicator /$aced in /osition 4<( which wi$$ 2e seton if
E<: reached+
CONTROL LANGUAGE (CL/400)
Q3E : -ow to start a C4 /rogram ?
1,#+
Q3E :-ow many fi$es can 2e dec$ared in C4 ?
Ans : <ne+
Q3E :Which /recedes( the fi$e dec$aration or varia2$e dec$aration ?
Ans : Caria2$e dec$aration and then :i$e dec$aration+
Q3E : What are the different ty/es of varia2$es avai$a2$e in C4 ?
Ans : .EC( C-A7( 4,4
Q3E : 9n C4 1rogram KBK /recedes JJJJ +
Ans : Caria2$es+
Q3E : -ow do you /ass /arameters in C4 ?
Ans : 3sing 1A7# keyword+
Q3E :Can $i2raries 2e added to the $i2rary $ist through C4 ?
Ans : 5es( using A..49*4+
Q3E :What is the difference 2etween CA8( 8CA8 and *CA8 ?
Ans : CAT : Concatenate two varia2$es or constants into one
continuous string+
BCAT : 8runcates a$$ trai$ing 2$anks in the first character
string L one 2$ank is inserted ( then the two character strings
are concatenated+
TCAT : 8runcates a$$ trai$ing 2$anks in the first character
string( the two character strings are concatenated+
Q3E : -ow do you end a C4 /rogram ?
Ans : E6.1,#
Q3E : What are the different ty/es of messages in C4 ?
Ans : 9mmediate message( *reak message( 1rogram message(3ser message+
Q3E : -ow can errors 2e tra//ed in a C4 /rogram?
Ans : *y using #onitor #essage Command " #<6#S, '
Q3E :What is the ma;imum $ength of a varia2$e name in C4 ?
Ans : #a;imum @@ characters "inc$uding KBK'
Q3E :What are the $imitations of C4 "com/are to 71,' ?
Ans : 5ou cannot use C4 /rogram to :
A.. or 31.A8E records in data2ase fi$es
3se 1rinter or 9C: fi$es
3se 1rogram descri2ed fi$es
3se the conce/t of su2fi$e "to dis/$ay more than one
record'( 2ut a sing$e out/ut message su2fi$e is a
s/ecia$ ty/e of su2fi$e that is su//orted we$$ in C4
3se su2routines+
5ou cannot dec$are more than one o2=ect "fi$e' in a
C4 /rogramme+
RPG/400
Que : What is 71, ?
Ans : 7e/ort 1rogram ,enerator+
Que : What are the /ositive /oints of 71, 4anguage ?
Ans : Contains o/codes which makes it f$e;i2$e with <S/400
Can access the e;terna$$y descri2ed fi$e+
E;/$ain 71, 1rogram 4ogic Cyc$e ?
START
Perform header, detail output
Read a record
Set ON LR if EOF
If change in control field, set
ON control level indicators
Perform total calculations
Perform total output
If LR is ON then EN! program
Perform detail calculation
"ove data from selected
record into processing area
Q3E : When is it efficient to make use of 71, Cyc$e ?
Ans : When the fi$e is arranged in se>uence and out/ut is 2ased on
contro$ 2reak+
Q3E : Can you ca$$ a /rogram in your 71, /rogram( which is coded in
some other $anguage ?
Ans : 5es( Any /rogram o2=ect avai$a2$e on AS/400+
Que : What are the different ty/es of s/ecification avai$a2$e in
71,/400 ?
Ans : Contro$ S/ec+" - '
:i$e S/ec+" : '
E;tension S/ec+" E '
4ine counter S/ec+" 4 '
9n/ut S/ec+" 9 '
Ca$cu$ation S/ec+" C '
<ut/ut S/ec+" < '
Que : 9s it necessary to define a$$ formats ? Which are mandatory and
which are </tiona$ ?
Ans : 6o( a$$ are </tiona$+
Q3E : What is the use of - s/ec+ in 71, ?
Ans : 9t identifies 2y - in co$umn &( 1rovides information a2out
generating and running /rograms+
Q3E : When wi$$ .3#1 and .E*3, o/codes 2e ignored ?
Ans : 9f 2$ank is s/ecified in /osition @! of - s/ecs+
Q3E : What are the va$id fi$e ty/es " /osition @! ' in : s/ecification
Ans : 9 "9n/ut fi$e'+
< "<ut/ut fi$e'+
3 "3/date fi$e'+
C "Com2ined "9/<' fi$e'+
Que : S/ecify different indicators used in 71, ?
Ans : <verf$ow indicators+
7ecord 9dentifying 9ndicators+
:ie$d 9ndicators+
7esu$ting 9ndicators+
Contro$ 4eve$ 9ndicators+
Que : What are Contro$ $eve$ indicators ?
Ans : 4@ to 4% used to identify certain fie$ds on contro$ fie$ds and
then used to condition which o/erations are to 2e
/rocessed at detai$ or tota$ ca$cu$ation or out/ut time+
Q3E : What is the use of E s/ecification in 71, ?
Ans : E;tension S/ecs descri2es a$$ record address fi$es( arrays and
ta2$es+
Q3E : What is the use of 4 s/ecs in 71, ?
Ans : 4ine counter s/ecification can 2e used to descri2e /rinter fi$e
to indicate the $ength of the form and num2er of $ines /er /age+
Q3E : 9n which s/ecification can a re/ort $ayout 2e defined ?
Ans : < S/ecification+
Que : -ow many fi$es can 2e defined in : s/ecs ?
Ans : A ma;imum of !0 fi$es+
Que : -ow many /rinter fi$es can 2e defined in : s/ecs ?
Ans : A ma;imum of A fi$es+
Q3E : ,ive three main /ur/oses of :i$e s/ecification ?
Ans : 8o define fi$es( to descri2e the fi$es( to assign the fi$es to
s/ecified devices+
Q3E : -ow do you s/ecify /age overf$ow indicator for /rinter fi$es in
71, ?
Ans : S/ecify an indicator in /ositions ?4 of : s/ecification+
Q3E : What is a 1rimary :i$e ?
Ans : 9t is used in 71, 1rogram Cyc$e to automatica$$y read records
in a cyc$e+
Que : Can an inde;ed fi$e 2e accessed in arriva$ se>uence in 71,
/rogram ?
Ans : 5es+
Q3E : What is a /rogram descri2ed fi$e in 71, ?
Ans : 8he fie$d name and $ength of the fie$ds are defined with
in the 71, /rogram+
Q3E : What is an e;terna$$y descri2ed fi$e ?
Ans : A$$ information a2out the fie$ds is s/ecified in ..S and the
71, /rogram can use them with in the /rogram+
Q3E : Can you s/ecify a dis/$ay fi$e to 2e used in the fo$$owing
Ans : modes: 9n/ut( <ut/ut or Com2ined modes?
5es+
Q3E : What are match fie$ds indicators?
Ans : #atching record indicator is seton when a$$ the matching
fie$ds in the record of a secondary fi$e matches with a$$ the
matching fie$ds of a record in a /rimary fi$e+
Q3E : What is the $ength of a varia2$e in 71, ?
Ans : & Characters+
Q3E : What are the different arithmetic </codes ?
Ans : A..( S3*( #348( .9C( #C7( SQ78( H:<<8( I?A..( I?S3*+
Q3E : When is a 8A, statement used in 71, ?
Ans : 9t is used as a 4a2e$+
Q3E : What are the different </codes avai$a2$e in 71, for .ata2ase
access ?
Ans : 7EA.( C-A96( W798E( 31.A8( .E4E8( SE844( SE8,8( 7EA.E( 7EA.1(
7E.1E( <1E6( C4<SE( :<7CE( 6EH8( 364CG+
Q3E : What is 7EA.1 o/code ?
Ans : 7ead /revious record+
Q3E : What is 7E.1E o/code ?
A6S : 7ead 1rior e>ua$ record+
Q3E : -ow do you check if a division was who$e division ?
A6S : Check the EQ indicator 2e set to K@K
Q3E : What o/code cou$d 2e used to test an a$/hanumeric fie$d for a$$
numeric va$ues?
A6S : 8ES86+
Q3E : What o/code wi$$ 2e used to test the Eone of a character fie$d
A6S : 8ES8I+
Q3E : -ow do you s/ecify -a$f Ad=ust ?
A6S : 9t shou$d 2e s/ecified in the co$umn ! of C s/ecs as K-K to
indicate ha$f ad=ust+
9t wi$$ 2e effective on$y if the resu$tant va$ue is having more
decima$s than the resu$t fie$d+
Q3E : E;/$ain the difference 2etween 7EA.( C-A96 and SE844 ?
A6S : 7EA. o/eration reads the record current$y /ointed to( from a
fu$$ /rocedura$ fi$e+
C-A96 o/eration retrieves a record from a fu$$ 1rocedura$ fi$e(
sets a record identifying indicator <6 and /$aces the data in
the in/ut fie$ds+
SE844 o/eration /osition a fi$e at the ne;t record that has a
key or re$ative record num2er that is greater than or e>ua$ to
the search argument s/ecified+ 8he fi$e must 2e fu$$y
/rocedura$ for a$$ three o/codes+
Que : What does 4< and EQ indicators signify in 7EA.( W798E and
C-A96 o/erations ?
A6S : 4< indicator s/ecifies the error status on the a2ove+
EQ indicator s/ecifies the E<:( 7ecord not found+
Q3E : -ow can data2ase records 2e read without $ock ?
A6S : 1ut K6K in /osition ! of C s/ecs+
Que : What is the difference 2etween #<CE and #<CE4 ?
A6S : #<CE o/eration wi$$ transfer characters from the factor ) to
the resu$t fie$d( the move starts from rightmost
character of factor )+
#<CE4 o/eration wi$$ transfer characters from factor ) to the
resu$t fie$d( the move starts from $eftmost character of factor
)+
Q3E : -ow do you concatenate two string varia2$es in 71, ?
A6S : 3sing CA8 o/code or with #<CE fo$$owed 2y #<CE4+
Que : What are the string o/erations /ossi2$e in 71,/400 ?
A6S : C-ECG( C-EG7( S3*S8( CA8( H4A8E( SCA6+
Q3E : What does S3*S8 do ?
A6S : E;tracts a s/ecified character string from a 2ase character
string+
Q3E : What does C-ECG o/code do ?
A6S : 8he check o/eration verifies that each character in the 2ase
string "factor )' is among the character indicated in the
com/arator string"factor @'+
Q3E :9n con=unction with which statements can <7;; and A6.;;
conditions 2e used ?
A6S :.<3;;( .<W;;( 9:;;( and W-;;+
Q3E : What is the difference 2etween .<3 and .<W ?
A6S : .<3 checks after entering into the $oo/( it is /erformed at$east
once+ .<W check 2efore entering into the $oo/+
Q3E : What is 98E7 and 4EACE o/codes do ?
A6S : 98E7 transfers contro$ from within a .< grou/ to the E6..<
statement of the .< grou/+ 9t causes the ne;t iteration of the
$oo/ to 2e e;ecuted immediate$y
4EACE o/eration transfers contro$ from within a .< grou/ to the
statement fo$$owing the E6..< o/eration+
Q3E : Which instructions su//ort structured /rogramming in 71, ?
A6S : A6.;;( CAS;;( .< grou/( E4SE( E6.yy( 9:;;( 98E7( 4EACE(
<7;;( <8-E7( SE4EC( W-;;+
Q3E : What does KS7K in co$umns 0?A of C s/ecs mean ?
A6S : Ca$cu$ation o/eration is a /art of 71, su2routine+
Q3E : E;/$ain CAS;;( and CA*;; statements ?
A6S : CAS;; o/eration a$$ows you to conditiona$$y se$ect a su2routine
for /rocessing+ 8he condition is 2ased on the re$ationshi/
2etween factor @ and factor ) as s/ecified 2y ;;+9f the
re$ationshi/ is true the su2routine s/ecified in the resu$t
fie$d is /rocessed+
CA*;; o/eration com/ares factor @ with factor ) ( if the
condition s/ecified 2y ;; is true( the /rogram 2ranches to the
8A, o/eration associates with the $a2e$ s/ecified in the resu$t
fie$d+
Q3E : What is C4EA7 and 7ESE8 ?
A6S : C4EA7 o/eration sets the e$ements in a structure "record
format( array/ta2$e( data structure' or a varia2$e "fie$d(
su2fie$d or indicator' to Eero ( 2$ank or K0K de/ending on the
fie$d ty/e "numeric( character( indicator'
7ESE8 o/eration sets the e$ements in a structure "record
format( array/ ta2$e( data structure' or a varia2$e "fie$d(
su2fie$d or indicator' to its initia$ va$ue+
Q3E : What is SCA6 and H4A8E ?
A6S : SCA6 o/eration scans a character string "2ase string' contained
in factor ) for a su2string "com/are string' contained in factor
@+
H4A8E o/eration trans$ates characters in source string "factor
)' to the from and to strings"factor @' and /ut into the resu$t
fie$d+
Q3E : -ow do you use commitment contro$ in 71, /rogram ?
A6S : 3sing C<#98 o/eration+
#akes a$$ changes to the fi$es that have 2een s/ecified in
out/ut o/eration since the /revious C<#98 or the 2eginning of
o/erations under commitment contro$"if there has 2een no
/revious C<#98 or 7<4*G o/eration'+
Q3E : -ow do you use e;ce/tiona$ write in C s/ecs ?
A6S : 3sing EHC18 o/code+
Q3E : What does the o/code :7EE do ?
A6S : 8he :7EE o/eration removes a /rogram from the $ist of activated
/rograms( frees static storage and ensures /rogram
initia$iEation "first cyc$e /rocessing' the ne;t time /rogram is
ca$$ed+ 9t does not c$ose fi$e or un$ock data area+
Q3E : What does o/code 1<S8 do?
A6S : 1uts information in 96:.S+
Q3E : What is the difference 2etween W798E and EH:#8 of a dis/$ay fi$e
?
A6S : W798E dis/$ays a record format on workstation(
EH:#8 dis/$ays and acce/ts from the workstation+
Q3E : What is the difference 2etween 149S8 and G49S8 ?
AnS : 149S8 o/eration defines a uni>ue sym2o$ic name for a /arameter
$ist to 2e s/ecified in a CA44 o/eration+
G49S8 is a dec$arative o/eration that gives a name to a $ist of
key fie$ds+
Q3E : Can you have mu$ti/$e key $ists for a sing$e fi$e ?
A6S : 5es+
Q3E : What are the different ty/es of arrays avai$a2$e in 71, ?
A6S : 1re?run time array+
Com/i$e time array+
7un time array+
Q3E : -ow do you s/ecify data for a com/i$e time array ?
A6S : 5ou can s/ecify in E s/ecs a2out the no of entries /er record(
no of e$ements( $ength of each e$ement with the corres/onding
data entered at the end of the 71, /rogram starting with DD+
Q3E : What is the ma;imum num2er of e$ements in an array ?
A6S : %%%%+
Q3E : Can we define #u$ti?dimensiona$ arrays in 71, ?
A6S : 6o+
Q3E : What is H:<<8 o/code ?
A6S : Adds a$$ the e$ements in a numeric array( and /$aces the sum in
the resu$t fie$d+
Q3E : -ow can we sort an array ?
A6S : *y using S<78A o/code+
Q3E : What is #<CEA o/code do ?
A6S : 8ransfer character to numeric va$ues from factor ) to resu$t
fie$d+
#<CEA can 2e /ossi2$e to A77A5?A77A5( A77A5?:9E4.( or
:9E4.?A77A5+
Q3E : -ow to initia$iEe an array ?
A6S : C4EA7 or #<CEA D2$anks to array+
Q3E : What is 4<G31 o/code do ?
A6S : 4<G31 o/code search for a /articu$ar e$ement in an array /
ta2$e+
Q3E : Can 4<G31 o/eration 2e used for unsorted array ?
A6S : 5es+
Q3E : What is the difference 2etween an array and a ta2$e ?
A6S : An array e$ements can 2e refered 2y array name+
E$ements in array can 2e accessed 2y their /osition re$ative to
other e$ements+
8a2$e name does not refer to the entire set of ta2$e e$ements+
E$ements in a ta2$e can not 2e accessed 2y their /osition
re$ative to the other e$ements+
Que : What is the ma;imum $ength of a ta2$e name ?
A6S : & characters+
Que : What is the synta; of a ta2$e name ?
A6S : 8a2$e name shou$d start with 8A*+
Que : -ow can the user im/$icit$y o/en and c$ose the fi$es in 71,
/rogram ?
A6S : Enter 3C in /osition 0@?0) of : s/ecs+
3se <1E6 and C4<SE o/codes in 71, /rogram to o/en and c$ose
fi$es+
Que : .uring in/ut o/eration which indicator /osition is seton if
there is a record $ock?
A6S : 4< indicator /osition is seton+
Q3E : What is the significance of .E:6 o/code on 71, ?
A6S : 8o define fie$ds 2ased on the attri2utes of another fie$d+
8o define a fie$d as a data area+
Q3E : What are different ways 2y which you define working storage
fie$d ?
A6S : E;/$icit$y define or use D4ike .E:6+
Que : -ow many /arameters can 2e defined in a 71, /rogram?
Ans : #a;+ )!!+
Que : What are the different ways of ending an 71, /rogram without a
/rimary fi$e ?
Ans : SE8<6 47+
SE8<6 -@ to -% "ha$t indicators'+
SE8<6 78+
7E876+
*y a$$owing an e;ce/tion / error to end the /rogram if
+ 6o e;ce/tion / error su2routine is s/ecified
+ 6o return /oint is s/ecified on an e;ce/tion or error
su2routine
+ 8he userKs res/onse is to cance$ the /rogram+
Que : S/ecify different ways 2y which 71, /rogram can give error
message to user?
Ans : *y ca$$ing the S3*7)7 /rogram as /assing message id+
*y defining the error message in .S1:+
Q3E : 9f you are trying to add a record in a fi$e and an error is
dis/$ayed( where do you $ook for error ?
A6S : Check whether you have o/ened the fi$e in 3/date mode+
Check whether you have s/ecified KAK in /osition 0) of : s/ecs+
Q3E : What is a :i$e 9nformation .ata Structure ?
A6S : :i$e 9nformation .ata structure "96:.S' can 2e defined for each
fi$e to make fi$e e;ce/tion/error information avai$a2$e to the
/rogram+ A fi$e information data structure contains /redefined
su2fie$ds that identify:
+ 8he name of the fi$e for which the e;ce/tion/error occurred
+ 8he record 2eing /rocessed when the e;ce/tion/error occurred
or the record that caused the e;ce/tion/error
+ 8he $ast o/eration 2eing /rocessed when the e;ce/tion/error
occurred
+ 8he status code
+ 8he 71, routine in which the e;ce/tion/error occurred+
Q3E : What is 1rogram Status .ata Structure ?
A6S : A /rogram status .S can defined to make /rogram e;ce/tion/error
information avai$a2$e to an 71, /rogram+
.S is defined as a /rogram status .S 2y an S in /osition @A of
the .S statement+
DS8A83S contains status code
D7<3896E contains name of routine in which the e;ce/tion/error
occurred+
D1A7#S contains the num2er /arameters /assed to this /rogram
from the ca$$ing /rogram+
S/ecify heading information/8984E+
S/ecify to 2egin on a fresh /age/EFEC8+
8o contro$ $ine s/acing/S1ACE+
7ecords to 2e inserted from other fi$es at the /oint where it is
s/ecified/C<15+
Que : What is the ma;imum no+ of times mu$ti/$e occurrence .S can
occur in a /rogram ?
Ans : %%%%+
Q3E : What is the difference 2etween D49GE and D6A#CA7 ?
A6S : D49GE defines the varia2$es as in data2ase+
D6A#CA7 is used to define varia2$es as data area+
Q3E : -ow is em2edded SQ4 used in 71, ?
A6S : /EHEC SQ4
M SQ4 statements
M ????????????????????
M ????????????????????
/E6. EHEC
Que : What are a$$ the com/i$er directive statements ?
Ans : /8984E( /EFEC8( /S1ACE( /C<15+
Que : -ow can 71, /rogram send message to System </erator ?
AnS : 3se QC#.EHC as ca$$ed /rogram in the CA44 statements( and use
S6.1,##S, to the o/erator+
Que : Where .*CS data wi$$ 2e used in 71, ?
Ans :
9n any comment statement
9n comment fie$d of E and C S/ecs
9n $itera$s and constants
As data in any character fie$d( su2fie$d( array or
ta2$e+
Que : Where wi$$ contro$ 2e /assed after the e;ecution of the D1SS7
su2routine if the factor ) of the E6.S7 is 2$ank ?
Ans : Contro$ wi$$ return to the ne;t se>uentia$ instruction+
Que : -ow can the C1: error?id 2e retrieved when a /rogram error
occurs ?
Ans : C1: error codes are /$aced in the su2fie$d $ocation DS8A83S for
the /rogram status .S+
Que : -ow cou$d indicators !0 to %% 2e set to K0K in one instruction?
Ans : 3sing K#<CEA DIE7<S 96(!0K +
Q3E : What are the figurative constants ?
A6S : D*4A6G/D*4A6GS( DIE7</DIE7<S( D-9CA4( D4<CA4( DA44 KH++K are
im/$ied $itera$s that can 2e su//$ied without a $ength( 2ecause
the im/$ied $ength and decima$ /ositions of a figurative
constant are 8he same as those of the associated fie$d+
Que : What is the ma;imum error severity for which the com/i$ation of
71, /rogram sto/s ?
Ans : !0( if 47 is not seton+
Que : What are the ear$ier versions of 71, ?
Ans : 71, 99 B 71, 999+
Que : 6ame the different ways 2y which 71, source /rogram can 2e
entered ?
Ans : 9nteractive$y with SE3( 9n 2atch 2y using either <S/400 or
S/oo$ing functions+
Que : .uring in/ut o/eration which indicator /osition is seton if the
record is $ocked ?
Ans : 1osition !& ? !0 "4<'+
Que : What is the record $ock status va$ue ?
Ans : Status va$ue is 0@)@A+
MISCELLANEOUS
Que : -ow do you com2ine two record formats in 743 ?
Ans : 3sing C4C+
Que : -ow do you s/$it record formats in 743 ?
Ans : 3sing C47+
Que : What is the use of S.A ?
Ans : Screen .esign Aid is used to create dis/$ay fi$es
interactive$y+
Que : -ow do you define over$a//ing fie$ds in S.A ?
Ans : 8hey can 2e defined through condition indicators+
Que : #ention different ways of s/ecifying user he$/+
Ans : 8hrough S.A and 1ane$ ,rou/+
Que : 8o which mem2er ty/e does he$/ te;t for /ane$ 2e$ong ?
Ans : 164,71
Q3E : Can 1rinter fi$es 2e e;terna$$y descri2ed or /rogram descri2ed
A6S : 5es+
Q3E : What are the va$id fi$e o/eration codes for a 17968E7 fi$e ?
A6S : W798E( <1E6( C4<SE( :E.<+
Q3E : 9f you use 96.A7A keyword for a /rogram?descri2ed 17968E7 fi$e(
what wi$$ 2e the resu$t ?
A6S : 5ou wi$$ get run?time error+
Q3E : What is 178C84( and where wi$$ you define it ?
A6S : 8he 178C84 "1rinter Contro$' o/tion a$$ows you to change forms
contro$ information and to access the current $ine va$ue within
the /rogram for a /rogram?descri2ed 17968E7 fi$e+ 178C84 o/tion
wi$$ 2e s/ecified on a : s/ecifications continuation $ine for
the 17968E7 fi$e+
Q3E : What is the function of 743 ?
A6S : 8o design B /rototy/e a re/ort+
Q3E : What are the three ty/es of keywords associated with /rinter
fi$e ?
A6S : :i$e $eve$( 7ecord $eve$ B :ie$d $eve$+
Q3E : What are the three $ine ty/es in 743 ?
A6S : 7e/ort $ine( :i$$er $ine B Sam/$e $ine+
Q3E : Which o/tion num2er is used to invoke 743 ?
A6S : </tion @%+
Q3E : What are the different commands used in 743 ?
A6S : .7 ? .efine 7ecord( C4C ? Change 4ine for Continuation( C47 ?
Change 4ine for 7ecord( S. ? Create Sam/$e .ata( C: ? Ciew
:ie$ds( 61 ? 6ew 1age( .C ? .efine Constants( .: ? .efine
:ie$ds( C: ? Centre :ie$ds B S1 ? S/ace :ie$ds even$y+
Q3E : What is the command used to invoke 743 ?
A6S : S87743+
Que : What are different record s/acing keywords in 743 ?
AnS : SG91A( SG91*( S1ACEA B S1ACE*+
Q3E : What is =o2 descri/tion ?
A6S : A =o2 is an unit of work on the AS/400+ Fo2s run in a
su2system using system resources viE+ memory( disk( etc+
A =o2 can 2e either interactive or 2atch+ :or interactive =o2s F<.
in 3ser /rofi$e is used and for 2atch =o2s F<*. a$ong with S*#F<* is
su2mitted with an o2=ect ty/e of =o2 descri/tion is DF<*.+ Fo2
descri/tion is a set of characteristics that define how the system
hand$es a =o2+ 9t contains: Fo2 >ueue "on$y for 2atch'( =o2
/riority( /rinter to 2e used( <38Q B its /riority( time s$ice B run
/riority+ 9f none of the a2ove is s/ecified the system used the
defau$t =o2 descri/tion+
Q3E : .efine a su2 system?
A6S : Su2 system is an o/erating environment( defined 2y a su2 system
descri/tion+ A$$ user =o2s are /rocessed in the su2 system+
Eg+Q*ASE( Q*A8C-( QC84( Q968E7( etc+ Su2 system descri/tion
defines the characteristics of a su2 system+ 7<3896, E6875:
S/ecifies the /rogram to 2e ca$$ed to contro$ a routing ste/+
W<7G E6875: Source from which =o2s can 2e acce/ted+
W<7G S8A89<6 E6875: .is/$ay stations from which users can $og
into the su2 system+
Q3E : </en >uery fi$e N<16Q75:O?
A6S : </en >uery fi$e "<16Q75:' se$ection can 2e on:
D .ynamic record se$ection
D .ynamic keyed se>uence
D .ynamic =oin
D 3ni>ue key /rocessing
D ,rou/ /rocessing
D :ina$ tota$ /rocessing
D 9m/rove /erformance
Query access /ath wi$$ 2e im/$emented through the
fo$$owing o2=ects
D C4 /rogram containing an <16Q75: to o/en access /ath at
runtime
D <S/400 /hysica$ fi$e used to com/i$e /rograms Ndummy 1:O
used at runtime
D <S/400 $ogica$ fi$e defines the key to <16Q75: command
Q3E : <verride data2ase N<C7.*:O ?
A6S : <verride data2ase N<C7.*:O $ets to override the fi$enames or
attri2utes of fi$e se$ected when we com/i$e/run /rogram+
<verrides can 2e used to change most of the attri2utes+ 8o
cance$ the override data2ase command we sha$$ have to give
de$ete override data2ases .48<C7+
Q3E : -ow do you /ass numeric /arameters for su2mit=o2 ?
A6S : Convert numeric /arameters to character and /ass( or+/ass in
he;adecima$ format " x0nf if PnQ contains odd num2er of
digits xnf if PnQ contains even nun2er of digits'
APPENDIX - A
8he coding methodo$ogy to 2e fo$$owed to code >uestions B answers that
are to 2e added to this >uestion 2ank is descri2ed 2e$ow+
C<.E S873C837E : A*C.nnn+
A ? A indicates whether the code is a >uestion or an answer+ 8he
/ossi2$e va$ues are :
Q ? Question+
A ? Answer+
* ? * indicates the to/ic under which the >uestion/answer fa$$s+ 8he
/ossi2$e va$ues are :
@ ? AS/400 S5S8E#+
) ? <S/400
? .A8A*ASE :94ES
4 ? .9S14A5 :94ES
! ? C4/400
& ? 71,/400
0 ? C<*<4/400
A ? #9SCE44A6E<3S
C ? C indicates the >uestion/answer ty/e+ 8he /ossi2$e va$ues are :
< ? <2=ective ty/e+
S ? Short answers+
4 ? 4ong answers+
. ? . indicates the com/$e;ity $eve$ of the >uestion/answer+ 8he
/ossi2$e va$ues are :
Com/$e;ity $eve$s @/)//4/! " Where com/$e;ity $eve$ increases
from @ ? ! '
nnn ? 8hese re/resent the numeric se>uence+

Вам также может понравиться