View previous topic :: View next topic
|
Author |
Message |
MJENNIE
New User
Joined: 23 Jul 2010 Posts: 3 Location: chennai
|
|
|
|
Hi,
Can anyone help me with the syntax for converting a date in format CCYYMMDD with the 'pic 9(8)' into 'pic 9(9) comp-3'. Date occurs in the header along with few other details before and after it. Its starting position is 27. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Syntax of what, COBOL, SORT, EASYTRIEVE, SAS, REXX, CLIST ............ |
|
Back to top |
|
|
MJENNIE
New User
Joined: 23 Jul 2010 Posts: 3 Location: chennai
|
|
|
|
hi,
i need the syntax for jcl. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
expat wrote: |
Syntax of what, COBOL, SORT, EASYTRIEVE, SAS, REXX, CLIST ............ |
How do you mean the syntax for JCL
The reason I asked my previous question, reiterated, is that the JCL needs to actually execute some program to perform the conversion, and until you tell us which program that you wish the JCL to execute there is no way on earth that we can give you any syntax whatsoever.
I think it must the Alice Cooper time of year again ................. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
i need the syntax for jcl. |
If this is what you need, be aware you have asked for the impossible. JCL does nothing but execute programs. It does not change data, it does not create data, all it does is execute programs. We need to know which program your JCL will be executing in order to provide you a meaningful answer. |
|
Back to top |
|
|
MJENNIE
New User
Joined: 23 Jul 2010 Posts: 3 Location: chennai
|
|
|
|
Am writting a JCL to add a header and trailer to a group of records in a file. The amended records are written onto another new file. My JCL does not execute anyother program. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Please read, read again, and read again and again the response from both Robert and myself.
Keep reading and reading and reading until you understand what we are saying to you.
Please post your JCL for us to look at. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
Quote: |
My JCL does not execute anyother program. |
You are in for a very long week. . . Yes, your jcl does execute a program or it would not run. . .
Look closely at your jcl for one or more lines that have EXEC PGM= coded. |
|
Back to top |
|
|
|