i want code and what are used key words are ...like wrkmbrpdm screen
(q) i have a file with 3 fields empno,empname,empaddr...
here you give the empno it displays from that number to remaining empno's how?
sub file screen:
employee details
pos to:empno then enter
empno empname empaddr
so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining...
......
please share this answel
Answers were Sorted based on User's Feedback
Answer / raghav
This can be achieved by using File Information Data Structure. First extract the RRN of the required record and pass it to the SFLRCDNBR (Hidden Field).
This will take the cursor to the desired record on the subfile.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / krishna
After displaying the sub file, create one subroutine with setll and pass this field value to another local variable, DOW the subfile data, display each record in subfile.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to set on/off a group of indicators in a single statement?
Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
I am Submitting one job in batch that job calls three progams(PGMA, PGMB, PGMC). PGMB should be called after sucessfully completion of PGMA as like for PGMC also. So Can you please tell me how can we do that (without using data area)
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?