Author |
Message |
Topic: Single quotes in Sort |
Ram
Replies: 1
Views: 7053
|
Forum: Utilities Posted: Wed Dec 09, 2009 4:54 am Subject: Single quotes in Sort |
Try this code.
//STEP01 EXEC PGM=SORT
//SORTIN DD *
ABCD123456XXX ... |
Topic: Sorting on Left-justified numeric |
Ram
Replies: 5
Views: 5557
|
Forum: Utilities Posted: Thu Oct 22, 2009 3:11 am Subject: Sorting on Left-justified numeric |
If you have DFSort installed, use the justify feature.
e.g.
OPTION COPY
OUTREC FIELDS=(1,30,JFY=(SHIFT=RIGHT))
Once its right justified, you can sort it accordingly. |
Topic: Escaping single quote |
Ram
Replies: 2
Views: 2231
|
Forum: Utilities Posted: Thu Oct 08, 2009 2:52 am Subject: Escaping single quote |
Thank you very much Kolusu.
Ram |
Topic: Escaping single quote |
Ram
Replies: 2
Views: 2231
|
Forum: Utilities Posted: Wed Oct 07, 2009 11:23 am Subject: Escaping single quote |
Hi,
I am trying to build parms to be used in a ftp step. I have a requirement to append the run date to the destination file name. Below is my sample code.
SORT FIELDS=COPY ... |
Topic: Connecting to Unix - no output |
Ram
Replies: 11
Views: 6342
|
Forum: Job Control Language(JCL) Posted: Tue Jul 28, 2009 1:26 pm Subject: Connecting to Unix - no output |
Steve,
As videlord has correctly pointed out, commands supplied via STDIN should be stored in a HFS. Else pass the commands through parm option and you should be able to see the o/p in STDOUT.
... |
Topic: Connecting to Unix - no output |
Ram
Replies: 11
Views: 6342
|
Forum: Job Control Language(JCL) Posted: Mon Jul 27, 2009 11:14 am Subject: Connecting to Unix - no output |
Correct me if I am wrong, list directory command would list the default directory contents. In this case, the users home directory. If you dont have a home directory or access to it, you will not see ... |
Topic: Connecting to Unix - no output |
Ram
Replies: 11
Views: 6342
|
Forum: Job Control Language(JCL) Posted: Fri Jul 24, 2009 8:58 am Subject: Connecting to Unix - no output |
Is this 'LS -1 ' a typo ? try ls -l to list the directory contents. |
Topic: Connecting to Unix - no output |
Ram
Replies: 11
Views: 6342
|
Forum: Job Control Language(JCL) Posted: Fri Jul 24, 2009 3:31 am Subject: Connecting to Unix - no output |
Steve,
The o/p of the unix command is directed to the dataset addressed by STDOUT dd name. Depending on the msgclass settings, the o/p could be lying in the spool. If you intend to copy the o/p to ... |
Topic: continuing ICETOOL control card onto next line |
Ram
Replies: 2
Views: 3848
|
Forum: Utilities Posted: Tue Jun 23, 2009 9:01 am Subject: continuing ICETOOL control card onto next line |
Tcurrier,
End the statement with a hyphen '-' and continue typing on the next line.
E.g.
//TOOLIN DD *
SELECT FROM(IN) T ... |
Topic: FileA and FileB matching records problem..... |
Ram
Replies: 5
Views: 3515
|
Forum: Utilities Posted: Tue Jun 23, 2009 8:50 am Subject: FileA and FileB matching records problem..... |
Its worth searching the forum before posting the question. Did you check the FAQ's section on JCL/Sort ?
http://mvsforums.com/helpboards/viewtopic.php?t=5399 |
Topic: Check for consecutive alphabets in a string |
Ram
Replies: 2
Views: 3941
|
Forum: Job Control Language(JCL) Posted: Tue Jun 23, 2009 6:45 am Subject: Check for consecutive alphabets in a string |
This can be achieved using Fileaid. Check the following code. I have included conditions only to check for 'ABCD', 'BCDE', 'CDEF' & 'DEFG' for this example. You can include the next set of consec ... |
Topic: send results of TYRUN=SCAN to a dataset |
Ram
Replies: 8
Views: 9269
|
Forum: Job Control Language(JCL) Posted: Tue May 12, 2009 11:08 am Subject: send results of TYRUN=SCAN to a dataset |
Do an XDC from spool panel and save it into a file.
If your shop has ASG-JOB/SCAN installed, it supports a feature for running batch job to check the syntax of JCL's. You could store the o/p in a da ... |
Topic: CALL Statement in ADSO |
Ram
Replies: 1
Views: 1612
|
Forum: Application Programming Posted: Wed Apr 29, 2009 8:16 am Subject: CALL Statement in ADSO |
Try searching for LINK TO PROGRAM <PGM NAME> |
Topic: Cobol |
Ram
Replies: 5
Views: 2575
|
Forum: Application Programming Posted: Mon Oct 06, 2008 5:43 am Subject: Cobol |
Shudnt you be seeking your peers help for this task ?? |
Topic: How to perform Online Parallel Testing in IDMS |
Ram
Replies: 2
Views: 1606
|
Forum: Database Posted: Wed Sep 24, 2008 8:43 am Subject: How to perform Online Parallel Testing in IDMS |
The DBA's should be able to help you out by creating copy jobs. Once the online updates are done in the old environment, run a copy job and reload this data to the new environment. |
|