Sie sind auf Seite 1von 4

1.

how to see the result of intractive job(joblog or spool file)


ANS IS C-CALL (I CANT UNDERSTAND QUESTION) INTERACTIVE JOB MEANS NORMALLY WE
ARE DOING PROGRAMS THAT IS 14-COMPILE THEN C-CALL(interactive means constant)

2.what is mean by member(pf)i know addpfm to add member.but what mean


ANS: for eq icici bank is launched in india in newdelhi.they want to open
their branch in chennai so here no need to create all new fields simply u can use
addpfm so that branch also having same pf like newdelhi.
advantage
* consistancy occur
*time can be saved

3.how can debug in rpgle and rpg/400.u already tell isdb in rpgle and strdebug in rpg/400.but we did
debug in rpg/400 using str isdb.(essential)
Ans: to debug a program in ILE is
Step 1: Option 14 with f4 then f10 there will be debugging views there u specify *SOURCE
Then enter (if it is completly normally means then proceed next step)
Step 2: Strdbg program name
update production *yes
Step 3 : The source code will be displayed set break point F6=break point To any line
Step 4 : shift f9(it will show command prompt)there u specify call program name and enter
step 5: use f10( similarly like in rpg400 u will use f5 like that here f10)
step 6: F10 ,F10 until u end ur program
step 7: enddbg(must)in command prompt

4.how to declare constant in rpg


Ans : 1.IPN in line number
eq .00IPN002..enter
or
IPN2.00 Then enter it will show like
Data Field
Constant Type Name
__________ _ ____
2. using z-add or move

5.please give the details about last 4 or 5 bug and how to correct it.(told to zubar)
Ans : see the attachement file.

6.what is the tough concept u will clear.(project)


Ans : EOD process(END of DAy)
I wrote a comman programs to tranfer all files using FTP.
i will sent that program later

7. we can use 1024 byte in dataarea becaz.faculty told yes.i am told to no.what correct.
Ans : I cant understand the question

8.what is diff between immd,delay,rebuild(access path)


immed - means immedialty job will be ended
example if your program in loop means u have to end your program
so go to wrksbmjob it will be in active there use option 4 Then F4 there will be a option
How to end : here u specify *immed and enter( it will immediatly ended)
*delay-means same like above There is delay time if u specify 30 means
after 30 seconds it will end.
*rebuilt-once again its rebuilding the access path

9.if u give an page size=100.what do to


Ans: what for u r giving page size means while writing records for subfile
u can write upto 100 records at a single time by pressing page down.
if u give page size as 5 means u can write only 5 records at a single time .If u
want to write more means u have to call another time.

Want to be your own boss? Learn how on Yahoo! Small Business.

-----Inline Attachment Follows-----

/* Task is to retrieve the book name alone give input is


LB1-PG23,LB2-PG24,LB3-PG45.....
I HAVE TO RETRIEVE ONLY the book name alone not the page number eq
LB1,LB@,LB3

darr1 s 1 dim(50)
darr2 s 1 dim(50)
dx s 2 0 inz(0)
dA s 2 0 inz(1)
dA2 s 2 0 inz(1)
dc s 2 0 inz(1)
dB s 2 0 inz(1)
dA1 s 2 0 inz(1)
c dsply aa 50
c movea aa arr1
C 0 DO 4 Z 20
C '-' scan AA:A2 a1 5455
c eval c=a1-x
c sub 1 c
C DO c
c move arr1(A) arr2(B)
c add 1 a
c add 1 b
c enddo
C Z-ADD 1 B
C MOVEA ARR2 CC 45
C CC DSPLY
c clear arr2
c* call 'ZRRPG3'
c add 1 x
c ',' lookup arr1(x) 43
c if *in43=*off
c leave
c endif
c move x a1
c move x a2
c add 1 a2
c move a2 a
c enddo
c seton lr

-----Inline Attachment Follows-----

he will pass some parameters that is in uppercase but the output should come in lower case

E ARR1 26 26 1
E ARR2 26 26 1
C *ENTRY PLIST
C PARM A 1
C Z-ADD1 C 20
C A LOKUPARR1,C 42
C *IN42 IFEQ *ON
C MOVE ARR2,C D 1
C D DSPLY
C ENDIF
C SETON LR
** ARR1
ABCDEFGHIJKLMNOPQRSTUVWXYZ
** ARR2
abcdefghijklmnopqrstuvwxyz

-----Inline Attachment Follows-----

UPLOADING:
1
How to convert or send MsExcell Data into AS400 Pf.
Step 1: Format the data
(ie) check wheather the Pf data length is equal to Ms Excell data length exampla field1(eno) numeric
5 check in Ms Excell.
How to check in Ms Excell means go to Ms Excell go to ENO Rigth click-it shows Format cells there u
check it.
step 2:Save the Ms Excell data into .prn Format and put it into ur desktop
step 3: Go to Command Prompt (start----Then Run----type cmd)
it will show the command prompt.
There u type
FTP ipaddress(example 12.2.3.35)Then Enter
specify ur user id(example jagadesh)
Then password(example jvijay)
cd library name
Put .prn filename PF name

so now .prn filename is sent to Pf name


quit(to come out from command prompt)

Das könnte Ihnen auch gefallen