Click here to Skip to main content
15,902,634 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using Cobol Copy Books Pin
Luc Pattyn11-Jun-11 6:27
sitebuilderLuc Pattyn11-Jun-11 6:27 
GeneralRe: Using Cobol Copy Books Pin
PIEBALDconsult11-Jun-11 14:03
mvePIEBALDconsult11-Jun-11 14:03 
AnswerRe: Using Cobol Copy Books Pin
Not Active11-Jun-11 5:29
mentorNot Active11-Jun-11 5:29 
GeneralRe: Using Cobol Copy Books Pin
MumbleB11-Jun-11 6:53
MumbleB11-Jun-11 6:53 
AnswerRe: Using Cobol Copy Books Pin
DaveyM6911-Jun-11 10:19
professionalDaveyM6911-Jun-11 10:19 
QuestionPrintPreviewControl and HTML Pin
dSolariuM10-Jun-11 23:36
dSolariuM10-Jun-11 23:36 
AnswerRe: PrintPreviewControl and HTML Pin
Luc Pattyn11-Jun-11 0:11
sitebuilderLuc Pattyn11-Jun-11 0:11 
GeneralRe: PrintPreviewControl and HTML Pin
MumbleB11-Jun-11 1:19
MumbleB11-Jun-11 1:19 
I tend to agree. I have numerous copy-books and some of them are pretty big. Take this one for instance:
<br />
01  X30002-FUNCTION-SEG.                                          		<br />
	05  X30002-MSG-LL                             PIC S9(04) COMP. 	Message length is variable depending on number of items in the set<br />
	05  X30002-FUNC-TAG                           PIC  X(08).                                      	ZPE0805F<br />
	05  X30002-VERSION                            PIC  9(02).          	Version Number. Must be set to 00<br />
	05  X30002-FUNCTION-INPUT.                                		<br />
        10  X30002-HEADER.                                    		<br />
            15  X30002-BATCH-TYPE                 PIC  X(03).       	P   = Payment batch<br />
																		T   = Transfer batch within a customers own profile<br />
																		PS  = Purchase of Services batch<br />
																		RTI = Real-time Clearing inward batch<br />
																		RTO = Real-time Clearing outward batch<br />
            15  X30002-SET-TYPE                   PIC  X(01).       	C = Consolidated batch. 1 Debit upto 50 credits <br />
																		I = Itemised batch. Upto 25 Dr/CR items<br />
            15  X30002-CUSTOMER-ID                PIC  X(20).     	A valid customer identifier from the channel. Not Validated<br />
            15  X30002-BATCH-ID                   PIC  X(20).     	A unique batch identifier. Not Validated<br />
            15  X30002-SET-NUMBER                 PIC  9(05).     	The number of the set contained within the batch. Start at 1 and increment for each set within the batch<br />
            15  X30002-NOMINATED-POST-IND         PIC  X(01).     	R = Real-time post<br />
																	  = defaults to Real-Time<br />
            15  X30002-HOMING-POST-IND            PIC  X(01).     	F = Force post<br />
																	R = Real-time post<br />
																	  = defaults to Real-Time where applicable<br />
            15  X30002-CHECK-AVAIL-BAL-IND        PIC  X(01).     	Set to Y if available balance must be checked prior to posting	<br />
            15  X30002-TRAN-CODE-IND              PIC  X(01).     	C = Channel<br />
																	D = Default <br />
																	  = Defaults to Channel <br />
            15  X30002-NO-OF-TXNS                 PIC  9(03).     	The number of transactions contained in the homing table<br />
            15  FILLER                            PIC  9(08).     	<br />
        10  X30002-REVERSAL-DETAILS.                        		<br />
            15  X30002-NOM-REV-PROD-CODE          PIC  X(03).     	Reversal Product Code eg DDA / TCS<br />
            15  X30002-NOM-REV-ACCOUNT            PIC  X(23).     	Reversal Account Number. Right justified, zero filled<br />
            15  X30002-REVERSAL-TRAN-CODE         PIC  X(05).     	Reversal Tran Code, can be supplied or resolved by PE<br />
            15  X30002-MATCH-REVERSAL-IND         PIC  X(01).     	Y if matched reversals are required. If set the transaction does not appear on the statement<br />
        10  X30002-NOMINATED-DETAILS.                       	Details of the FNB account to be debited	<br />
            15  X30002-NOM-CO-ID                  PIC  9(05).     	FNB company identifier<br />
            15  X30002-NOM-PROD-CODE              PIC  X(03).     	Nominated Product code eg DDA / TCS / MLS / GLB<br />
            15  X30002-NOM-ACCOUNT-NO             PIC  X(23).     	Account Number to be debited. Right justified, zero filled<br />
            15  X30002-NOM-ACCOUNT-NAME           PIC  X(30).     	Account Name. Not Validated<br />
            15  X30002-NOM-REF                    PIC  X(20).     	Mandatory when batch is Consolidated	 <br />
            15  X30002-NOM-DESCR                  PIC  X(47).     	Used when batch is Consolidated If not supplied the default description for the transaction code will be applied 	 <br />
            15  X30002-NOM-AMOUNT                 PIC  9(15)V99.  	Mandatory when batch is Consolidated Right justified, zero filled, 2 decimal places<br />
            15  X30002-NOM-TRAN-CODE              PIC  X(05).     	If not supplied the transaction code will be resolved by the PE	 <br />
            15  X30002-NOM-SERIAL-NO              PIC  9(10).     	Only applicable to IDS, optional cheque serial number	 <br />
        10  FILLER                                PIC  X(26).     		<br />
        10  X30002-GL-DETAILS.                              	Mandatory when CONSOLIDATED and SET-NUMBER is > 1            	<br />
            15  X30002-GL-AMOUNT                  PIC  9(15)V99.  	Right justified, zero filled, 2 decimal places	<br />
            15  X30002-GL-SIGN                    PIC  X(01).     	D or C	<br />
        10  FILLER                                PIC  X(01).     		<br />
        10  X30002-AMOUNT-CURRENCY                PIC  X(03).     	e.g. ZAR; ZMK; NAD; LSL; SZL; BWP   	<br />
        10  FILLER                                PIC  X(50).     		<br />
        10  X30002-HOMING-DETAILS OCCURS 50.                		<br />
            15  X30002-HOM-CO-ID                  PIC  9(05).     	A Valid FNB company identifier.<br />
            15  X30002-HOM-PROD-CODE              PIC  X(03).     	Valid values <br />
																	TPT – must supply account type and branch when using this option.  The product code is then derived <br />
																	DDA<br />
																	TOA <br />
																	TCS; or Valid Card Product eg ZFN<br />
																	ILP; MLS; PLS;<br />
																	NPS<br />
																	REC<br />
																	OBP<br />
																	WES<br />
																	EWA<br />
																	GLB<br />
            15  X30002-HOM-ACCT-TYPE              PIC  9(01).     	1 = Current Acc <br />
																	2 = Savings Acc <br />
																	3 = Transmission Acc <br />
																	4 = Bond Acc        <br />
																	6 = Subscription Share<br />
            15  X30002-HOM-BRANCH                 PIC  9(06).     	Sort Code<br />
            15  X30002-HOM-ACCOUNT-NO             PIC  X(23).     	Right justified, zero filled<br />
            15  X30002-HOM-BUDGET-NO              PIC  9(05).     	Only used for Cardes products  	<br />
            15  X30002-HOM-ACCOUNT-NAME           PIC  X(30).     	Account Name. Not validated<br />
            15  X30002-HOM-AMOUNT                 PIC  9(15)V99.  	Right justified, zero filled, 2 decimal places<br />
            15  X30002-HOM-REF                    PIC  X(20).     	Reference<br />
            15  X30002-HOM-DESCR                  PIC  X(47).     	If not supplied the default description for the transaction code will be applied	<br />
            15  X30002-HOM-TRAN-CODE              PIC  X(05).     	If not supplied the transaction code will be resolved by the PE	<br />
            15  X30002-HOM-REVERSAL-DESCR         PIC  X(47).    	Supply if a different description is required other than the homing description	<br />
            15  X30002-NOM-REFERENCE              PIC  X(20).    	Mandatory when batch is Itemised	<br />
            15  X30002-NOM-DESCRIPTION            PIC  X(47).    	Used when batch is Itemised. If not supplied the default description for the transaction code will be applied 	<br />


