Search found 650 matches

by NicC
Fri May 16, 2014 12:45 am
Forum: DFSORT , ICETOOL & Utilities
Topic: Remove the spaces between the data and add a delimeter..
Replies: 9
Views: 8455

I have just done the reverse (almost) todat. Use PARSE, on the inrec, to split your data into % variables using space as the 'end before' character then rebuild your record with C',' between each % variable.
by NicC
Thu May 15, 2014 1:43 pm
Forum: OTHER SUBJECTS
Topic:
Replies: 5
Views: 7748

How about a title for your topic?
by NicC
Thu May 15, 2014 1:41 pm
Forum: DB2 SQL - DB2 PROGRAMMING
Topic: Using cursor and record
Replies: 9
Views: 10058

In addition, there are tutorials at the bottom of every forum page.
by NicC
Thu May 15, 2014 1:40 pm
Forum: JCL
Topic: JCL
Replies: 6
Views: 6348

1) You can only have one one restart parameter. However, if you are suggesting two job submissions then you still have the problem of stopping the job after executing that one step. 2) What are your CONDs doing? They refer to previous steps. Suggest you try your solution before submitting. And, plea...
by NicC
Wed May 14, 2014 1:26 pm
Forum: DB2 SQL - DB2 PROGRAMMING
Topic: Using cursor and record
Replies: 9
Views: 10058

As a beginner myself I have "COBOL for Dummies" sitting on my desk a good basic intro. It also came with free compilers for COBOL on windoze. It may now be out of print but second-hand copies may be available. I have not searched the web for COBOL tutorials but I know such things exist for C and SQL...
by NicC
Mon May 12, 2014 1:22 pm
Forum: DB2 SQL - DB2 PROGRAMMING
Topic: Using cursor and record
Replies: 9
Views: 10058

I think you should also forget about "COPYBOOK" - once compiled all the code is in one member per module - all copybook stff is inline. There is nothing special about copybook code except you can include the same code in many modules but only write it once.
by NicC
Mon May 12, 2014 1:18 pm
Forum: JCL
Topic: GDG Member existence
Replies: 9
Views: 14263

seems to have disappeared!
by NicC
Sun May 11, 2014 11:28 pm
Forum: DB2 SQL - DB2 PROGRAMMING
Topic: Using cursor and record
Replies: 9
Views: 10058

i guess what you are wanting is:

Code: Select all

IF LOOK90-CODE = 50
   MOVE value-in-cursor TO record-variable
but this is so basic I wonder if it is what you are wanting?
by NicC
Sun May 11, 2014 4:47 pm
Forum: DB2 SQL - DB2 PROGRAMMING
Topic: Using cursor and record
Replies: 9
Views: 10058

”LOOK90-CODE ”from the copybook
Wel, I do not understand what you mean here. Presumably in you WORKINGSTORAGE you have a statement like COPY copybook-member? This tells the (pre)compiler to copy the code from the copybook into your source code before it compiles it as one unit.
by NicC
Fri May 09, 2014 9:19 pm
Forum: COBOL
Topic: OUT-PUT PROBLEM
Replies: 5
Views: 5747

How about answering the questions because, as-is, your post makes little sense and has even less detail.
by NicC
Fri May 09, 2014 7:13 pm
Forum: COBOL
Topic: OUT-PUT PROBLEM
Replies: 5
Views: 5747

Are you referring to the output from DISPLAY statements? Are you running this program in foreground or batch? Either way, what have you assigned SYSOUT to?
by NicC
Fri May 09, 2014 5:56 pm
Forum: CICS
Topic: Disabling CICS
Replies: 4
Views: 6702

New screen without the input field otherwise the user will try and enter something and complain when they do not get a result.
by NicC
Thu May 08, 2014 5:49 pm
Forum: JCL
Topic: Uploaded data is shifted
Replies: 2
Views: 2824

You appear not to have had too much in the way of response to this and you have not come back to say that it is resolved so I will attempt to clarify the problem and suggest a solution. The problem appears to be that you have, on a Unix platform, a file that was created os a z/OS platform as FBA and...
by NicC
Thu May 08, 2014 3:21 pm
Forum: Suggestions & Feedback
Topic: Add chat option
Replies: 3
Views: 5271

Also, if the infromation is not within the topic how are people to follow the topic or get an answer when they face the same or similar problem? This is why PMs are discouraged. The whole conversation should stay within the topic.
by NicC
Thu May 08, 2014 12:45 pm
Forum: DB2 SQL - DB2 PROGRAMMING
Topic: Concatenate multiple columns into one columns with comma sep
Replies: 7
Views: 8292

Why not let DB2 do what it does best - get the data for you? Then let the program that issued the SELECT do what the program does best - manipulate data. Return all 11 indicators and have the program analyse them and create the last bit of your puzzle.