Physical File Questions and Answers

Recent IT Questions

21 - 40 of 72

Accessing AS/400 DB2 physical files with Java

Hello All, We have one JDE Word Writer program, which export the order master data in the DB2/400 Physical files. We want to access this data from our java program (reside on windows platform). I am wondering how we can do that. I got one hint that can be accessed by ODBC connection. But I am...

View Answer   |  Mar 17 2009  7:00 AM GMT
DB2/400, Physical File, Java/400
asked by GeethaNatarjan

  15 pts.

Position to in Single page subfile

Hi I have one PF with Policy No . , Cust. Name and both fields are key fields in PF . I want to use position to for field cust name which is the second key field in PF . So is there any way to do this without creating any Logical file ??????(in single page subfile)

View Answer   |  Mar 16 2009  11:26 AM GMT
Subfile, Physical File, Logical File
asked by S22

  35 pts.

Read backword in CL/400

How to read backword a physical file in CL400.

View Answer   |  Mar 16 2009  6:45 AM GMT
CL/400, Physical File, CL
asked by Bdchow

  5 pts.

Merge two Physical Files using Logical File

I have multiple Physical files (Trans2006, Trans2007, Trans2008, etc…) with same record layout with the yearly transactions on my iSeries. I want to merge these files (for temporary period). Is it possible to create a Logical file? If so please help me.

View Answer   |  Mar 12 2009  10:41 PM GMT
DDS, Physical File, Logical File
asked by Nhewage

  40 pts.

Selecting Fields in Logical File

If you would make a logical file and select only fields you need from a physical file that has 500,000 records it, Would it cause a performance issue when a record is updated in the PF?

View Answer   |  Mar 9 2009  5:26 PM GMT
Logical File, PF, Physical File
asked by Programmer23

  20 pts.

db2/400

I need add a field in existing Physical file without imacting any thing file? i know CHGPF command but i am not sure about which parameter needs to be update... Please advice...

View Answer   |  Mar 6 2009  1:15 PM GMT
AS/400 DB2, DB2, CHGPF
asked by Askt

  265 pts.

CPYTOIMPF - PC .TXT file displaying as 'garbage'

Hi, We are using a simple CPYTOIMPF command to move a Physical file to the IFS in a .TXT format. CPYTOIMPF FROMFILE(S4CMREP) TOSTMF(&TOIMPTF) + MBROPT(*REPLACE) RCDDLM(*CRLF) + STRDLM(*NONE) FLDDLM(*TAB) Where &TOIMPTF is a IFS Folder & file name. This was...

View Answer   |  Feb 26 2009  10:52 AM GMT
CPYTOIMPF, Copy To Import File, Physical File
asked by SallyMackay

  15 pts.

Add field without altering Record Format Level Identifier

Hi, Is it possible to alter a file (say adding a new field or deleting a existing field) without altering format level indentifier? if yes? please tell me how? Tanx

View Answer   |  Feb 17 2009  11:56 AM GMT
PF, Physical File, Record Format Level Identifier
asked by RJES

  45 pts.

Auto download a .CSV file from network drive

to a AS/400 physical file through a cl program? how can I do this?

View Answer   |  Feb 12 2009  6:09 PM GMT
Physical File, CL Program, CSV
asked by UARTJ

  5 pts.

clearing multple members in a physical file

Does anyone know of a way (or utility) to clear multiple members in a physical file ? i create multiple members for the file on the fly based upon date/time in a cl program. the file is a weekly archive of data from a transaction processor, and i want to clear it and start over on a weekly...

View Answer   |  Feb 10 2009  8:17 PM GMT
CL, CLRPFM, CL programming
asked by Lacag

  95 pts.

Compare physical file data

Hi, I am trying to compare data from two different physical files. Both the files are in the same format but from two different systems. I need a report or a file which compares the data in both the files and report the differences in a report or a physical file. Any toughts on this. I already...

View Answer   |  Feb 10 2009  6:42 PM GMT
iSeries, Physical File, Comparing Physical File Data
asked by Reachme

  15 pts.

Unable to over ride a PF member

Hi, I made a cl program and in it I over ride a pf member, clrpfm then call my rpgle program. I can't write on my member but instead it writes on the primary member and reads it. seems the member that is used is the the primary member and not the member that I over rides.

View Answer   |  Feb 6 2009  3:43 AM GMT
Physical File, CL/400, CLRPFM
asked by Ayterrobias

  5 pts.

Display only the PFs and the number of records in each PF, from a library

Get the library name from a different user , accept the library name , then send the list of only the Physical files in that library , along with the number of records in each PF , to that user.

View Answer   |  Feb 3 2009  6:45 AM GMT
Physical File, DSPFD, Display File Description
asked by Athulcs

  5 pts.

OPNQRYF

I have 4-fileds on Display File like frdiv(zoned),todiv(zoned),frpr(char),topr(char) all the fields are of size 2 only. I am using a "OPNQRYF" to filter the records froma Physical file (pfdiv), it containes 1,25,000 records . Through this openqryf all the selected records I will copy to a file...

View Answer   |  Feb 1 2009  2:21 PM GMT
CL/400, OPNQRYF, Open Query File
asked by Khadar

  90 pts.

DB2/400 - Why does each Physical File member has its own access path?

why each physical file member has its own access path?

View Answer   |  Jan 30 2009  11:59 AM GMT
physical file member access path, Physical File, DB/400
asked by Ashish86

  30 pts.

join logical files

Hi, Can i join one physical file's 2nd member to another physical file's 5th member? Is it possible? If so how? can anybody help me out?...thanks

View Answer   |  Jan 29 2009  6:06 PM GMT
DB2/400 RRN, Join logical files, Logical File
asked by Ten2008

  705 pts.

Search in a Physical file

How can search for a particular string in physical file when there is not any primary key in physical file. There is not any information about the field name and field structures also.. e.g. like we have to search for "anshu" in a PF but we dont have ay idea about the feilds in the PF. PF doesnot...

View Answer   |  Jan 20 2009  8:34 AM GMT
Search PF, PF, Physical File
asked by PiyushSingh

  5 pts.

Problem in CCSID converting

I have a QM query that forms up a DB file. A physical file. A file that afterwards will be tranferred to the excel worksheet. All the source DB files (as well as all the records inside) that I use in the QM query are having the CCSID=297 (french). But the data itself stored in these DB files...

View Answer   |  Jan 19 2009  5:09 AM GMT
AS/400, CCSID, locale
asked by Proturborandza

  25 pts.

Unable to override a PF member

Hi, I am trying to override a physical file using CL. The CL program is being called by a CBLLE program. In the CBLLE program, I want to process the overridden member.But,all the processing is going on the first member only.It looks like as soon as the CL program terminates DLTOVR gets executed...

View Answer   |  Jan 16 2009  1:31 PM GMT
OVRDBF, DLTOVR, PF
asked by Prabhjot85

  15 pts.

Not able to override a database file in CL

Hi, I am trying to override a physical file using CL. But,when I go and delete the override, I get an exception that it was never overriden. :( Any help will be highly appreciated

View Answer   |  Jan 16 2009  1:13 PM GMT
OVRDBF, DLTOVR, CL
asked by Prabhjot85

  15 pts.

21 - 40 of 72