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

what is the difference between seton lr and retrn?

1 Answers   IBM,


what is *iso date format?

0 Answers   IBM,


what is subfile?

1 Answers   IBM,


What is SDA used for?

7 Answers  


what are the limitations of cl (compare to rpg) ?

1 Answers   IBM,






What Does 'sr' In Columns 7-8 Of C Specs Mean?

1 Answers   IBM,


What is left outer join?

2 Answers  


What is keyword PFILE specifies ?

1 Answers  


4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge which only 2 persons at a time can cross. its night and they have only one flashlight with them. Flashlight cannot be thrown. one person should return with the flashlight all 4 person have different speed. a = crosses bridge in 1 min. b = crosses bridge in 2 min. c = crosses bridge in 5 min. d = crosses bridge in 10 min how can they all reach in time.?? Ex- suppose a and d crosses bridge which will take 10 mins and then d returns back with a flashlight which will make 20 mins and mission is failed.

1 Answers   Manhattan,


How many Printer Files can Declare in a CL Program?

4 Answers  


how can database records be read without lock ?

1 Answers   IBM,


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

0 Answers   TCS,


Categories