08-11-2015
Would you be so kind as to post some JCL samples?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to scripting
I want to parse a string in a loop
eg A:B:C:D
E:F:G:H
and put them in different variable
attr1 = A
attr2 = B
attr3 = C
attr4 = D
.
.
/* do processing with attr1, attr2, attr3 and attr4 */
then go to next line E:F:G:H and again assign... (8 Replies)
Discussion started by: flextronics
8 Replies
2. Shell Programming and Scripting
I am having a text file as follows
say server.txt
Date Time server ip error code
--------------------------------------------------------------------------
02/21/2008 18:10:14 server1 xxx.xxx.xxx.xxx 6
02/21/2008 08:10:14 server2 ... (8 Replies)
Discussion started by: karthikn7974
8 Replies
3. Shell Programming and Scripting
Hello, i'm workig with a file with structural information about biological macromolecules (proteins etc).
In a certain file, the info is structured like this
@<TRIPOS>MOLECULE
blah 1
blah 2
blah 3
@<TRIPOS>MOLECULE
foo 1
foo 2
foo 3
@<TRIPOS>MOLECULE
mmm 1
mmm 2
mmm 3
I would... (7 Replies)
Discussion started by: aristegui
7 Replies
4. Shell Programming and Scripting
i need a simple text parser which can parse a data file created by a softwre so that i can export it to my mysqldb,, datafile created as one record per line with different number of fields.
e.g datafile contains following.
a=1, b=3, c=4
a=1, c=55, d=abcd
a=5, b=hello, c=99, d=help
now i... (12 Replies)
Discussion started by: sfaizan
12 Replies
5. Shell Programming and Scripting
Hello
I want to write an xml- parser with perl an i use the libary XML::LibXML.
I have a problem with the command getElementsByTagName.
If there is an empty tag, the getElementsByTagName method returns a NodeList of length zero.
how can i check if this is a nodelist of lenght zero??
i... (1 Reply)
Discussion started by: trek
1 Replies
6. Shell Programming and Scripting
Hi,
I have this variable:
<a href="http://www.rtve.es/mediateca/videos/20100916/video-calamares-rellenos-salsa-pimientos-garbanzos-16-09-10/878586.shtml">V�deo: Calamares rellenos con salsa de pimientos y ...</a>
I would like to have:
... (7 Replies)
Discussion started by: mierdatuti
7 Replies
7. Programming
Hi Everyone
I have an out put of multiple lines
which I would like to parse and retrieve certain info from it.
The output consists of multiple sections that starts with the line Client:
and ends with STL tag: each section separated by an empty line.
So basically somehting like
Client: ... (10 Replies)
Discussion started by: bombcan1
10 Replies
8. Shell Programming and Scripting
Hi
need help parsing a file.
I have tag fields and values in a file with delimiter |.
sample records from the file listed below
8=value|9=value|35=value|49=value|56=value|34=value|50=value|48=value|10=value
8=value|9=value|35=value|49=value|56=value|34=value|51=value|48=value|10=value... (2 Replies)
Discussion started by: subramanian
2 Replies
9. Shell Programming and Scripting
Hi,
I have been assigned a task to migrate few thousands of sql scripts to a different db format. there could be sub queries and complex joins. there would be functions that needs to be replaced from a given list to another values. this should also parse the sub\inline queries. Can you please... (1 Reply)
Discussion started by: hitmansilentass
1 Replies
10. UNIX for Beginners Questions & Answers
input
1..100km
112..403km
500..623km
required output
1..51
112..162
500..550
(i.e 50kms added to the initial distance) (2 Replies)
Discussion started by: ANKIT ROY
2 Replies
LEARN ABOUT CENTOS
sdl_audiospec
SDL_AudioSpec(3) SDL API Reference SDL_AudioSpec(3)
NAME
SDL_AudioSpec - Audio Specification Structure
STRUCTURE DEFINITION
typedef struct{
int freq;
Uint16 format;
Uint8 channels;
Uint8 silence;
Uint16 samples;
Uint32 size;
void (*callback)(void *userdata, Uint8 *stream, int len);
void *userdata;
} SDL_AudioSpec;
STRUCTURE DATA
freq Audio frequency in samples per second
format Audio data format
channels Number of channels: 1 mono, 2 stereo
silence Audio buffer silence value (calculated)
samples Audio buffer size in samples
size Audio buffer size in bytes (calculated)
callback(..) Callback function for filling the audio buffer
userdata Pointer the user data which is passed to the callback function
DESCRIPTION
The SDL_AudioSpec structure is used to describe the format of some audio data. This structure is used by SDL_OpenAudio and SDL_LoadWAV.
While all fields are used by SDL_OpenAudio only freq, format, samples and channels are used by SDL_LoadWAV. We will detail these common
members here.
freq The number of samples sent to the sound device every second. Common values are 11025, 22050 and 44100. The higher the
better.
format Specifies the size and type of each sample element
AUDIO_U8
AUDIO_S8
AUDIO_U16 or AUDIO_U16LSB
AUDIO_S16 or AUDIO_S16LSB
AUDIO_U16MSB
AUDIO_S16MSB
AUDIO_U16SYS
AUDIO_S16SYS
channels The number of seperate sound channels. 1 is mono (single channel), 2 is stereo (dual channel).
samples When used with SDL_OpenAudio this refers to the size of the audio buffer in samples. A sample a chunk of audio data of
the size specified in format mulitplied by the number of channels. When the SDL_AudioSpec is used with SDL_LoadWAV sam-
ples is set to 4096.
SEE ALSO
SDL_OpenAudio, SDL_LoadWAV
SDL
Tue 11 Sep 2001, 22:58 SDL_AudioSpec(3)