how to create physical file



how to create physical file..

Answer / 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

More IBM AS400 AllOther Interview Questions

Can be OVRDBF command mentioned after OPNQRYF command in CL?

1 Answers  


which of the following operations does not zero the field flda defined as 4,0?

0 Answers   IBM,


1.what is mean by compilation and runtime error? 2.How to define ALFA numeric value in pf? 3.what command is used to define a data in cl pgm? 4.What type of command is used in page at a time subfile and load all subfile?

2 Answers  


1.What is the difference between regular join logical file and non join logical file? 2.what are the nessasary keywords for non join logical file

3 Answers   ANZ,


What is the difference between /copy and /include in RPGLE?

1 Answers  






what does the ovrdbf command do?

0 Answers   IBM,


an access path may be in which sequence?

0 Answers   IBM,


I have SQLRPGLE program in which there are some update statements which executed correctly. there were no errors run time. Once the program gets over, the file was not updated with the new values. What might be the reason?

2 Answers  


Diff B/w ref and reffld?

1 Answers  


Hi Friends, I need immediately answer for this: Senario is that,I am selecting records from the display and window subfile on the basis of Reason Code and some more fields but spool file not showing the same records which i have selected by display and window subfile. Q.What could be the causes(resons)to not show records properly (just selected in the display file and Window subfile)according the selection criteria of the records. Q.What would be the solutions to show records properly in the spool file just as selected in in the display file and window subfile according to the selection criteria.

1 Answers   IBM,


Specify different indicators used in RPG?

1 Answers  


what is the maximum number of parameters allowed in clp?

2 Answers   IBM,


Categories