COBOL Programming :: RE: Wildcard logic in COBOL
Author: Rohit Umarjikar Posted: Tue Sep 06, 2016 11:27 am (GMT 5.5)Quote:Thanks for the above suggestions. Too simple, but unfortunately I cannot use it, since I have to do it in COBOL only. I'm trying...
View ArticleAll Other Mainframe Topics :: EBCDIC to ASCII conversion using OCOPY
Author: mistah kurtz Subject: EBCDIC to ASCII conversion using OCOPY Posted: Tue Sep 06, 2016 2:26 pm (GMT 5.5) I'm using the OCOPY command to to convert an EBCDIC data to ASCII using the following...
View ArticleAll Other Mainframe Topics :: RE: EBCDIC to ASCII conversion using OCOPY
Author: Robert Sample Posted: Tue Sep 06, 2016 4:33 pm (GMT 5.5) Research iconv in the UNIX System Services Commands manual. Since defaults depend upon your site, ask your site support group for that...
View ArticleAll Other Mainframe Topics :: RE: EBCDIC to ASCII conversion using OCOPY
Author: mistah kurtz Posted: Tue Sep 06, 2016 5:10 pm (GMT 5.5) Thanks Robert. I found the iconv command. What I understood from the above link that it will convert the characters set from one code set...
View ArticleAll Other Mainframe Topics :: RE: EBCDIC to ASCII conversion using OCOPY
Author: Robert Sample Posted: Tue Sep 06, 2016 5:40 pm (GMT 5.5) For consistency, useCode: iconv -f <from type> -t <to type> <source file> ><target...
View ArticleAll Other Mainframe Topics :: RE: EBCDIC to ASCII conversion using OCOPY
Author: mistah kurtz Posted: Tue Sep 06, 2016 5:59 pm (GMT 5.5)Quote:For consistency, useCode: iconv -f <from type> -t <to type> <source file> ><target file> Thanks Robert....
View ArticleCICS :: RE: Get system time in micro second or clock uint.
Author: Bill O'Boyle Subject: Reply to: Get system time in micro second or clock uint. Posted: Tue Sep 06, 2016 6:10 pm (GMT 5.5) Take a look at the TIME Macro (LINKAGE=SYSTEM) using the MIC...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: dudenithy Posted: Tue Sep 06, 2016 6:39 pm (GMT 5.5)Rohit Umarjikar wrote:May we know why? But then did you understand both the logic? What in cobol doesn't let you mimic the above logic? It is...
View ArticleAll Other Mainframe Topics :: RE: EBCDIC to ASCII conversion using OCOPY
Author: Robert Sample Posted: Tue Sep 06, 2016 6:39 pm (GMT 5.5) Glad to hear it is working._________________TANSTAAFL The first rule of code reuse is that the code needs to be worth re-using. "We...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: dudenithy Posted: Tue Sep 06, 2016 6:55 pm (GMT 5.5) Hello all again, Good News.. I believe I have done the Wildcard logic process in COBOL itself . Please find the code below. This should work...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: enrico-sorichetti Subject: Reply to: Wildcard logic in COBOL Posted: Tue Sep 06, 2016 7:59 pm (GMT 5.5)Quote:1. Wildcard Symbol * shouldn't occur continuously. 2. Wildcard symbols * and ?...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: Robert Sample Posted: Tue Sep 06, 2016 8:33 pm (GMT 5.5) Since your COMPLEX-LOGIC changes the values of WS-Q and WS-A, you need to place Code: INSPECT PARM TALLYING WS-Q FOR ALL '?'...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: enrico-sorichetti Subject: Reply to: Wildcard logic in COBOL Posted: Tue Sep 06, 2016 9:08 pm (GMT 5.5) I suggest to implement a simpler - MORE UNDERSTANDABLE - logic ... in two weeks changing...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: dudenithy Posted: Tue Sep 06, 2016 9:15 pm (GMT 5.5)Robert Sample wrote:Since your COMPLEX-LOGIC changes the values of WS-Q and WS-A, you need to place Code: INSPECT PARM TALLYING...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: dudenithy Subject: Re: Reply to: Wildcard logic in COBOL Posted: Tue Sep 06, 2016 9:17 pm (GMT 5.5)enrico-sorichetti wrote:I suggest to implement a simpler - MORE UNDERSTANDABLE - logic ... in...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: enrico-sorichetti Subject: Reply to: Wildcard logic in COBOL Posted: Tue Sep 06, 2016 9:17 pm (GMT 5.5)Quote:I simplified the code not to becoming too big when You ask people to look at Your...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: dudenithy Subject: Re: Reply to: Wildcard logic in COBOL Posted: Tue Sep 06, 2016 9:21 pm (GMT 5.5)enrico-sorichetti wrote:If ... * stands for 0 or more chars ? stands for one char a...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: dudenithy Subject: Re: Reply to: Wildcard logic in COBOL Posted: Tue Sep 06, 2016 9:26 pm (GMT 5.5)enrico-sorichetti wrote:when You ask people to look at Your code, You should post it...
View ArticleCOBOL Programming :: RE: Random Password (in string format) generation.
Author: Rohit Umarjikar Posted: Tue Sep 06, 2016 11:58 pm (GMT 5.5)Quote:When researched online I could find that there's only Random generation for numeric formats. so it just a matter of clubbing...
View ArticleCOBOL Programming :: RE: Wildcard logic in COBOL
Author: sergeyken Posted: Wed Sep 07, 2016 1:19 am (GMT 5.5) My suggestion: just two internal functionsCode:/* REXX */ Test:...
View Article