Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
AS400 Iseries Questionnaire

AS400 Iseries Questionnaire

Ratings: (0)|Views: 236 |Likes:
Published by VISHNU400

More info:

Published by: VISHNU400 on Feb 07, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/01/2012

pdf

text

original

 
 
-----Original Message-----
From:
Rajagopal CV [mailto:rajagopal.cv@tatainfotech.com]
Sent:
Thursday, July 17, 2003 8:23 AM
To:
Gautam Bhandari; sumit.set@rebusis.com; prakashk@ggn.hcltech.com
Subject:
Re:
Hi gautam,
 
You are quite near the answer in all the cases.
 
I have been working on this yesterday. Please find below my findings.
 
1. An existing Phy file's DDS has been changedWhat all steps do u take to create the new *FILE object.
For this we have to do all the steps in a CL. No RPG pgm allowed.>First As you said redirect the output of DSPDBR into a file.
 
>RCVF on that file and get the attached logical . (I got stuck here . I was not sure how to retrieve a DB fileusing RCVF Statement)
 
>Before compiling the new DDS , delete the logicals.
 
> Do CPYF and take backup.
 
> Compile the new DDS.
 
> Copy back the backed up file with *MAP,*DROP option
 
> Recompile the logicals. You will get the SDource member and library from DSPDBR output.
 3. Can a call a compiled module of an RPGLE pgm which has only a main procedure ?
Yes u can call a compiled *MODULE object using CALLB. But the *MODULE object will have only HFDCOspecs . No subprocedures with P . I am just trying to code a program .i.e do CRTPGM (Mod 1, mod2, mod3, Mod4)
 
Mod 1 is your entry module. From Mod 1 you can do CALLB to MOD2, mod3, mod4 etc . I din know this
4. What is signature violation while running ILE programs. whats steps will u take to over come this.
This happens in 2 cases
 
1. Your service program has changed, you have updated the service program using UPDSRVPGM , But youhave not updated the program using UPDPGM
 
2. Your pgm is latest but you have forgotten to do a UPDSRVPGM
 
He said we can find out a Signature attached to a service program using DSP Program refernce . I did notunderstand . My fundas in ILE is so so ....
 6. What is to use of MONMSG. Is EXEC param mandatory ..If EXEC is not added what will happen to the programflow
 
From where do I get the list of message id's corresponding to each Command (Apart from manuals)
The list of escape message is also available on the help of each command. Take F1 on a particularcommand . Just after the description of the command they have also given all escape messages attachedto a command.
7. Does CHAIN statement lock the record beiing chainedIs there a way I can lock a record using chain Statement.It seems along with CHAIN ststement we can specify H,N etc to lock your record exclusively ..Need to probe onthat .
I am yet to try this
8. A pgm has primary File defined in it. The Pri file has no recods. Will the program end normally or abnormally ?
Yes it ends normally
 9. What is overflow indicator ? Where do I defined it .Do we SETON or SETOF an overflow indicatorwhat happens if I SETON the overflow indicator in the first statement of my program.
Please send the pgm codes you have written with overflow indicators
 ----- Original Message -----
From:
 Gautam Bhandari 
To:
 Rajagopal CV;sumit.set@rebusis.com;prakashk@ggn.hcltech.com 
Sent:
Tuesday, July 15, 2003 7:13 PM
Subject:
RE:HEY GUYS I HAVE TRIED TO ANSWER AS FAR AS I KNOW OR THINK I KNOW PLEASE CORRECT MEWHERE IM WRONG......
 
1)what did u do ...cpyf to some xyz file which u created within cpyf ....then crtpf (changed dds) and then copy databack from xyz to compiled file..........for dspdbr u took output in outfile and then read that file thru rpg to know nameof dependents.......how did u do it this is interesting
 
 
 
3) i guess no but not really sure
 
4) i think it has some thing to do with identifiers(format or record level) created at compile time ...so whenever urecompile new identifiers are created so all programs using this object ....u may have to recompile to overcomethis voilations6) in library qsys there are message files QXXXMSG WHERE XXX IS FOR MESSAGES U WANT ESCAPEMESSAGES CPFSERIES RESIDE IN QCPFMSG FILE IN QSYS AND SO ON ....IF U HAVE as-400 ACCESSTHEN JUST DOWRKMSGF QSYS/*ALL AND ULL FIND ALL THESE MESSAGE FILES.........
 
MONMSG I GUESS TRAPS THIS MESSAGE IDS AND USED TO MONITOR THESE MESSAGES SUCH ASESCAPE...SOMONMSG MSGID(CPF000) MONITORS ALL CPF MESSAGES.
 
7) i think chain locks record .......u can chain with no lock by specifying chain(n).....and other one is CHAIN(E) whatit does i don know....
 
8)should end normally.
 
9) overflow indicator at f specs with printer file......this is set on by itself when page length specified while compilingprinter file ( take 14 and f10 on printer file being compiled ull see) is reached and on it being on you have the logicfor skip page (write header again).....have written a couple of programs if u need i can send it to u10) at openqryf u have to specify a parm open which can be *inp; *out;*upd;*all.............
 
yes u can override a specific member also.....
 
u can update records if u give lock state of record format as *shrupd but if u give *Shrunp u cannot12) CMPPFM OR OPTION 54 ON WRKMBRPDM SCREEN
 

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->