Author |
Message |
Topic: online cobol program recturn code 12 |
vp
Replies: 6
Views: 2852
|
Forum: Application Programming Posted: Fri Aug 15, 2003 8:57 am Subject: online cobol program recturn code 12 |
Could the error be in a step other than compile, like maybe in link? |
Topic: Dynamically Read WS 01 Group |
vp
Replies: 15
Views: 6688
|
Forum: Application Programming Posted: Tue Jul 22, 2003 2:51 pm Subject: Dynamically Read WS 01 Group |
slade
Unstring statement is very powerfull you can use any delimiters you need.
If you have a Name-Field that has "firstname lastname, mi " you could use delimited by ' ' (double space). It will n ... |
Topic: Dynamically Read WS 01 Group |
vp
Replies: 15
Views: 6688
|
Forum: Application Programming Posted: Tue Jul 22, 2003 12:12 pm Subject: Dynamically Read WS 01 Group |
You can also try this using UNSTRING function
WORKING STORAGE SECTION
01 WS-PERSONAL-INFO.
05 WS-NAME PIC X(20).
... |
Topic: Using variables with the COBOL WRITE statement |
vp
Replies: 12
Views: 9111
|
Forum: Application Programming Posted: Thu Jul 17, 2003 9:08 am Subject: Using variables with the COBOL WRITE statement |
This is a little beyond my expertise. I will have to research and today I will be pretty swamped. I will try to find an answer tomorrow.
Anyone, please fill free to jump in. |
Topic: Using variables with the COBOL WRITE statement |
vp
Replies: 12
Views: 9111
|
Forum: Application Programming Posted: Thu Jul 10, 2003 1:23 pm Subject: Using variables with the COBOL WRITE statement |
You still need to define the file in the environment and data divisions, as in:
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
INPUT ... |
Topic: Using variables with the COBOL WRITE statement |
vp
Replies: 12
Views: 9111
|
Forum: Application Programming Posted: Thu Jul 10, 2003 11:22 am Subject: Using variables with the COBOL WRITE statement |
Here is another approach.
You could populate a variable with the file name you want to write to.
Then use dynamic allocation to create the output file.
Here is the link to dynamically allocate file ... |
Topic: Using variables with the COBOL WRITE statement |
vp
Replies: 12
Views: 9111
|
Forum: Application Programming Posted: Thu Jul 10, 2003 10:41 am Subject: Using variables with the COBOL WRITE statement |
What I've done in the past is to create a parmlib member for a generic delete/define card, then read it into my program line by line modified (inserted) dsn name in the appropriate spot and wrote it o ... |
Topic: Array initialisation in COBOL. |
vp
Replies: 9
Views: 5625
|
Forum: Application Programming Posted: Mon Jun 30, 2003 11:45 am Subject: Array initialisation in COBOL. |
If you don't want your other-element to be initialized make it a 03 level (same as table). |
Topic: SQL Code -927 Language interface problem |
vp
Replies: 6
Views: 5720
|
Forum: Database Posted: Mon Jun 30, 2003 10:56 am Subject: SQL Code -927 Language interface problem |
You need to submit the calling program under DB2:
Most application programs written for the batch environment run under the TSO Terminal Monitor Program (TMP) in background mode. Figure 127 shows t ... |
|