how to create physical file

Answer Posted / ravikumar895

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dynslt?

787


what is the purpose of ovrdta (override data) keyword?

1073


what is the difference between normal upddta to pf and updating using dfu program?

769


What is the draw back of Procedures? why we are going to Modules?

1230


what is rpg fixed logic cycle?

660






What is the difference between crtdupobj and copyf?

686


how to run other job when one job is active?

603


what does defn do?

615


under given circumstances, my cgi should link to another site. How to implement this?

578


How to avoid using indicators in ile ?

773


Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?

2087


why do we use readc? What is sflnxtchg?

670


what is the version of os/400 that we have?

959


how do handle file exception/error?

651


what is the disadvantage of using global variable?

689