Author |
Message |
Topic: TRIM function not working ... |
vst
Replies: 11
Views: 11653
|
Forum: Application Programming Posted: Tue Feb 07, 2006 8:55 am Subject: TRIM function not working ... |
I would add a link containing similar discussion.
http://www.codecomments.com/archive266-2004-12-348732.html
I do not see TRIM function in my Enterprise COBOL V3R2 language reference.
You probabl ... |
Topic: TRIM function not working ... |
vst
Replies: 11
Views: 11653
|
Forum: Application Programming Posted: Tue Feb 07, 2006 4:19 am Subject: TRIM function not working ... |
Nancy,
could you please let us know
1) what compiler/version are you using?
2) what does exactly mean "Its not working"? (compiler message(s) regarding TRIM function; DISPLAY WW-USR-SNME/WW-USR- ... |
Topic: finding highest value in an array |
vst
Replies: 8
Views: 3646
|
Forum: Application Programming Posted: Mon Feb 06, 2006 6:36 am Subject: finding highest value in an array |
shekar123,
since nobody interested in continuation , I supply you with some further reasonings:
I IS 8
means
PUT SKIP LIST ('I IS ',I); ... |
Topic: finding highest value in an array |
vst
Replies: 8
Views: 3646
|
Forum: Application Programming Posted: Tue Jan 31, 2006 9:40 am Subject: finding highest value in an array |
Answer seems too obvious for me, but may be I miss something?
to find the nth highest value for example if i want to find 6 th highest,how can i do that which should be 15 ?
Quoted text is a ... |
Topic: Program whose output is the program |
vst
Replies: 12
Views: 18888
|
Forum: Mainframe Challenge Posted: Thu Jan 26, 2006 6:54 am Subject: Program whose output is the program |
kolusu,
you're right, thanks,
I keep it in mind, but idea was to receive truly self-reproducing code.
I would say that replacement of
02 FILLER PIC X(80) VALUE
... |
Topic: Program whose output is the program |
vst
Replies: 12
Views: 18888
|
Forum: Mainframe Challenge Posted: Thu Jan 26, 2006 6:08 am Subject: Program whose output is the program |
One more warning regarding previous posting, sorry
be carefull with the following MVS3.8 JES2 JCL+MVT COBOL code
(it really reproduces itself, not code text only but code run too).
Quote m ... |
Topic: Program whose output is the program |
vst
Replies: 12
Views: 18888
|
Forum: Mainframe Challenge Posted: Thu Jan 26, 2006 5:23 am Subject: Program whose output is the program |
This topic combined with outstanding hercules emulator and related suff ( http://www.conmicro.cx/hercules/, http://www.jaymoseley.com/hercules/ ) has inspired me to recall some old code
Code w ... |
Topic: How to check for Numeric data |
vst
Replies: 5
Views: 3294
|
Forum: Application Programming Posted: Tue Jan 24, 2006 4:30 am Subject: How to check for Numeric data |
Meena_ramanathan,
look at the following funny code
Hopefully it will elucidate the matter.
(I used free hercules/MVS 3.8/COBOL compiler)
CB545 V2 LVL78 01MAY72 ... |
Topic: count of records in a file needed in PL/I program |
vst
Replies: 3
Views: 2080
|
Forum: Application Programming Posted: Tue Jan 24, 2006 2:55 am Subject: count of records in a file needed in PL/I program |
mfuser,
I believe you mean
ON ENDFILE(INP)
BEGIN /* we have to enclose code below to BEGIN...END */
MORE_RECORDS = NO; ... |
Topic: Converting Signed numeric field to Comp-3 using Easytrieve |
vst
Replies: 2
Views: 4427
|
Forum: Application Programming Posted: Mon Jan 23, 2006 9:59 am Subject: Converting Signed numeric field to Comp-3 using Easytrieve |
Yogee,
you may try
http://www.gomel.iba.by/en/show/pages/147/148/mass-conversion_tool
in order to find appropriate Cobol data declarations from Easytrieve source code |
Topic: Is valid Page Count Verb on Title2 in Easytrieve ? |
vst
Replies: 2
Views: 1746
|
Forum: Application Programming Posted: Mon Jan 23, 2006 7:43 am Subject: Is valid Page Count Verb on Title2 in Easytrieve ? |
I think if you need page count on any line of report you could use code below
...
MY-PAGE-COUNT W 5 N
...
MY-PAGE-COUNT = 1
....
REPORT RRR ...
...
TITLE nn ... MY-PAGE-COUNT ...
. ... |
|