Search found 274 matches

by MrSpock
Mon Dec 31, 2012 6:51 pm
Forum: JCL
Topic: how to copy multiple vsam files into a single flat file
Replies: 3
Views: 6292

A single ICETOOL step with five COPY statements correlating to five input DD statements should work for you.
by MrSpock
Fri Dec 28, 2012 5:26 am
Forum: JCL
Topic: Addin USER= xxx to all JCL in a PDS at onc
Replies: 3
Views: 4830

The usual methods: 1. Use IPOUPDTE to change a specific field in all the members. 2. Copy the PDS to a sequential dataset using IEBPTPCH. Reformat and make the changes using SORT and create an IEBUPDTE-ready output stream. Use IEBUPDTE to build a new PDS. 3. Write your own utility using ISPF Library...
by MrSpock
Mon Dec 24, 2012 2:18 am
Forum: TSO, CLIST & REXX
Topic: getting output from a flat file
Replies: 3
Views: 5035

Presuming that you've broken down the input record into two fields, name and age, and then prompted for the input age, let's say name_in, then it's just a simple equivalency comparison:

If name_in == name Then Say name"'s age is" age.
by MrSpock
Mon Dec 17, 2012 4:11 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Insync tool
Replies: 1
Views: 3753

by MrSpock
Sat Oct 27, 2012 6:36 pm
Forum: TSO, CLIST & REXX
Topic: Rexx date
Replies: 6
Views: 6882

dbzTHEdinosauer wrote:MrSpock,
just had to make it easy for him, didn't you? :P
Sorry, I won't do it again! :wink:
by MrSpock
Sat Oct 27, 2012 4:13 am
Forum: TSO, CLIST & REXX
Topic: Rexx date
Replies: 6
Views: 6882

There's no date format exactly as you require, so I'd convert the julian date to the date sorted format:

thedate = Date('S',julian_date,'J')

which will give you 20121026 which you can then parse and string together into your format.
by MrSpock
Mon Sep 17, 2012 3:31 pm
Forum: OTHER SUBJECTS
Topic: control-M
Replies: 1
Views: 3895

You'll probably find what you need on the BMC website.
by MrSpock
Wed Aug 22, 2012 1:33 am
Forum: JCL
Topic: How to rerun the same step with delay time
Replies: 4
Views: 6536

You'll need a program to cause the delay (written in-house or obtained elsewhere) that preferably won't consume any CPU cycles. Personally, I use a Unix step (BPXBATCH) and invoke the Unix "sleep" command, or I use one of a few in-house written utilities.
by MrSpock
Sat Aug 04, 2012 4:39 pm
Forum: JCL
Topic: How to zip the file and email that as an attachment in JCL
Replies: 3
Views: 13529

Read the section "Sending binary files from MVS in a MIME attachment" and follow the example provided EXACTLY.

MVS Mail Page.
by MrSpock
Sat Jun 09, 2012 7:26 pm
Forum: TSO, CLIST & REXX
Topic: Changing strings in members by a batch job
Replies: 2
Views: 4490

I'm not sure how to answer this since you posted your question to the TSO, CLIST, and REXX forum. For quick batch updates of a PDS I usually try the IPOUPDTE utility first. If that won't work, you can try using IEBPTPCH to copy the PDS to a sequential dataset, make the changes to that dataset, then ...
by MrSpock
Fri Jun 08, 2012 7:28 pm
Forum: JCL
Topic: concatenating two PDS
Replies: 2
Views: 4258

Nothing special required. You can concatenate as many PDS's with the members specified for input as you want (within system limits and following the rules of concatenation). Any copy program will work.
by MrSpock
Fri Jun 01, 2012 11:52 pm
Forum: TSO, CLIST & REXX
Topic: How to disable unwanted PF keys in panel
Replies: 5
Views: 8956

I'll never really get this concept. When a panel is displayed, the only real commands that are supported are END RC=8 or ENTER RC=0, SPLIT, HELP, and, if it contains scrollable areas, the UP and DOWN commands. Since ISPF users are usually familiar with these, why change what they're used to doing? A...
by MrSpock
Wed Apr 18, 2012 5:26 am
Forum: JCL
Topic: How do you override a specific SYSIN in PROC from a JCL?
Replies: 6
Views: 9872

//FINAL EXEC EXTPROC,DSNAME=TSSDN.DEMO.TEMP02,DEFGDG=TSSDN.GDBD.TEMP02
//STEP2.SYSIN DD *
blah,blah...
/*
by MrSpock
Sun Mar 18, 2012 4:35 am
Forum: TSO, CLIST & REXX
Topic: SYSUSED is not working while runnign with JCL
Replies: 18
Views: 24413

What is the length of the string VAR.I? Is it possible that the dataset name contains blank spaces that need to be stripped or parsed out? Judging by the fact that the dataset name:

'JHA07T11.INTA.JCLLIB

seems to be missing the ending single quote makes me think that that might be the case.
by MrSpock
Fri Mar 16, 2012 2:08 am
Forum: TSO, CLIST & REXX
Topic: SYSUSED is not working while runnign with JCL
Replies: 18
Views: 24413

Or, as I mentioned, and as is repeated in the REXX manuals, for a variable that contains a dataset name, it's:

INFO = LISTDSI("'"VAR.I"'")

or

INFO = LISTDSI( double-quote single-quote double-quote variable_name double-quote single-quote double-quote )