wat is meant by hidden field , why it is used?
Answers were Sorted based on User's Feedback
Answer / afnas
In Hidden field user cant be modified.The difference
between hidden field and non display field is that in non
display user can do modification and cursor will point to
that fled.in hidden field cursor will not point.Hidden
field declared type as H.Normally hidden filed is used to
return the value of RTNCSRLOC(Return cursor Location),CSRLOC
(Cursor Location)function.
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / deepak
hidden field can not be modified by user.It can only be
midifile by program. It is widely user in Subfile.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / amit
Hidden fields are defined by there datatype as H in display file. They take the size which you have defined for it. They exist on display file but only used to store some hidden values like RRN in kind subfile record.
Non Display fields are also regular fields from the program. There editcode is Non Display(ND). It is used for hiding a password.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / talk2sreenivas@gmail.com
hidden field is mostly security for the pc user.it can
mostly modified by the user.
Is This Answer Correct ? | 2 Yes | 7 No |
What is the significance of UDATE?
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?
In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening
Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On
HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.
in rpg could u please tell me errors types and meanings like 3030 that ....