Can we journel logical file and access path?
Can we use commitment control for non-join L.F?
Answers were Sorted based on User's Feedback
Answer / swadesh
We can't journel logical file but yes we can journel the
access path.
we can't use commitment control for logical file.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / samul
Thanks Vipin,
What does it make the difference if we use the commitment
control...?
I think when we use commt ctrl , that file should be
journal..isn't it...?
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / mohan k
If we want to keep any file in commitment control mode
forst that file should be journaled so we cant journal LFs
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vipin
We can't journel logical file and access path but we cab
use commitment control for LF
| Is This Answer Correct ? | 0 Yes | 4 No |
How to search particular records from the database file in rpg?
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
How do I read records from Subfile? what is the purpose of READC explain with example?
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
How can i check the object existance in RPG program without using QCMDEXC command.
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?
This is my Physical file 'EMPS' existing in library "TAMIL1" and its record format is 'EMPRCD" a)its source is R EMPRCD ENO 4 0 ENAME 10 EADD 10 b)The records present in EMPS are as follows ENO ENAME EADD 0001 tamil coimbatore 0002 kumar bangalore 0003 sunder bangalore 0004 arunkumar chennai 0005 pandi hyderabad 0006 santhosh hyderabad 0007 sasi salem 0008 kalai chennai 0009 suresh hyderabad 0010 vijay bangalore 0011 Arul chennai 0012 velu chennai 0013 khan bangalore 0014 praba chennai 0015 praba.p coimbatore 0016 anand ooty 0017 raja erode 0018 sankar erode 0019 vadivel namakkal 0020 anbu chennai 0021 Ajith mumabi c)now i want to select the 'ENAME' field records starting with 'S' for that i have created a RPG program its source code is PGM DCLF FILE(TAMIL1/EMPS) DCL VAR(&MYENO) TYPE(*CHAR) LEN(4) OVRDBF FILE(EMPS) SHARE(*YES) OPNQRYF FILE((TAMIL1/EMPS)) QRYSLT('ENAME *EQ %WLDCRD("S *")') READ: RCVF RCDFMT(EMPRCD) MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END)) CHGVAR VAR(&MYENO) VALUE(&ENO) SNDUSRMSG MSG(&MYENO) SNDUSRMSG MSG(&ENAME) SNDUSRMSG MSG(&EADD) GOTO READ END: CLOF OPNID(EMPS) DLTOVR FILE(EMPS) ENDPGM Is this coding correct sir,the program gets compiled,and if i call it it says query running but records are not displayed.please help me out
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
wat is meant by hidden field , why it is used?