how to create physical file
Hi,
We can create a physical file in 3 ways...
1)
first login to the as/400 system with your credentials...
and then enter WRKMBRPDM command on the command line...
and then, enter your "source physical file name" and "library name"...
and then, enter "STRSEU" command or take F6 on the command line...
it will display source entry utility window or page...
and then, enter your SOURCE MEMBER NAME, SOURCE TYPE, and press "Enter key" from your keyboard...
and then it will display member window and there give record format name enter fields whatever you want to display. if u need any take F1 for help...
after that press F3, and enter "SAVE" top of that page...
after that, compile with 14 option, and take "UPDDTA" on the command line and give records as data...
after that, RUNQRY *N member name() and press enter...
then it will display the records...
2)
F6
3)
CRTPF
this will help you to create a physical file
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we find from which source the program has been compiled for a given RPGLE program object?
How to Define a Procedure in RPG?
what is the maximum number of records you can specify in a display file?
how do you detect unused spool storage?
how a varible can be passed to a subfile...accnt1 contain data in a data area..ie Daccnt1 uds,Daccnt2 3 overlay(accnt1:1), DNo 4 overlay(accnt1:4)..we want to transfer this dataarea value from acnt0001 to a subfile..that means to enter each record we have to incriment account no,, i normal window we can do move accnt1 account_no eval account_no=accnt1 eval no=no+1 exfmt usr_account how it possible with Subfile????????.Please do answer? (Thank you for all your answers dear friends!!)
what is message subfile?
what is the function of crtdupobj command?
What is the symbol used for shifting fields in SDA?
What is a Member?
What is SAA?
Is it possible to add an keyfield or field to an Physical file without changing its file identifier. Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.
records can be read/update/deleted with which file?