Hi,
Can anybody give me real sinario for SFLRCDNBR?with
example?
Answers were Sorted based on User's Feedback
Answer / guest
This keyword allows us to specify what page we have to
display when the program issues the write or EXFMT screen.
For example subfile size is 35 & subfile page is 10 and at
anypont we have to dispaly 33th record directly.
For it we have to add one line in display file.
A var-name size dec.position use Function
A var 4 0 H SFLRCDNBR
where var will be a hidden field and we just assign the
value of Relative record number(RRN) to this var. by
C Z-ADD RRN var.
then it display the correspond record no.
Is This Answer Correct ? | 13 Yes | 3 No |
Answer / reecha bhandari
SFLRCDNBR is useful to display errors on particular page
example:
Suppose SFLPAG = 10 and if the error occurs at line 25 ,
then when u press enter the page runs by default to 1 page
if u r not using SFLRCDNBR.
if u want that only that page comprising error sud be
displayed then mov ethe value of RRN to this keyword.
Is This Answer Correct ? | 6 Yes | 3 No |
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
Hi all friend, Could Any body send me the code (with coding) of this senario because I have tried but I am stucking somewhere so Please reply ASAp with coding. senario:Q: I have to write the flat file(FLAT1) into the three different PFS (PF1,PF2 and PF3) with the respect of H line data, D line data and Z line data of flat file. where I have different data in flat file(FLAT1) which is mentioned below with data. H0929200909282009092820095529420003000073 D2222220006765555webservi001633.9909222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840001633.99001633.99851856492689800208001915 511001633.990408490000000.0000000003446048 1,3 110793145 09070700351 372367 Rosner Motors D3333320006774444webservi000271.2409222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840000271.24000271.24851856492689800208001835 511000271.240930680000000.0000000003450293 1 110793254 09072100079 373933 Rosner Motors Z0929200900000020001905.25 FLAT1 has the three pf data H line-represents the header pf data,D-Represent Details pf data,Z-Represents the trailer pf data Now I have to write H line data of flat file into Header pf (PF1),D line data of flat into datails pf(PF2) and Z line data of flat file into pf(PF3) with the spefic position(H,D and Z data of flat file into PF1, PF2 and PF3) of flat file.
ESCAPE message sent by child program can be handled by parent program using which keyword?
parameters cannot be passed in which one??
how do I play {insert rpg system here}?
what is flat file?
Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?
can we use cl programming to update or delete physical files
I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
5 Answers CitiGroup, Symphony,
How do you code file / field renames in ILE RPG?
How to set on/off a group of indicators in a single statement?