This is huge and writing my own class to parse the message to is probably a waist of time. I'll see if I can come up with a better solution or find something and post back.

Thanks Luc
Excellence is doing ordinary things extraordinarily well.

GeneralRe: PrintPreviewControl and HTML Pin
dSolariuM12-Jun-11 2:32
dSolariuM12-Jun-11 2:32 
GeneralRe: PrintPreviewControl and HTML Pin
dSolariuM12-Jun-11 2:33
dSolariuM12-Jun-11 2:33 
AnswerRe: PrintPreviewControl and HTML Pin
Luc Pattyn12-Jun-11 2:55
sitebuilderLuc Pattyn12-Jun-11 2:55 
GeneralRe: PrintPreviewControl and HTML Pin
BobJanova12-Jun-11 22:11
BobJanova12-Jun-11 22:11 
QuestionSuggestions On How To Refactor This Pin
Kevin Marois10-Jun-11 14:02
professionalKevin Marois10-Jun-11 14:02 
AnswerRe: Suggestions On How To Refactor This Pin
BobJanova12-Jun-11 23:44
BobJanova12-Jun-11 23:44 
QuestionSaving changed data from a BindingSource Pin
tekturtle10-Jun-11 4:26
tekturtle10-Jun-11 4:26 
AnswerRe: Saving changed data from a BindingSource Pin
BobJanova10-Jun-11 6:05
BobJanova10-Jun-11 6:05 
GeneralRe: Saving changed data from a BindingSource Pin
tekturtle10-Jun-11 10:04
tekturtle10-Jun-11 10:04 
GeneralRe: Saving changed data from a BindingSource Pin
BobJanova12-Jun-11 22:14
BobJanova12-Jun-11 22:14 
GeneralRe: Saving changed data from a BindingSource Pin
tekturtle15-Jun-11 11:57
tekturtle15-Jun-11 11:57 
GeneralRe: Saving changed data from a BindingSource [modified] Pin
BobJanova15-Jun-11 13:20
BobJanova15-Jun-11 13:20 
Questionsetup - include driver installation Pin
lukeer10-Jun-11 2:10
lukeer10-Jun-11 2:10 
AnswerRe: setup - include driver installation Pin
Dave Kreskowiak10-Jun-11 3:05
mveDave Kreskowiak10-Jun-11 3:05 
GeneralRe: setup - include driver installation Pin
lukeer10-Jun-11 3:31
lukeer10-Jun-11 3:31 
GeneralRe: setup - include driver installation Pin
Dave Kreskowiak10-Jun-11 3:53
mveDave Kreskowiak10-Jun-11 3:53 
QuestionList Of DataRow Pin
om_metab9-Jun-11 22:50
om_metab9-Jun-11 22:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.