Beruflich Dokumente
Kultur Dokumente
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
5.please give the details about last 4 or 5 bug and how to correct it.(told to zubar)
Ans : see the attachement file.
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
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
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
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