MC Press Online Forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to display many subfile columns (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: How to display many subfile columns
#122007
gmoiselle (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
How to display many subfile columns 3 Months ago Karma: 0  
HI,

Good day!

I am new to this forum and please I need help. Is there anyone of you knows how to display subfile records in 3 columns like 14 in each column (42 recs in 1 page). I am unable to this in SDA. can you teach me how?

it should look like this:

CARD NUMBER 4DBC CARD NUMBER 4DBC CARD NUMBER 4DBC
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
999999999999999 9999 999999999999999 9999 999999999999999 9999
+

I can only show 1 column. Please help. This is Urgent :):):)

I appreciate all the help.. thanks

GOld
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/08/21 12:50 By gmoiselle.
  The administrator has disabled public write access.
#122008
Terry Winchester (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:How to display many subfile columns 3 Months ago Karma: 0  
I believe you'll need to use the SFLLIN keyword.

Look at the DDS reference: http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzakc/rzakcmst06.htm

Terry
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#122009
efnkay (User)
Junior Boarder
Posts: 39
graphgraph
User Offline Click here to see the profile of this user
Re:How to display many subfile columns 3 Months ago Karma: 1  
Ditto. Here's the basic description and use of SFLLIN...

SFLLIN (Subfile Line) keyword for display files
You use this record-level keyword on the subfile-control record format to specify that the subfile is to be displayed as a horizontal subfile. The subfile has more than one column of records displayed.

The format of the keyword is:
SFLLIN(spaces)The parameter value specifies the number of spaces (including attribute characters) between columns of records.

For example, specifying the SFLLIN keyword causes a subfile of four records to be displayed as:
REC1 REC3
REC2 REC4

If SFLLIN is not specified, these records appear as:
REC1
REC2
REC3
REC4

If the subfile record format contains field selection, this keyword is not valid.

To use SFLLIN for secondary display sizes, specify a SFLLIN keyword with a display size condition name for each secondary display size.

Because the SFLPAG keyword specifies the number of subfile records that can be displayed at a single time, you must consider SFLLIN when specifying the SFLPAG value.

SFLLIN is not valid for a message subfile.

Option indicators are not valid for this keyword.

Example
The following example shows how to specify the SFLLIN keyword. Columns of subfile records appear five spaces apart.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R SFLR SFL
A*
A* (at least one displayable field)
A*
00040A R SFLCTLR SFLCTL(SFLR)
00050A SFLPAG(17)
00060A SFLSIZ(17)
00070A SFLDSP SFLDSPCTL
00080A SFLLIN(5)
A
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#122010
gmoiselle (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:How to display many subfile columns 3 Months ago Karma: 0  
Tried it , works prefectly..

Many thanks :):)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
   MC-STORE.COM