PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

What is the context in SYNON/2E?

View previous topic View next topic Go down

What is the context in SYNON/2E?

Post  maran on Sat Oct 09, 2010 5:28 pm

instances of a field that are available for use at a particular processing step
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

cnondition context ?

Post  kannan on Thu Mar 10, 2011 2:16 pm


i need a brief about the following context in synon...

LCL
WRK
DB1
PAR
DTL,
CTL,
RCD,
CUR,
NXT,
TOP
CND
CON

kannan2838@gmail.com

kannan

Posts : 1
Join date : 2011-03-01

View user profile

Back to top Go down

Re: What is the context in SYNON/2E?

Post  yorkshireman on Tue Jan 15, 2013 6:07 pm

I suggest you go to CA.com and read the manuals - they are excellent at explaining everything to do with 2e- a quick work through the training manual aka 'horse race model' will show most things at this level.



yorkshireman

Posts : 2
Join date : 2013-01-15

View user profile

Back to top Go down

Re: What is the context in SYNON/2E?

Post  maran on Thu Feb 07, 2013 6:23 pm

DB1 -The DB1 context is available to all function types that perform update or read functions on a database file after reading and before writing to the database file.

DB2 -The Database Two (DB2) context contains the fields that are in the second format of the access path to which a function is attached. The DB2 context is available only to functions that are attached to a Span (SPN) access path; the DB2 context applies to the detail file (or second format) in the SPN access path. The DB2 context is available only within an EDTTRN function to access the secondary format.
(b) ELM -The ELM context contains the fields defined for the last-accessed element of a specified array. This context is valid only in the *CVTVAR built-in function and may be specified for either the input or output parameter. Since a single element of an array is equivalent to a data structure you can use the ELM context to decompose a field into a structure. A move of an element of an array to a field constitutes a move of the array’s structure to the field.
(c) KEY -The Key (KEY) context contains the fields that are on the key panel display of the device functions that have key panels. These keys apply to the record functions: Edit Record (EDTRCD 1,2,3) and Display Record (DSPRCD 1,2,3).
(d) DTL -The Detail (DTL) context contains fields on the display panels of device functions that have single, non-subfile detail panels such as EDTRCD, or multiple, non-subfile panels such as EDTRCD2.
(e) 2ND The Second Detail panel (2ND) context -2ND The Second Detail panel (2ND) context contains the fields that are on the second detail panel display of a device function that has a multi-part panel design attached to it, such as EDTRCD2 and DSPRCD2.
(f) 3RD The Third Detail panel (3RD) context -3RD The Third Detail panel (3RD) context contains the fields that are on the third detail panel display of a device function that has a multi-part panel design attached to it, such as EDTRCD3 and DSPRCD3.
(g) CTL -The Subfile Control (CTL) context contains the fields that are in the subfile control record of the device functions that have a subfile panel display such as Display File or Edit transaction.
(h) RCD -The Subfile Record (RCD) context contains the fields that are in the subfile record of device functions that have a subfile panel display such as Display File or Edit Transaction.
(i) CUR -The Current Report Format (CUR) context contains all of the fields that are in a report format of a Print File or Print Object function. The detail record format contains all of the fields from the based-on access path while the heading and total formats for each level contain the key field for that level and any associated virtual fields.
(j) NXT -The NXT context contains fields that are in the next active report format (not dropped format) that is one level break lower. You could use the NXT context to specify the placement of the result of a function field (SUM, MIN, MAX, or CNT) on the appropriate report total format. You can only use the NXT context for result fields.
(k) CND -The Synon/2E Condition (CND) context enables you to specify that a particular field condition value is to be supplied as a field value in one of the following ways:
As a parameter to a function. As the condition that controls a conditional or iterative construct in the action diagram
(l) CON -The Constant (CON) context contains any constant or literal values that you want to specify.
(m) JOB -The Job (JOB) context contains system fields that supply execution time information about the job that executes the HLL program implementing a function.
(n) PGM -The Program context (PGM) contains system fields that control the execution of a function.
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

Re: What is the context in SYNON/2E?

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum